Re: File Upload Problem



On May 24, 9:18 pm, Mike <ampel...@xxxxxxxxx> wrote:
Hello,
I am trying to upload a file via a web page of 1.6 meg.
I have set:
php_value upload_max_filesize 16M
php_value post_max_size 18M
in an htaccess file and they show up correctly on my phpinfo file.
I have:
<input name="MAX_FILE_SIZE" type="hidden" value="20097152" /> (Which
is 20 meg) as a form field
I can upload 750k without a problem.But it gives me an error
INSTANTLY
when I try a larger file.
Any suggestions? Could it be the temp directory doesnt allow bigger
files?
Thanks,
Mike

Hi,

Try to increase your script execution Time. By setting
max_execution_time to something greater.



Regards,

Fahad Khan.
.



Relevant Pages

  • Re: Hacker attack. What do they want?
    ... can upload to this directory some scripts which would destroy my file ... The fact that the directory is world-writeable AND has an .htaccess file should ring a bell: If you keep the file names, anyone can upload an .htaccess file... ... that jpg extension does not guarantee the ...
    (comp.lang.php)
  • creating .htaccess files
    ... wants me to write the script. ... Use notepad to create a .htaccess file and upload it to the ...
    (microsoft.public.frontpage.client)
  • Re: Redirect a web site
    ... If you are able to upload a .htaccess file to the website, ... see if there is /already/ a .htaccess file there. ... What should now happen is that if anyone points a web browser at your ...
    (comp.sys.acorn.misc)
  • Re: 110mb 404 page
    ... Upload it to the root of your site by ftp and then change ... Most commercial webservers already have an htaccess file in the root to ...
    (uk.people.silversurfers)
  • Re: Password protected webpage
    ... then create a htaccess file and upload it to the same folder - that should overwrite the old one. ... It is working well EXCEPT the .htaccess and the .htpasswd files are hidden on the server. ...
    (microsoft.public.publisher.webdesign)