The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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:
|
#2
|
|||
|
|||
Also note, there is no value set for the uploads tmp dir in my phpinfo...any way to use my own tmp folder?
|
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
Thanks filburt. I've done some work on it and got it *almost* working. That particular problem is fixed.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|