Skip to content | Skip to navigation
Okay, so I'm having some problems with file uploads.
The form on the page is set up correctly, the picture uploads (as indicated by the long wait until the refresh), but the information is not passed to the next php file. IE $_FILES[][] is completely empty.
I've checkd my php.ini file (my server allows me to set a custom php.ini) and uplaods are enabled, global variables are turned on, and I've used a custom temporary upload path and deleted the line to use the system default, but it doesn't matter cause with either $_fiLES['myfileupload']['tmp_name'] is empty (excuse me if i'm putting an extra s there or whatever, but you know what i mean).
Anyone have any clues? Its not the server, other people experience success.
Pistol Grip Pump In My Lap At All Times
Could you please send me that script? I've got a working image uploader by myself. It's hard to tell what's wrong only based on your small comment that $_FILES is empty.
thanks in advance,
cu, w0lf.
Multiple exclamation marks are a sure sign for a diseased mind!
This post was edited by ginsterbusch on Nov 02, 2005.
t's always simple mistakes like that *sigh*.
That always happens as soon as you try too hard to get something done. Especially with PHP which neither does have a proper debugger nor a good IDE yet. Also sometimes mistakes seem to stick - my biggest one is with substr() - I'm keeping on putting the parameter in the wrong order all the time, finally realizing this when the bloody program doesnt work as it's supposed to be.
But in this case it's always good to have someone else to talk to, who is not so involved into the working process. Basically said, that's what friends are for - personally I regard everyone on NAO as friend - until the opposite is proven. ;)
cu, w0lf.
Multiple exclamation marks are a sure sign for a diseased mind!