Welcome Guest, Not a member yet? Register   Sign In
Ack! $_FILES data shows in $_POST
#1

[eluser]Benjamin Midget[/eluser]
This is kind of an embarrassing problem as I consider myself a seasoned PHP guy, but all the sudden things are acting so strangely, and I cannot find an answer anywhere. Thus, I'm hoping y'all can help me out.

My $_FILES data is showing up in $_POST for some reason:
Code:
<form enctype="multipart/form-data" action="" method="POST">
    <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
    Send this file: <input name="userfile" type="file" />
    <input type="submit" value="Send File" />
</form>

Even on the most basic form, $_FILES continually shows nothing, and $_POST shows 'userfile' as one of the parts. If I add a file to the form, $_POST['userfile'] is the binary form in all its gibberish splendor.

Can anyone help?
#2

[eluser]manilodisan[/eluser]
Is this under codeigniter or a separated project? Any custom mods done to your php installation or .htacess files?
#3

[eluser]Benjamin Midget[/eluser]
This is a problem everywhere all the sudden.

...Oh my gosh! I just solved the problem while typing this:

It's the latest build of Webkit (Oct 15). It's file uploading is broken.

Anyway, thanks for the reply.




Theme © iAndrew 2016 - Forum software by © MyBB