At 10:07 AM -0400 4/11/11, tedd wrote:
At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote:
"tedd" 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
At 7:37 AM +0100 4/11/11, Ashley Sheridan wrote:
"tedd" 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
apache. Sometimes its a
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 handle/control
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 :
> At 7:15 AM +0200 4/7/11, Wojciech Kupiec wrote:
>>
>
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 a
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 i
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
Ider
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 typ
Hi,
> echo " = '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),
then you will be able to see it.
Of course you will f
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 t
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 "WAR
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 wr
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.
>
l that could be wrong as I'm not an expert on file uploads,
but it might be a place to start looking.
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 P
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 trans
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 cas
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
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
"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
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 uplad
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
21 matches
Mail list logo