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

RE: [PHP] upload script

2003-12-10 Thread Matt Matijevich
hi, I was wondering if anyonehad a script to upload files. Thank You http://www.php.net/features.file-upload -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] upload script

2003-12-10 Thread Ox
Try this, its very very simple though $PicPath="Path/"; if(is_uploaded_file($_FILES['Photo']['tmp_name'])) { copy ($_FILES['Photo']['tmp_name'], $PicPath.$_FILES['Photo']['name']); } -Original Message- From: tony [mailto:[EMAIL PROTECTED] Sent: 10 December 2003 21:34 To: [EMAIL PROTECT

Re: [PHP] Upload script with user admin

2002-02-01 Thread Jeff Sheltren
You may want to check into some of these: http://www.hotscripts.com/PHP/Scripts_and_Programs/File_Manipulation/Upload_Systems/ Jeff At 05:34 PM 2/1/2002 +0100, ArtistHotel wrote: >Hi, > >I need an upload script that lets predefined users log in and upload files. >Does such a script exist? > >Reg