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
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
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
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
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
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
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
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
8 matches
Mail list logo