In PHP how many size data can upload by default?
Answers were Sorted based on User's Feedback
Answer / mamta asnani
By default it is 2 MB. But we can change it in php.ini file
by "upload_max_filesize".
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / mrunalini
As far i know it depends on your limitations specified by
your hosting provider but not by your script. In general
when you are uploading large file sizes it is advisable to
use FTP protocol to load them into your server. For small
filesizes you can load them using HTTP.
| Is This Answer Correct ? | 12 Yes | 2 No |
Answer / ratan siddique
2 mb is default. but it will be extendable. whenever we
need for extrand capacity just we will edit php.ini file.
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / webguy
Its 2mb(min) and 20mb(max) in PHP and nothing to with the
protocol as far as the size is in question.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / shravan kumar
Default size is 2 MB
Maximum size is 20 MB
| Is This Answer Correct ? | 5 Yes | 4 No |
What does $this do in php?
How can you create a session in php?
What are the three parts of an http request?
Tell me how do you define a constant?
What do you mean by having php as whitespace insensitive?
What's the output of the ucwords function in this example?
When use javascript vs php?
What are the features of object-oriented programming in php?
What is full form of php? Who is the father or inventor of php?
how to extract month from given date by using string functions?
Which PHP function would you use to send an email?
<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done