Okay, bizarre problem. Here\'s my code for an upload script (that I actually got off of here):
$the_path = \"/home/2036110209/www/web/modules/Encyclopedia/pictures\";
$registered_types = array(
\"image/gif\" => \".gif\",
\"image/pjpeg\" => \".jpg, .jpeg\",
\"image/jpeg\" => \".jpg, .jpeg\");
$allowed_types = array(\"image/gif\",\"image/pjpeg\",\"image/jpeg\");
if (isset($task) && strstr($task, \"transmit\"))
{
if ($the_file == \"none\")
{
exit();
}
copy($the_file, $the_path . \"/\" . $the_file_name);
}
I end up getting the following error:
Warning: Unable to create \'/home/2036110209/www/web/modules/Encyclopedia/pictures/\': Is a directory in /home/2036110209/www/web/modules/Encyclopedia/index.php on line 313
1) I am quite positive the pictures directory exists
2) I am quite positive that the permissions are currently set to 777.
Any ideas what the problem is?