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?


Messages In This Thread
Ack! $_FILES data shows in $_POST - by El Forum - 10-17-2008, 02:53 PM
Ack! $_FILES data shows in $_POST - by El Forum - 10-17-2008, 03:35 PM
Ack! $_FILES data shows in $_POST - by El Forum - 10-17-2008, 03:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB