Click to See Complete Forum and Search --> : [Resolved] Remote Program Starting?


CodemasterMM
10-19-2003, 09:43 PM
I am wondering if there is anyway for me to make a PHP script that would make my computer run a program if 13 unique IP addresses clicked a link saying like "run program" or something per hour and every hour it'd reset the file containing the IP addresses so they could vote again.

Thanks for your awesome help. This site has the best PHP assistance anywhere!

LordShryku
10-19-2003, 09:53 PM
Probably the wrong place for this. Should be in the Coding.General Help forum. Anyway, take a look at exec() (http://php.net/exec), shell_exec() (http://php.net/shell_exec),
or system() (http://php.net/system)

drawmack
10-19-2003, 09:54 PM
that depends is your system the server that is hosting the php, if so the answer is yes.

http://www.php.net/exec

CodemasterMM
10-19-2003, 10:08 PM
Alright, Thank you. The coding forum wouldn't allow me to post...:eek: