Re: Image upload not working correctly
| From: | Jason Wong | Date: | Thu, 14 Oct 2004 21:21:04 +0000 |
| Subject: | Re: Image upload not working correctly | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-199535@lists.php.net to get a copy of this message | ||
Please do not top-post.
On Thursday 14 October 2004 23:52, Dave Grant wrote:
> Thanks for the reponse. Yes, the destination paths look fine and the PHP
> error log displays no errors. Any other ideas?
move_uploaded_file() _will_ spit out an error if there are any problems. So if
you're _positive_ FULL error reporting is enabled & logged and the error log
shows nothing then I would be inclined to assume that the
move_uploaded_file() operation was executed successfully. In that case, are
you positive you're looking in the correct place for the destination file?
If you're still having problems, post some self-contained, concise[1] code to
illustrate your problem.
[1] concise meaning the bare minimum, eg in your case code to handle either
"thumb image" or "full image" but not both, etc.
--
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
------------------------------------------
/*
The Heineken Uncertainty Principle:
You can never be sure how many beers you had last night.
*/