[PHP-DEV] File upload problem

2003-02-27 Thread Frans Bakker
Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html page called Test2.php with a form in it with enctype=\multipart/form-data\. Here is the source code: ?php $AppImageDir =

Re: [PHP-DEV] File upload problem

2003-02-27 Thread Derick Rethans
Hello, please forward user questions to the [EMAIL PROTECTED] mailinglist, this list is for development _OF_ PHP, not development _with_ PHP. Derick On Thu, 27 Feb 2003, Frans Bakker wrote: Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file

[PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Rasmus Lerdorf
I don't think it is a good idea to drop all form data from an enctype=multipart/form-data POST when file uploads are turned off. I think it makes more sense only to drop the uploaded file. A simple test script: form action=form.php enctype=multipart/form-data method=POST input type=text

Re: [PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Stefan Esser
By the way, this didn't work at all in 4.1.2. Any Sorry but I cannot reproduce this. The _REQUEST array is filled here. The only strange thing is that phpinfo doesn't show it... But var_dump and print_r do... Stefan -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit:

Re: [PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Rasmus Lerdorf
Did you turn off file_uploads in your php.ini before testing? I just double-checked in the 4.2 branch and turning off file_uploads makes the variable disappear for me. -R On Fri, 29 Mar 2002, Stefan Esser wrote: By the way, this didn't work at all in 4.1.2. Any Sorry but I cannot

Re: [PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Stefan Esser
Hi, Did you turn off file_uploads in your php.ini before testing? I just double-checked in the 4.2 branch and turning off file_uploads makes the variable disappear for me. Ahhh then I misunderstood your mail. I thought you mean in 4.1.2 if you do not upload a file (only fill the input

Re: [PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Rasmus Lerdorf
Right, that is what I am seeing at least on the Debian package of 4.1.2, and in 4.2 and HEAD this is fixed but we still have the issue of dropping form fields when file uploads are turned off. I need to build another 4.1.2 to see if I can reproduce what I am seeing in the Debian build. -Rasmus

Re: [PHP-DEV] file upload issue in HEAD

2002-03-29 Thread Rasmus Lerdorf
Hrm, you are right, I can't repeat it in the current 4.1 branch. Am I seeing things on Debian? Anybody else have a Debian woody server with 4.1.2 from the Debian package running? If so, please test this script: form action=form.php enctype=multipart/form-data method=POST input type=text

[PHP-DEV] File Upload

2002-03-25 Thread David McInnis
I wrote s script to upload a file. The script works, but when I point my browser to the file it downloads, but I can no longer open the file in MS Word. What is happening to my file? My client is Windows and the server is Linux. David McInnis -- PHP Development Mailing List

[PHP-DEV] File upload on Win32

2001-12-03 Thread Frank M. Kromann
Hi, Is it me or is upload broken in 4.2.0-dev from cvs ? php.exe hangs after uploading the first 8.192 bytes. Nothing happens, no cpu usage. - Frank -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] File upload on Win32

2001-12-03 Thread Jani Taskinen
Hangs? It's partially broken but that problem is bit different and can be worked around by setting register_globals=off. What kind of file is the one you're uploading? And how big? What are your php.ini settings that affect the uploading? (upload_max_filesize.. etc) --Jani On Mon, 3 Dec

[PHP-DEV] file upload

2001-02-09 Thread Manuele Ferraro
hi ng For file upload i compare temp file with "none". It's OK. From yesterday, the string tha corresponding at null file is null string ? why ?? Manuele -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-DEV] File upload error - no mime boundary found after start of file header

2001-02-04 Thread David Croft
I am working on a site that handles a lot of file uploads. Occasionally the following error will be thrown: shell httpd: PHP Warning: File Upload Error - No Mime boundary found after start of file header in Unknown on line 0 Now I figured this was probably a browser bug rather than a PHP bug