Jump to content

cmgmyr

Members
  • Posts

    1,278
  • Joined

  • Last visited

    Never

Everything posted by cmgmyr

  1. You need some hover effects as everyone else said, but I like it a lot. Can't wait to see the site when it's finished. -Chris
  2. Hey all, Just had a quick question for you. I have a client that has a few sites built in ColdFusion now and wants another one done. I quoted them for PHP/MySQL (obviously) and they asked if it could be done in ColdFusion. I haven't done anything in CF before, but I downloaded it and checked out a few samples and it just looks like advanced HTML. So I guess my question would be should i pursue this project and learn CF on the fly, or say forget it. Also some pros and cons of CF and a compairison to PHP. I would like to learn some CF just because there is a call for it, but I would like your input. Thanks, -Chris
  3. 1and 1 is running a promo for 25% off. So you can get their beginner package (which has php and MySQL) for $2.24. I have tried that one out and I have no problems with it at all.
  4. I like it, simple and to the point -Chris
  5. I like it, even if it is a lot of green -Chris
  6. Hey, check out http://www.belahost.com/pp/ download the paypal.php you should be able to alter this to fit your needs. this is the one that i use -Chris
  7. echo what steve said other then that...it looks good! -Chris
  8. try putting in the column names before VALUES
  9. I think the site looks a little messy and unprofessional. The colors make it look kinda old and "geocities" like. And as businessman said...you need a contact form -Chris
  10. Hey all, I was wondering if there was a site out there that would check over a site for security vulnerabilities. Maybe something like where you can check if your site validates or not. I have found a few sites but they are very expensive. So I was wondering if there was a site that was free or very cheap. Thanks, -Chris
  11. echo above it looks a little rough still
  12. I have a few hosts. olm.net - #1 pick - Great host, awesome uptime, reliable, fast, great tech support if needed - $49.95/mo for VPS 1and1.com - Pretty good host, decent uptime, slow database creation (after you put in a request for a MySQL DB it takes about 5 hours to actually use), fast, nice desktop login app - $3.95/mo for beginner I think. (Just trying it out) servage.net - Lots of space, lots of bandwidth, kinda slow for me, overseas so you can have whatever you want on there ;)...if you have those sites - $90 for 14 months. I use OLM for all of my big sites, servage for smaller sites, and I'm just currently testing out 1and1 and seeing how they are with bigger sites. Overall I am pretty happy with the hosts and the types of sites I have on them. I tend to be pretty picky when I place a site on a host. -Chris
  13. You still need to work on the top banners, they look kinda cheap and crappy.
  14. [quote author=ober link=topic=103885.msg414002#msg414002 date=1155315841] The book thing has been done to perfection here: http://www.caduceus.org/ [/quote] Wow, I wonder how much that cost them to make! I like the book idea. People like realistic things that they are used to.
  15. After you make a change to your php.ini you have to restart your web server. This should work for you.
  16. What is your upload_max_filesize in phpinfo? (The default is 2 mb)
  17. I like the site and design, but you still need to work on those rounded edges. -Chris
  18. I think what you sould do (and what I do) is have an htaccess file in your images directory that doesn't show any files at all...so it doesn't really matter if people can see the directory or not. As for your images...Make them random file names so when you upload house1.jpg it turns into cabd83r3d9.jpg (or whatever) then it will be pretty much impossible for people to guess what your file names are. Hope this helps, -Chris
  19. Right, but the initial problem is that when you first go to the registration page, there is nothing in the image. There wouldn't be any caching problems if it was actually generating something...which it's not.
  20. I have a users page that has this in it: [code=php:0]function GetRandomChar() { mt_srand((double)microtime()*1000000); $IMGVER_RandVal = mt_rand(1,3); switch ($IMGVER_RandVal) { case 1: $IMGVER_RandVal = mt_rand(97, 122); break; case 2: $IMGVER_RandVal = mt_rand(48, 57); break; case 3: $IMGVER_RandVal = mt_rand(65, 90); break; } return chr($IMGVER_RandVal); } function register_form(){         global $db, $prefix, $name, $email, $username, $password, $user_taken_err, $email_taken_err, $name_taken_err, $type; if($type == "f"){ $nameout = "Your"; }elseif($type == "b"){ $nameout = "Band"; }else{ $nameout = "Your"; $type = "f"; } session_start(); $IMGVER_TempString=""; for ($i = 1; $i <= 6; $i++) {   $IMGVER_TempString .= GetRandomChar(); } $HTTP_SESSION_VARS["IMGVER_RndText"] = $IMGVER_TempString; $IMGVER_RandomText = $HTTP_SESSION_VARS["IMGVER_RndText"]; echo "<div style=\"text-align:center;\"><span class=\"title\">Registration form</span><br />"; echo "Fields marked with a * are required.       <form id=\"RegisterForm\" method=\"post\" action=\"users.php\">       <table style=\"margin:0 auto;width:400px;\" border=\"0\" id=\"table1\" cellpadding=\"2\"> <tr> <td style=\"text-align:right;width:50%;\">$nameout Name:</td> <td style=\"text-align:left;width:50%;\"><input type=\"text\" name=\"name\" size=\"20\" value=\"$name\" /> * $name_taken_err</td> </tr> <tr>   <td style=\"text-align:right;\">E-Mail:</td>   <td style=\"text-align:left;\"><input type=\"text\" name=\"email\" size=\"20\" value=\"$email\" /> * $email_taken_err</td>     </tr> <tr>   <td style=\"text-align:right;\">&nbsp;</td>   <td>&nbsp;</td>     </tr> <tr> <td style=\"text-align:right;\">Username:</td> <td style=\"text-align:left;\"><input type=\"text\" name=\"username\" size=\"18\" value=\"$username\" /> * $user_taken_err</td> </tr> <tr> <td style=\"text-align:right;\">Password:</td> <td style=\"text-align:left;\"><input type=\"password\" name=\"password\" size=\"18\" value=\"$password\" /> *</td> </tr> <tr>   <td align=\"right\">Verify Image:</td>   <td align=\"left\"><img src=\"doimg.php?"; echo SID."\" /><br /><input name=\"verify\" type=\"text\" id=\"verify\"></td> </tr> <tr> <td>&nbsp;</td> <td><input type=\"submit\" value=\"Register\" /> <input type=\"hidden\" name=\"cmg\" value=\"do_Register\" /> <input type=\"hidden\" name=\"type\" value=\"$type\" /></td> </tr> </table></form>[ <a href=\"users.php\" title=\"Back\">Back</a> ]</div>"; }[/code] here is doimg.php [code=php:0]<?php $IMGVER_IMAGE = imagecreate(150,40); $IMGVER_COLOR_BLACK = imagecolorallocate ($IMGVER_IMAGE, 0, 0, 0); $IMGVER_COLOR_WHITE = imagecolorallocate ($IMGVER_IMAGE, 255, 255, 255); imagefill($IMGVER_IMAGE, 0, 0, $IMGVER_COLOR_BLACK); session_start(); $IMGVER_RandomText = $HTTP_SESSION_VARS["IMGVER_RndText"]; imagechar($IMGVER_IMAGE, 4, 20, 13, $IMGVER_RandomText[0] ,$IMGVER_COLOR_WHITE); imagechar($IMGVER_IMAGE, 5, 40, 13, $IMGVER_RandomText[1] ,$IMGVER_COLOR_WHITE); imagechar($IMGVER_IMAGE, 3, 60, 13, $IMGVER_RandomText[2] ,$IMGVER_COLOR_WHITE); imagechar($IMGVER_IMAGE, 4, 80, 13, $IMGVER_RandomText[3] ,$IMGVER_COLOR_WHITE); imagechar($IMGVER_IMAGE, 5, 100, 13, $IMGVER_RandomText[4] ,$IMGVER_COLOR_WHITE); imagechar($IMGVER_IMAGE, 3, 120, 13, $IMGVER_RandomText[5] ,$IMGVER_COLOR_WHITE); header("Content-type: image/jpeg"); imagejpeg($IMGVER_IMAGE); ?>[/code] I have used this same thing on a contact page and it works fine. When I go to register now there is just a blank black box. When I go to the contact page, that image loads fine, when I go back to register the same code appears as the contact page I was just on. Am I missing something? Do you need any other code to look at? Thanks, -Chris
  21. Looks better with the padding. What about a header image or something?
  22. there is a layout.gif in his first post. that is all we have to go on.
  23. Check this link out: http://www.neuroticweb.com/recursos/2-columns-layout/index.php there is also a 3 column here : http://www.neuroticweb.com/recursos/3-columns-layout/index.php all you have to do is add <div style="clear:both;">&nbsp;</div> after your second "column" then this will be your second row. Hope this helps, -Chris
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.