Explain how to execute a php script using command line.
No Answer is Posted For this Question
Be the First to Post Answer
Explain the difference between mysql_connect and mysql_pconnect?
if i give Limit for mysql query through php command line script like this for ex. $limit=500; $total_items = 1500; for($start=0;$start<$total_items;){ $command = "/usr/bin/php -q /home/sitename/public_html/admin/feedmanager/test.php feedid ".$_GET['feedid']." start ".$start." end ".$limit ; $start = $start+$limit; $command_result = system($command); } so it's execute command for 3 times so it give limit to sql query but if i have 27000 data so it takes long time? so my question is that is that any way from php command line script that i can use for collect all the data at once?
What are the ways to define a constant in php?
Does jwt protect against csrf?
how can we check mail function with '127.0.0.1' (before submitting a site?
How to send Email using PHP with MySQL in Linux Server?..
Is php a middleware?
Explain the difference between urlencode and urldecode?
How to set session.gc_divisor properly?
What is difference between isset and empty in php?
What is baseurl?
What is faster in php?