I believe my problem may be related to not using my document web root correctly. I am using known working code from webRiot (http://www.phpriot.com/articles/images-in-mysql) and the code I am getting the error on is :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head><title>File Upload To Database</title></head>
<body>
<h3>Please Choose a File and click Submit</h3>
<form enctype="multipart/form-data" action="<?php echo $_SERVER ['PHP_SELF']; ?>" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
<input name="userfile[]" type="file" />
<input type="submit" value="Submit" />
</form>
</body>
</html>
I am getting a "Page not found" error and the http address is displaying as :
http://datatracksoftware.com/%3C?php%20$_SERVER['PHP_SELF'];%20?>
Could it be that the code is 4 years old and not working with my remote Startlogic Apache server running with PHP ver 5.2.5 and MYSQL ver 5.0.45?
Simple forms and database queries work fine. I greatly appreciate any help that anyone may provide.
~Steve