What changes to done in PHP.ini file for file uploading?
Answers were Sorted based on User's Feedback
Answer / devendrarjadav
In PHP.ini you must change the following directives to
allow the http file upload.
1.file_uploads : make this directive as TRUE, yes, on or 1.
2.upload_tmp_dir : Specify the temporary directory used for
storing files when doing file upload.
3.upload_max_filesize : Specify the maximum size of an
uploaded file.
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / palaniraja.wordpress.com
post_max_size also should be greater than upload_max_filesize
| Is This Answer Correct ? | 5 Yes | 1 No |
What are the features and advantages of object-oriented programming?
What is a composer in PHP?
How do you execute a php script from the command line?
How to open a file for reading?
<?php include ("db.php"); $result = mysql_query("SELECT ques_id FROM questionbank order by ques_id limit 5 "); while($obj=mysql_fetch_array($result)) { $ad1[$obj['ques_id']]++;//Used an array and inserted the database query results into it. } $rand_keys=array_rand($ad1,1); //Did a random array function echo "First random id = ".$ad1[$rand_keys[0]]; echo "<br>Second random id = ".$ad1[$rand_keys[1]]; ?> <!--Its not working. Have any solution for this. -->
how can I use bread crumb in PHP ?
In mail($param1, $param2, $param3, $param4), the $param2 contains__
how to uploade video in php????
When sessions ends?
I created a new joomla module for administrator. when am going to install this, it is going "joomla/modules" path. but, i want to install this in the "joomla/administration/modules" path.
Do I need apache for php?
What is trait in php?