![]() |
| |||||||
| Your Website Questions and (hopefully) answers about setting up your own business or gallery website |
| | Thread Tools |
|
#31
| ||||
| ||||
| Re: how can I allow people to send my your photos? So you call the PHP inbuilt info function, which lists you detailled configuration of the server. It's looking like this: PHP Code: phpinfo() example output And yes, the upload limit is finally configured in the PHP.ini file by the server administrators. Here a sample of the portion of the php.ini file from my local server: (with useful comments) Quote:
Jason Last edited by _jason_; 02-26-2010 at 10:17 PM. |
|
#32
| |||
| |||
| Re: how can I allow people to send my your photos? yes jason, that's what I am trying to expain from the beginning. This is my first post: --------------------------------------- --------------------------------------- download this script: http://www.webdeveloper.com/forum/at...5&d=1143972935 - this is a free working version. Description is here: http://www.webdeveloper.com/forum/sh...d.php?t=101466 ------------------------------------- open this page in text editor: multiple.upload.form.php and change the size of a file to this value: // set a max file size for the html upload form $max_file_size = 700000000; // size in bytes you should be OK. --------------------------------------- --------------------------------------- I am not a programmer, but I think this line $max_file_size = 700000000; // size in bytes tells to php.ini on the server to ignore default value and use my new one. This script is written by pro programmer not by me |
|
#33
| ||||
| ||||
| Re: how can I allow people to send my your photos? ... NOOOO. You can't modify the server side php.ini restriction with a script for some certain reasons! This number merely limits the upload size from your website/web application. This is, you allow your users only a restricted filesize to upload ('cause probably your space is limited or you do not want the users to upload tonns of crap...). Please read all the code! The global PHP limit remains unaffected with that if your server is correctly and securely configured. Definately. (I think, you never really tried to upload laaarge files with that script via HTTP protocol. If you did, you actually would know what happens: Files which are larger than the configured limit will be canceled by the server and usually land in the trash.) Jason Last edited by _jason_; 02-27-2010 at 04:14 AM. Reason: additions |
|
#34
| ||||
| ||||
| Re: how can I allow people to send my your photos? Look at the link I posted in my previous post. http://austin.ispgate.biz/phpinfo.php That server has an upload_max_filesize of only 2MB configured! This means he can do what he want. He won't get uploaded larger files than that. Jason |
|
#35
| |||
| |||
| Re: how can I allow people to send my your photos? OK I prefer FTP ... |
|
#36
| ||||
| ||||
| Re: how can I allow people to send my your photos? ................................................................. *smile* |
|
#37
| |||
| |||
| Re: how can I allow people to send my your photos? But on my server I tried 50 MB+ and it was working fine ... Different server configuration. |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Print Family Photos of Differing Sizes | copacabanagirl | Input/Output/Workflow | 14 | 06-23-2009 04:03 AM |
| Help photos stuck togather | Countrybird1 | Photo Restoration | 2 | 06-17-2009 09:11 PM |
| Photos: Tuff-N-Uff MMA 05-30-2009 Featuring LaTash | ultravista | Critiques | 0 | 06-03-2009 09:16 PM |
| Resizing photos for a book publication | oiram | Image Help | 8 | 04-24-2009 09:56 PM |
| Who can post photos? | mikajomc | Photo-Based Art | 1 | 01-23-2008 11:43 AM |