Hey guys, I have a piece of code that enables me to show an image based on an id in the URL. My problem is, I want to show a default image if there is no ID given...Here is my code so far.
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value.
True, I do recommend the use of file_exists() as you say but I wouldn't worry about a remote person trying to display anything with a hard coded path is what I'm saying.
//Please don't use this for your form processing:
if (isset($_POST['submit']))
//Internet explorer has a bug and does not always send the submit value.