Okay, I thought the hack of doing this (scan.sh) might work, but running
some timing tests, it's apparent that it's not...
The more IP addresses I schedule to scan, the longer it takes to return my
browser page.
#!/bin/sh
/bin/scan
And while if I run it on the command line in bash, it works
I tried this exec() suggestion and that didn't work right either.
exec(/bin/scan /dev/null 2/dev/null);
try :
exec(/bin/scan /dev/null 21 );
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Try
exec(/bin/scan /dev/null 2/dev/null);
Daevid Vincent wrote:
How can I cause PHP to fire off a unix program and NOT wait for a reply.
Basically I want to use the love the unix provides, but it seems that
exec, passthrough, system and even ` ` all wait for a return despite my
putting
How can I cause PHP to fire off a unix program and NOT wait for a reply.
Basically I want to use the love the unix provides, but it seems that
exec, passthrough, system and even ` ` all wait for a return despite my
putting something like exec(/bin/scan ); or `/bin/scan `
*sigh*
The sitch is
4 matches
Mail list logo