All,
I am having troubles accessing the $FILES and $POST arrays. I am using php 4.0.6, Server API - Apache on windows.
I am trying to upload a file using the HTTP upload functionality (here is my form)
print "<form enctype='multipart/form-data' method='post' action='". $PHP_SELF ."'>\n";
print "<input type='hidden' name='MAX_FILE_SIZE' value='200000'>\n";
print "<input type='file' name='image'>\n";
print "<input type='submit' value='Upload' name='submit'>\n";
print "</form>\n";
When I post the form I can see the $HTTP_POST_VARS array but not $POST or $FILES
Please help.
If $HTTP_POST_VARS is the equivalent to $POST, how can I access the $FILES array.
TIA
neil