note 32951 modified in function.exec by pollita

From: Date: Wed, 11 Jun 2003 21:41:43 +0000
Subject: note 32951 modified in function.exec by pollita
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50207@lists.php.net to get a copy of this message
[ Editor's note: When passing multiple args in a URL like this, be sure to enclose the URL in quotes otherwise the & will be interpreted as a detachment flag and the rest of the command will be truncated. ] The lynx browser can be used as simple way of executing a script from a remote location without waiting for it to complete: $command = "/usr/bin/lynx -dump https://www.anotherserver.com?var=blah >/dev/null &"; exec($command); --was-- The lynx browser can be used as simple way of executing a script from a remote location without waiting for it to complete: $command = "/usr/bin/lynx -dump https://www.anotherserver.com?var=blah >/dev/null &"; exec($command); http://www.php.net/manual/en/function.exec.php

« previous php.notes (#50207) next »