|
Posted by carlton on 11/26/48 11:55
Toby Inkster wrote:
> carlton wrote:
>
>
>>When I run the following page, the foreach ($_POST as $key=>$value)
>>lists the correct values for MAX_FILE_SIZE and password, but no value
>>for fupload, why is the requested file not being sent?
>
>
> Same reason there's no $_COOKIE[fupload], $_GET[fupload], $_SERVER[fupload]
> or $_SESSION[fupload].
>
> The reason is: because that's not where uploaded files live.
>
> Uploaded files live in $_FILES.
>
> http://uk2.php.net/manual/en/features.file-upload.php
>
Thanks very much for the help, much appreciated. I had taken the code
from a php text book, so I assumed it was OK.
Carlton.
Navigation:
[Reply to this message]
|