Re: [PHP] Fw: upload

2003-06-25 Thread Harry Wiens
this is working for me: [snip] $data = addslashes(fread(fopen($userfile, "r"), filesize($userfile))); $fp = fopen($filename, "w"); fwrite($fp,stripslashes($data)); fclose($fp); [/snip] greets harry wiens "Jay Blanchard" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROT

RE: [PHP] Fw: upload

2003-06-25 Thread Jay Blanchard
[snip] this is the form that i have Send this file: and this is the script for upload $Archivo = $HTTP_POST_VARS['userfile']; copy($Archivo,"Archivos/".$Archivo); but it doesnt work . [/snip] See TFM at http://us3.php.net/manual/en/features.file-upload.php HTH -- PHP Gener

[PHP] Fw: upload

2003-06-25 Thread Vahid Pourahmary
i have this problem when i try to upload a file this is the form that i have Send this file: and this is the script for upload $Archivo = $HTTP_POST_VARS['userfile']; copy($Archivo,"Archivos/".$Archivo); but it doesnt work . thnakyou VP -- PHP General Mailing List (http:

[PHP] FW: upload file size

2002-07-06 Thread Richard Lynch
>I can't seem to upload file bigger than 5M even if I set the >upload_max_filesize to 20M in php.ini and MAX_FILE_SIZE to 20M in the >script. What's am I missing here? Is the temporary upload directory won't >handle file this size? Please give me some pointers here. TIA. Does show a 20 M limit?