I try to upload, using this form :
<form name=form action=TestUpload.php enctype="multipart/form-data" method=post>
<input type=hidden name=Id value=20>
<input type=hidden name=MAX_FILE_SIZE value=10000>
<input type=file name=UploadedFile size=50>
<input type=submit value="Send">
With php 4.2.3, I was able to find in $_REQUEST['UploadedFile'] the file informations to process the request, but with 4.3.1 there is nothing.
Is there anything changed ? I read here about HTTP_FILES_VAR ? Is it new ? I can't find it in the whole documentation.
Thanks for help.
uploads
Moderator: General Moderators
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
I'd use the $_FILES superglobal to make it easier to know what type of Request it is.
btw make sure register globals = on in your php.ini
more info here
btw make sure register globals = on in your php.ini
more info here
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK