[snip] I need to know how to run a php script without it popping open a browser window. $cmd = 'start http://www.somedomain.com/somedir/somefile.php &' exec( $cmd ); I have tried using exec & system with '&' at the end of the command but that does not seem to work. It always opens a browser window even though the script has no echo/print statements in it. [/snip]
Normally when executing a file from the command line that you don't want any return you apply the -q attribute $>php -q myScript.php so, probably exec("/full/path/to/php -q doSomething.php"); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php