RE: [PHP] Upload script not working

2004-08-23 Thread Lizet Peña de Sola
Thanks, I better check the file type first then... strip_tags on a PDF file is a bad idea. strip_tags() is only meant for text files that may contain HTML tags that you want to remove... ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] Upload script not working

2004-08-23 Thread John Holmes
From: "Lizet Peña de Sola" <[EMAIL PROTECTED]> Hello Jones, thanks for looking at the code, will try the uploading without stripping the tags, I've tried with pdf files without success. strip_tags on a PDF file is a bad idea. strip_tags() is only meant for text files that may contain HTML tags th

RE: [PHP] Upload script not working

2004-08-23 Thread Lizet Peña de Sola
: Re: [PHP] Upload script not working From: "Lizet Peña de Sola" <[EMAIL PROTECTED]> > I have the following script to upload files to the server, it works > partially as only a few bytes of the file are uploaded, is the script > wrong or am I missing some setting at t

RE: [PHP] Upload script not working

2004-08-23 Thread Lizet Peña de Sola
ECTED] Subject: Re: [PHP] Upload script not working From: "Lizet Peña de Sola" <[EMAIL PROTECTED]> > I have the following script to upload files to the server, it works > partially as only a few bytes of the file are uploaded, is the script > wrong or am I missing som

Re: [PHP] Upload script not working

2004-08-23 Thread John Holmes
From: "Lizet Peña de Sola" <[EMAIL PROTECTED]> I have the following script to upload files to the server, it works partially as only a few bytes of the file are uploaded, is the script wrong or am I missing some setting at the server? Tia, Lizet userfile=$_FILES['userfile']['tmp_name']; // $userf

[PHP] Upload script not working

2004-08-23 Thread Lizet Peña de Sola
Hi all: I have the following script to upload files to the server, it works partially as only a few bytes of the file are uploaded, is the script wrong or am I missing some setting at the server? Tia, Lizet userfile=$_FILES['userfile']['tmp_name']; // $userfile_name is the original file name wi