Hey, could somone tell me how to run a php script every second on a web server and if so tell me how to use vpns with it as well.
Thanks,
James.
Thanks,
James.
- Type
- Requesting
Yeh, it is pissing me off -.-<?
// I only know basic PHP.
// This is probably pissing you off right now.
?>
...<?php
// Sorry.
?>
Pls don't, this is a serious thread<?php
$things = array("Tell James",
"Good web devs", "Evaluate data",
" Errota ");
foreach ($things as $thing) {
echo "<li>$thing</li>";
}
unset($thing);
?>
He was trying to tell you that Errota is a good Web-Dev and that they could help you out.Pls don't, this is a serious thread
He was trying to tell you that Errota is a good Web-Dev and that they could help you out.
It originally said Alex something and I've already PM'd Errota.[DOUBLEPOST=1446165188,1446165084][/DOUBLEPOST]<?php
// I know.
// I tagged Errota, a good web dev so he can help you.. but in PHP :3
?>
Oh ma gurd come on that's too long.Hello,
Thank you guys I know I almost always help people but I am a little busy with Host-Atom and my College work currently. If you still need help on the 5th of November I will help you.
Kind regards,
Jamie J M
How do I run the other script in this tho?Here is the script.
Works with CentOS.
Write one program which will run for 59 seconds, doing your checks every second, and then terminates. Combine this with a cron job which runs that process every minute and hey presto.
One approach is this:
set_time_limit(60);for($i =0; $i <59;++$i){
doMyThings();
sleep(1);}
if you have PHP 5.1+ use this
$start = microtime(true);
set_time_limit(60);for($i =0; $i <59;++$i){
doMyThings();
time_sleep_until($start + $i +1);}
Confusled, you want me to run my script and this script in one cron or wut?Cronjob.
How
So this is my script// Do whatever you want here
And this is my full accept with the other thing inside it//DoSomethingHere
Yup XDthis is for a sniper, right? xD