| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| mohamedismail -
 
 
 Joined: 30 Sep 2013
 Posts: 3
 Location: Schaumburg, IL.
 
 | 
			
				|  Posted: Mon Sep 30, 2013 10:45 am    Post subject: PHP File Size |   |  
				| 
 |  
				| What is the maximum size of a file that can be uploaded using PHP and how can we change this? _________________
 Drupal Developers | Drupal Development
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| aprelium-support -
 
 
 Joined: 20 Feb 2009
 Posts: 356
 
 
 | 
			
				|  Posted: Tue Oct 01, 2013 2:39 pm    Post subject: Re: PHP File Size |   |  
				| 
 |  
				|  	  | mohamedismail wrote: |  	  | What is the maximum size of a file that can be uploaded using PHP and how can we change this? | 
 
 A reply from the Drupal forums: https://drupal.org/node/97193 .
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| Shena -
 
 
 Joined: 09 Dec 2013
 Posts: 2
 Location: New York, USA
 
 | 
			
				|  Posted: Wed Dec 11, 2013 3:41 am    Post subject: |   |  
				| 
 |  
				| upload_max_filesize indicates the maximum uploaded file. Find upload_max_filesize, the default is to 8M
 upload_max_filesize = 100M
 
 It should be noted that, of the more than post_max_size upload_max_filesize settings as well.
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| elvieqsquire -
 
 
 Joined: 02 Jan 2014
 Posts: 2
 
 
 | 
			
				|  Posted: Sat Jan 04, 2014 3:23 pm    Post subject: |   |  
				| 
 |  
				| Were you guys able to utilize that much capacity? _________________
 :)
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| Gleedaniel13 -
 
 
 Joined: 25 Jul 2013
 Posts: 22
 
 
 | 
			
				|  Posted: Thu Jan 09, 2014 1:37 pm    Post subject: |   |  
				| 
 |  
				|  	  | Quote: |  	  | upload_max_filesize indicates the maximum uploaded file. Find upload_max_filesize, the default is to 8M
 upload_max_filesize = 100M
 
 It should be noted that, of the more than post_max_size upload_max_filesize settings as well.
 | 
 
 I do not understand this explanation. Could you emphasize it so well?
 _________________
 Web Design Integration
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| aprelium-support -
 
 
 Joined: 20 Feb 2009
 Posts: 356
 
 
 | 
			
				|  Posted: Sat Jan 18, 2014 8:47 am    Post subject: |   |  
				| 
 |  
				|  	  | Gleedaniel13 wrote: |  	  | upload_max_filesize = 100M
 | 
 
 This is a parameter that should be changed inside your php.ini file.
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| Toasty -
 
 
 Joined: 21 Feb 2008
 Posts: 298
 Location: Chicago, IL
 
 | 
			
				|  Posted: Mon Jan 27, 2014 7:02 pm    Post subject: |   |  
				| 
 |  
				| Currently, it seems there is a 2GB cap on uploads, but there are several things that can interfere with that: 
 In your PHP.INI file:
 
 upload_max_filesize
 post_max_size
 
 These should be the same, the files are technically "POSTed" and that directive will regulate the file size.
 
 There are also methods of expressing the file size limitation on forms (which I presume you're not doing, as it is a bad idea).
 
 Further more, the PHP code itself may be hard coded to prohibit file uploads of a certain size, or the allotted partition may not be large enough to handle the files.
 
 Overall, any large files are best left to FTP uploads, even though PHP 5.6.0a1 adds support for filesizes larger than 2GB.
 _________________
 Audit the secure configuration of your server headers!
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| Outstndngguy -
 
 
 Joined: 17 Oct 2018
 Posts: 1
 
 
 | 
			
				|  Posted: Tue Nov 06, 2018 11:18 am    Post subject: |   |  
				| 
 |  
				| I didn't want to create a whole topic because my problem isn't huge 
 when I am putting these symbols in the field at my website - " and / they are automatically decoding into "
 
 Do I have some decoding issue? Whenever I put this symbols they are transforming into that
 _________________
 Newbie at aprelium
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| admin Site Admin
 
 
 Joined: 03 Mar 2002
 Posts: 1347
 
 
 | 
			
				|  Posted: Wed Nov 14, 2018 4:41 pm    Post subject: |   |  
				| 
 |  
				|  	  | Outstndngguy wrote: |  	  | I didn't want to create a whole topic because my problem isn't huge 
 when I am putting these symbols in the field at my website - " and / they are automatically decoding into "
 
 Do I have some decoding issue? Whenever I put this symbols they are transforming into that
 | 
 
 This is a completely different question, you should have posted it in a separate thread. Anyway, it looks like HTML special chars were converted during the submission.
 
 All depends on the context, but this could be done by something on the client side (the browser) or the server-side (your script).
 
 More about HTML entities and how they are converted could be found in https://secure.php.net/manual/en/function.htmlspecialchars.php .
 _________________
 Follow @abyssws on Twitter
 Subscribe to our newsletter
 _________________
 Forum Administrator
 Aprelium - https://aprelium.com
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		|  |