file = $file_path $file_name
file = replace_in_string(file, "/path_to_your_server_root/htdocs/", "")
in_browser="mozilla -remote 'openURL(localhost/" file " ,new-window)'" " >& /dev/null &"
shell_command(in_browser ,"")
It implies you run Apache/php locally, obviously and you may need to adjust the server root path and/or mozilla location if not standard.
Regards, Andu Novac
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php