OrganizedChaos
MIS
I have a page that I currently enter a name into a text box and hit submit to POST that data to another PHP page which then uses this name to run a couple of functions and make changes to a mySQL db.
What I am looking to do is either;
A. Turn the 2nd page into an executable that instead of receiving the data from a POSTed variable, opens a txt file and reads the different variables, running each with this script. (I would set this to run as a cron job)
B. Set the script to wait for an input (IE. script.php runthis) and then run it with individual names with a cron job for each..
Problem is, I dont know how to accomplish either. I am using a linux box with a BASH shell, PHP and MySQL along with other options if necessary..
Thanks,
Mike
What I am looking to do is either;
A. Turn the 2nd page into an executable that instead of receiving the data from a POSTed variable, opens a txt file and reads the different variables, running each with this script. (I would set this to run as a cron job)
B. Set the script to wait for an input (IE. script.php runthis) and then run it with individual names with a cron job for each..
Problem is, I dont know how to accomplish either. I am using a linux box with a BASH shell, PHP and MySQL along with other options if necessary..
Thanks,
Mike