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 |
Make a "dynamic drop down list" with using only PHP,HTML and MySQL..
Is php secure?
<?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 values in arrays are indexed?
How do sessions work in php?
What is the use of namespace in php?
What is apache and php?
Which function you can use in php to open a file for reading or writing or for both?
How does php serialize work?
How many days will it take to learn php?
If anybody integrate "First Data Global Payment Gateway" in your site?
How to pass variables and data from php to javascript?