kksou wrote:
That's kind of way overkill to launch a url/email address on windows
xp... and you have to use a non open-source extra application which
several antivirus programs flag...
The trick to launching an external url/email/even generic file on
windows is to use the start command (useful for launching files with the
registered program so you're not one of those annoying people who open
IE when I use firefox)
The trick to get around the flashing dos window is to use com and
WScript.Shell
$shell = new COM('WScript.Shell');
$shell->Run('cmd /c start "" "' . $url . '"', 0, FALSE);
unset($shell);
I've also found this is about three times as fast as exec or popen on XP
--
PHP-GTK General Mailing List (
http://gtk.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php