RE: [PHP] How to upload a file

2002-12-20 Thread Rich Gray
And if you select a small file it works fine right? -Original Message- From: Somesh [mailto:[EMAIL PROTECTED]] Sent: 20 December 2002 12:29 To: Rich Gray Cc: [EMAIL PROTECTED] Subject: RE: [PHP] How to upload a file post_max_size 8M upload_tmp_dir It fails immediately after clicking

RE: [PHP] How to upload a file

2002-12-20 Thread Somesh
..? > > -Original Message- > From: Somesh [mailto:[EMAIL PROTECTED]] > Sent: 18 December 2002 15:52 > To: Rich Gray > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] How to upload a file > > > > No difference > > > On Wed, 18 Dec 2002, Rich Gray wrote: &

RE: [PHP] How to upload a file

2002-12-18 Thread Rich Gray
anything created in the upload directory after teh submit is clicked and before it fails...? -Original Message- From: Somesh [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 15:52 To: Rich Gray Cc: [EMAIL PROTECTED] Subject: RE: [PHP] How to upload a file No difference On Wed, 18 Dec 2002

RE: [PHP] How to upload a file

2002-12-18 Thread Somesh
ECTED]] > Sent: 18 December 2002 13:37 > To: Rich Gray > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] How to upload a file > > > It is not displaying any thing. > It just gives the browser's error page > "The page cannot be displayed" > > An

RE: [PHP] How to upload a file

2002-12-18 Thread Rich Gray
: [PHP] How to upload a file It is not displaying any thing. It just gives the browser's error page "The page cannot be displayed" And the print_r($_FILES) prints an empty array; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How to upload a file

2002-12-18 Thread Somesh
It is not displaying any thing. It just gives the browser's error page "The page cannot be displayed" And the print_r($_FILES) prints an empty array; On Wed, 18 Dec 2002, Rich Gray wrote: > What does print_r($_FILES) tell you? Is $_FILES['userfile']['error'] set to > a value? > Rich

RE: [PHP] How to upload a file

2002-12-18 Thread Rich Gray
What does print_r($_FILES) tell you? Is $_FILES['userfile']['error'] set to a value? Rich -Original Message- From: Somesh [mailto:[EMAIL PROTECTED]] Sent: 18 December 2002 11:18 To: [EMAIL PROTECTED] Subject: [PHP] How to upload a file Hi, I am using the following code to upload file;

RE: [PHP] How to upload a file

2002-12-18 Thread Jon Haworth
Hi Somesh, > > > This works fine for small files of like some > > > Kbs but fails to upload larger files near to 1MB. > > > > What's your upload_max_size set to in php.ini? > > It is as follows > ; Maximum allowed size for uploaded files. > upload_max_filesize = 8M I don't have a clue then

Re: [PHP] How to upload a file

2002-12-18 Thread Bogdan Stancescu
Are you sure it's PHP the one that fails? i.e. do you get the "some error has occured while uploading the file $userfile_name" message or some other message? I had this kind of problem when trying to store incoming files in a database, and the link to the database failed, not PHP. Also, if you

RE: [PHP] How to upload a file

2002-12-18 Thread Somesh
Hi Jon, It is as follows ; Maximum allowed size for uploaded files. upload_max_filesize = 8M On Wed, 18 Dec 2002, Jon Haworth wrote: > Hi Somesh, > > > This works fine for small files of like some > > Kbs but fails to upload larger files near to 1MB. > > What's your up

Re: [PHP] How to upload a file

2002-12-18 Thread Wico de Leeuw
Look for the limit in php.ini http://www.php.net/manual/en/configuration.directives.php#ini.upload-max-filesize Gr, Wico At 16:47 18-12-02 +0530, Somesh wrote: Hi, I am using the following code to upload file; X--- Send the file: X---

RE: [PHP] How to upload a file

2002-12-18 Thread Jon Haworth
Hi Somesh, > This works fine for small files of like some > Kbs but fails to upload larger files near to 1MB. What's your upload_max_size set to in php.ini? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php