Re: can't upload files
| From: | Jason Wong | Date: | Wed, 29 Sep 2004 15:18:51 +0000 |
| Subject: | Re: can't upload files | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198198@lists.php.net to get a copy of this message | ||
Please do not top post.
On Wednesday 29 September 2004 21:39, blackwater dev wrote:
> What should I look for? I know globals are off...file_upload is on.
read manual > Handling file uploads
Find out whether your version of php supports $_FILES, if so use it. If not
use $HTTP_POST_FILES.
Do:
print_r($_FILES); // or $HTTP_POST_FILES
at the *beginning* of the page that processes the uploaded files.
and if you're still getting:
> > >Doesn't print out anything.
Then go back to basics and try out the example in the above chapter. If you
can't get the example to work then re-read that chapter again (paying
particular attention to "Error Messages Explained" and "Common Pitfalls").
If you still can't get it to work then read the user notes in the online
manual.
If you still can't get it to work then search the archives.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Half Moon tonight. (At least it's better than no Moon at all.)
*/