Jump to content

Eggzorcist

Members
  • Posts

    214
  • Joined

  • Last visited

    Never

Everything posted by Eggzorcist

  1. If I have the following in a header.php in a root of localhost. $_SERVER['SERVER_NAME'] . $_SERVER['PHP_SELF']; and my header is attached to a file in /localhost/hello/index.php will the phpself think its the root of localhost or in hello/index.php? thanks
  2. Yep, it was all a trick question. You're good...
  3. I'm not sure, but what I understand from the question is this. is this what you mean? <?php if ($var == 0){ $var = false; } elseif ($var != 0){ $var = true; } ?>
  4. Jimmy jim, you'll have to extend you're sql limit to 30 for md5
  5. This is fairly easy. I tend to do this in javascript as the user does not need to leave the page to find out if they are missing anything. However, a php alternative would having in the action: <?php if (!$_POST['TEXT1'] && !$_POST['TEXT2'] && !$_POST['RADIO1']){ //error message } ?> However that will never pinpoint the user's mistake. If you were to pinpoint the users mistake it's a bit more complicated. I'd use a jsp from a ready done jsp framework and mix it with php to not let the user click submit until everyting is spick & span. Guy above me beat me to it!
  6. I'm having trouble thinking how this could be done in php. As php does not view .swf as a picture. The only way I can think of is capturing the swf API and creating a new picture. But I'm not certain on how that's done.
  7. Well it really depends if that SWF is animated or not. If not JPEG is a better option. However, if it is animated .GIF is the only option.
  8. Yep, IE6 is a bloody pain for everyone, mostly the CSS programmers though... That's what made me just learn the basics of CSS and that's what I prefer with php, it's moreso cross-browser.
  9. I suggest using require for any authentication scripts or security you want to include. Less important things, use include. That said, I just use require. As, files don't normally vanish so you won't get the error with a live website, plus it's better for testing you're script so you can see if there is an error. If you have any doubts about functions you can try php.net first. It has them all!
  10. Provide more detail. You want to make this in php? or just convert it. If you're SWF is animated, JPEG will only give you a still image. Only .gif can provide an animation.
  11. I agree with what's right above me. Many freelance. This does not need any degree and can be fairly profitable. Once you have done one or two serious jobs you will get reffered fairly quickly. My brother does this during the summer and christmas and he's making a decent 10-12 grand a year.
  12. Hehe, answers most questions for new freelancers. Very quotable.
  13. Read the error carefully. It does not state anything wrong with you're code. You must setup a mail server for you're server. Most hosting have this configured automatically. However if you are using WAMP, LAMP or MAMP you might not have it configured. You should find how to set it up on google fairly easily.
×
×
  • 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.