Re: [PHP] Re: File Upload Problem

2011-04-11 Thread Louis Huppenbauer
Is there already a file with the same name? Apparently copy won't overwrite a file on windows if it already exists. Maybe you have the same problem ffproberen2 at dodgeit dot com had on the php.net/move_uploaded_file manpage? 2011/4/10 tedd tedd.sperl...@gmail.com: At 7:15 AM +0200 4/7/11,

Re: [PHP] Re: File Upload Problem

2011-04-11 Thread Hans Åhlin
I had some similar problem with Windows 7, it had to do with UAC and folder rights. Apache/PHP could read but not write to any dir except the ones that all users could write to. I solved it by allowing every one to read, write and change content in the directory where I needed PHP to

Re: [PHP] Re: File Upload Problem

2011-04-11 Thread tedd
At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote: tedd tedd.sperl...@gmail.com wrote: So, knowing this -- does anyone have any idea as to what is wrong? What happens if you diff the various config files involved directly, php.ini, https.conf, any other site-specific *.conf files used by

Re: [PHP] Re: File Upload Problem [SOLVED]

2011-04-11 Thread tedd
At 10:07 AM -0400 4/11/11, tedd wrote: At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote: tedd tedd.sperl...@gmail.com wrote: So, knowing this -- does anyone have any idea as to what is wrong? What happens if you diff the various config files involved directly, php.ini, https.conf, any other

[PHP] Re: File Upload Problem

2011-04-10 Thread tedd
At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote: On 06/04/11 19:10, tedd wrote: -snip- What could be wrong? What should I be looking for? If you really want to get help, publish your code. I don't think that's true. I should be able to ask a technical question with observations and inquire

[PHP] Re: File Upload Problem

2011-04-06 Thread Wojciech Kupiec
On 06/04/11 19:10, tedd wrote: Hi gang: I wrote a simple script to upload image files from my desktop to a server -- the exact same code works on two servers, but fails on a third. I suspect there is something set different between the servers, but I can't find it. Oddly enough, I can upload

[PHP] Re: File Upload problem

2003-10-20 Thread pete M
It might be the script timing out - defaults to 20 seconds check set_time_limit() regards pete Grant Rutherford wrote: Hi there, I'm trying to get a file upload to work with PHP. The file I'm attempting to upload is a 742kB pdf file, but this will have to work for files up to 50Mb of all

Re: [PHP] Re: File Upload problem

2003-10-20 Thread Grant Rutherford
No, I'm afraid that the results are nearly instantaneous. If it timed out, there should be a corresponding delay before I got the error message. Thanks, Grant pete M wrote: It might be the script timing out - defaults to 20 seconds check set_time_limit() regards pete -- Grant Rutherford

[PHP] Re: file upload problem

2003-08-23 Thread Catalin Trifu
Hi, echo form action = '. $_SERVER[PHP_SELF].' method = 'GET' enctype = 'multipart/form-data'\n; I think that the methos should be POST not GET Second, you may want to save the file first with, move_uploaded_file (see http://de.php.net/manual/en/function.move-uploaded-file.php),

[PHP] Re: File upload problem

2003-06-05 Thread Mi5ha
If you don't want users to write empty files to your server, why don't you just stop them ? You can write something like this: if ($HTTP_POST_FILES['file1']['size']!=0){ move_uploaded_file($HTTP_POST_FILES['file1']['tmp_name'], $upload_dir.$HTTP_POST_FILES['file1']['name']); } else { echo

[PHP] Re: File upload problem

2003-06-05 Thread Sami Kollanus
Thanks for the idea. I didn't think that solution before, bacause in the previous PHP-version it was impossible to upload empty files. Now server makes empty file even, if there is no file to upload. I still would like to know, where is the reason for the change of function in the server. Is

[PHP] Re: File upload problem

2003-01-23 Thread Neil M
John M wrote: Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit nothing happens. Why is if(isset( $Submit )) always false? Maybe my apache or php config is

[PHP] Re: File upload problem

2003-01-21 Thread Bobby Patel
Since you have 'safe-mode' on, Register globals will be turned off, so you should test $HTTP_POST_VARS['Submit'], instead. John M [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I have the code below. It's a simple file upload. But it doesn't work. Before

RE: [PHP] Re: File Upload Problem

2002-10-31 Thread David Robley
In article 01c2805a$8a2a11a0$4b0a0a0a@skink, [EMAIL PROTECTED] says... G'day David My problem is that files uploaded through a form are increasing in size. Doesn't that look like the EOL characters are being translated after the fashion of ftp ascii transfers?

RE: [PHP] Re: File Upload Problem

2002-10-31 Thread Richard Archer
. Regards, Rich -Original Message- From: David Freeman [mailto:dfreeman;outbackqld.net.au] Sent: 30 October 2002 9:23 pm To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: File Upload Problem G'day David My problem is that files uploaded through a form are increasing in size

[PHP] Re: File Upload Problem

2002-10-30 Thread David Robley
In article 002e01c27f99$20e35b50$030a0a0a@skink, [EMAIL PROTECTED] says... Hi All I'll start by saying that I've checked the online manual (and comments) as well as having done a Google search on this with no success. My problem is that files uploaded through a form are increasing in

RE: [PHP] Re: File Upload Problem

2002-10-30 Thread David Freeman
G'day David My problem is that files uploaded through a form are increasing in size. Doesn't that look like the EOL characters are being translated after the fashion of ftp ascii transfers? Maybe have a look at the two versions in a hex viewer and see if that is the case?

[PHP] Re: file upload problem

2002-09-05 Thread nicos
Take a look at http://www.php.net/manual/sv/printwn/features.file-upload.php, your pages should be named .php and not .php3 if you support PHP4. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet Ram K [EMAIL PROTECTED] a écrit dans le message de

[PHP] Re: file upload problem (files 7.5mb)

2002-03-05 Thread Peter Clarke
Stefan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; i wrote a php uploadscript and it works fine till the file is not larger then 7.5mb. is set the max upload file size in the upladfrom as well as in php.ini to 100mb. but it still doesn't work! system is linux red hat and php

[PHP] Re: file upload problem (files 7.5mb)

2002-03-04 Thread Joe Van Meer
Hi there:) Are you using the hidden form field with the max file limit set? Cheers, Joe :) Stefan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]; i wrote a php uploadscript and it works fine till the file is not larger then 7.5mb. is set the max upload file size in the upladfrom

[PHP] Re: file upload problem - Warning: Max file size of 8 bytes exceeded

2001-12-15 Thread David Serrano
I'm not sure if you've read this or not but it may help: http://www.php.net/manual/en/features.file-upload.php -David Serrano ([EMAIL PROTECTED]) Lee Philip Reilly [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I have an HTML form containing a file upload