![]() |
uploading images
Following is part of a script I'm working on to upload pictures. I'm getting an error that no file was uploaded, but this is just not the case. I double-checked that I have the attribute on my form tag (enctype="multipart/form-data"), and I also made sure that the name of the file field was correct.
Does anyone see anything that might be causing the problem? PHP Code:
|
Also note, there is no value set for the uploads tmp dir in my phpinfo...any way to use my own tmp folder?
|
A really long PHP uploads tutorial: http://www.webdesignforums.net/thread1873.html
Remember you have to copy the temp file before the page is done executing, otherwise it will be nuked. And yes, I do believe you need to set an upload destination in your php.ini. |
Thanks filburt. I've done some work on it and got it *almost* working. That particular problem is fixed. :)
|
All times are GMT. The time now is 04:27 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|