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

[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:
<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" />

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?

Is this under codeigniter or a separated project? Any custom mods done to your php installation or .htacess files?

[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