RE: [PHP] Fw: upload

2003-06-25 Thread Jay Blanchard
[snip] this is the form that i have form action=archivo2.php method=post enctype=multipart/form-data input type=hidden name=MAX_FILE_SIZE value=5 Send this file: input name=userfile type=file input type=submit value=Send File /form and this is the script for upload $Archivo =

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 PROTECTED]