On 5/31/06, chris smith <[EMAIL PROTECTED]> wrote:
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
> 2.  Have you tried simply saving $_POST['userfile'] to a file?
>
>      $save = $_POST['userfile'];
>      $f=fopen($out,'a');
>      copy($save, $out);

Files don't go into $_POST - they go into $_FILES.

Yes, his problem is that the $_FILES is not being set, but
there is some value in $_POST['userfile'].

Kartikay, I was suggesting that $_POST['userfile'] may
contain the file itself, not a filename. What does
$_POST['userfile'] contain? Try var_dump()ing it.

Rabin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to