running php-cgi.exe in the backgroud

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dannymc1983
Forum Commoner
Posts: 80
Joined: Wed Feb 16, 2005 7:24 am

running php-cgi.exe in the backgroud

Post by dannymc1983 »

im running a script in a cron program but i dont want the command window to show while the script is running. i have tried using php-win.exe to run the scripts. this doesnt show the command prompt but some reason the include paths in my script arent recognised. php.exe doesnt recognise them either. if i use php-cgi.exe the include paths are recognised but the console window will show evrey time the script runs. (the script will be running every 2 mins so obviously i dont want this to happen!). does anyone know how to use php-cgi.exe so that it runs in the background i.e. it doesnt show a dos command window?
dannymc1983
Forum Commoner
Posts: 80
Joined: Wed Feb 16, 2005 7:24 am

Post by dannymc1983 »

can anyone suggest anything for this??? need help badly!
Post Reply