-
Posts
1,529 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by vchris
-
-
WOW! That's some great news!Hello and Welcome!Tonight on Top Gear, Andersmoen shows us his CMS. -
All I get is:
Warning: mysql_connect() [function.mysql-connect]: User '16592' has exceeded the 'max_connections_per_hour' resource (current value: 1500) in /var/www/hotserv.dk/users/andersmoen/cms/config/db.php on line 2Could not connect: User '16592' has exceeded the 'max_connections_per_hour' resource (current value: 1500) -
Works great thanks. I just had to change the +1 to the second $files[$i].
-
This is a script I am trying to create for my portfolio. I already part of it working. I can go get the images from the image folder no problem. I want to go a bit further than that. Here is an example of what is in that folder:site1_small.jpgsite1_large.jpgsite2_small.jpgsite2_large.jpgAnd so on...My php page contains something like this: <a href="site1_large.jpg"><img src="site1_small.jpg" alt="description" /></a>My problem is how can I be sure the href and src will be the corresponding small and large image? What about the description? I currently have it looping through all the images in that folder. I was thinking of having an array to store the small images, large images and the image description.Here's what I got:
<?php //Open images directory $dir = @ dir("../images/websites"); //List files in images directory while (($images = $dir->read()) !== false) { if(strstr($images, "_small")) { echo "<li><a href=\"/images/websites/site1_large.jpg\"><img src=\"/images/websites/" . $images . "\" alt=\"desription\" /></a></li>"; } } $dir->close(); ?>
I'd want to avoid using a db for this. Any ideas?
-
OMG! That is some messy code and site rip it seems. You almost have the same domain name.I say be original and design something nicer than their site or else what's the point of having an identical site which doesn't the same thing?
-
I have no such problem...
-
What he said.Nice, just feels a little blank, might look better if you can have a banner on the top...... -
Is there other variables for cfdump? Is there one to view all data sources?just do this on a page:<cfdump var="#server#">That will tell you everything (and a little more) than you need to know. -
It can be decrypted pretty easily I would say. Just a couple search and replace for the tags and there you go.
-
Nice content area but I don't like the banner and nav. Something about the round buttons that doesn't fit. Maybe just try to change the navigation.
-
I'd say just go buy yourself a Photoshop book and do some of the exercises. You can always try and find some tutorials online about how to make certain effects.
-
I'm converting some docs at the moment with lots of math equations. For those that are simple (x = y + z), I simply type them in but for the complex ones I have to use images since typing them could confuse some people. I use Photoshop to crop them out.
-
You mean posting site online?First, you need to find a web host to host your website or you can host your own website on a computer you own. Then you get a domain name which points to your server/web host and there you go. Start the coding part! Some web hosters will allow multiple site hosting for the same price. I think usually it's 1 site, 1 price.
-
-
One of my template structure was based on that csszengarden page. It's nice and simple. You could put in the reflection of the guitar as well.
-
Too many solid colours... It could be good but needs work.
-
I'm using xhtml 1.0 strict and it does validate.
-
Here's a quick example.
-
page align
in CSS
to align horizontally:body { text-align: center; }#container { margin: 0 auto; text-align: left; }I'm not sure vertically.
-
I try never to resize images. The quality is very bad when it's resized. Why not make 2 images? 1 small and 1 bigger. This way both can have great quality and it saves on bandwidth and load times.
-
hmmm not sure but I'm picturing a container with margin up top and the guitar could start inside your container and end up outside (near top of browser). The navigation could probably go beside the guitar... I'm not sure of the other colours.
-
I'm picturing a high res acoustic guitar (light brown) on top of your site...
-
If it's your portfolio, I would design it with something I like. For example, I like spacey designs. So one of my designs included planets and was hot! Whatever suits you. If find the hardest thing is designing a site for yourself. Try maybe doing a couple templates.
-
You should contact them about your first question since I have no idea. I don't see any options for my DNS so I guess I can't manage it. Email them, they reply pretty fast usually.
CMS and Personal Website feedback
in General
Posted