shlok.mobi
General Knowledge Questions and Answers - 4
PHP
Questions and Answers
Prepare for Interview
Question:
How can we increase the execution time of a php script?
Answer:
By the use of void set_time_limit(int seconds) Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the php.ini. If seconds is set to zero, no time limit is imposed. When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.


More Questions :
  • How many open modes available when a file open in PHP?
  • What is the basic syntax of Php?
  • How to delete a file from the system
  • How to redirect a page in php?
  • How to create a session? How to set a value in session ? How to Remove data from a session?
  • What is Full form of PHP ? Who is the father or inventor of PHP ?
  • What is Full form of PHP ? Who is the father or inventor of PHP ?
  • What are the differences between PHP3 and PHP4 and PHP5 ? what is the current stable version of PHP ? what advance thing in php6
  • What is a Session?
  • How many ways we can pass the variable through the navigation between the pages?
  • How can we create a database using php?
  • Explain include(), include_once, require() and require_once.
  • do i store binary in my sql?
  • can we get the ID genrated from the previous insert operation ?
  • What is the purpose of ob_start() ?
  • How do you upload videos using PHP & MySQL
  • What's the difference between COPY OF A FILE & MOVE_UPLOAD_FILE in file uploading?
  • what is difference between $message and $$message
  • what is difference between mysql_fetch_array(),mysql_fetch_row() and mysql_fetch_object()
  • List out the predefined classes in PHP?
  • Test your English Language
  • Comics of the Day
  • Men Like in Women
  • Class 9 - Floatation
  • Baby Care Tips
  • Suryakant Tripathi Nirala
  • Gifts Your Favorite Coffee
  • Tips to succeed in Work
  • Weird Birds
  • Talented DJs To Look
  • Amazing Dances From Around The World
  • Greatest Fashion Models
  • Crazy Bike Designs
  • Mountains in India
  • Precautions while using Garden Tools
  • Awesome Literary T Shirts
  • Kriya Yoga
  • Tips to get ready for Summer
  • Homemade Christmas Food Gifts
  • Strangest New Years Traditions
  • Rules to play Rubiks Cube
  • Wardrobe Management
  • loading...

    Did you Know :

    An apple, onion, and potato all have the same taste. The differences in flavor are caused by their smell. To prove this you can pinch your nose and take a bite from each. They will all taste sweet.
    More ...

    Shlok Consultants