Please help. I need to get this problem resolved ...
When I ran remote shell to a Sun Solaris 8 box from W2K box, the DOS'
CMD window popped up and stayed there until CGI timeout. The funny
thing was that it did run the Unix script and turned out the right
result. Just the CMD window ... I had to kill the window by clicking
on 'x'. After that it displayed CGI timeout error. What was going
on?
Thanks,
Tom
Environment - IIS 5, PHP 4.3.9, Windows 2000, Solaris 8.
PHP script on Windows 2K:
<? php
/* Call a script on a remote unix box to display the name */
system <"rsh remoteunix -l thisuser \"/mybin/test.sh $firstName
$lastName\"">;
?>
Shell script on Unix box:
#!/bin/sh
firstName=$1
lastName=$2
echo Your name is: $firstName $lastName
exit 0
When I ran remote shell to a Sun Solaris 8 box from W2K box, the DOS'
CMD window popped up and stayed there until CGI timeout. The funny
thing was that it did run the Unix script and turned out the right
result. Just the CMD window ... I had to kill the window by clicking
on 'x'. After that it displayed CGI timeout error. What was going
on?
Thanks,
Tom
Environment - IIS 5, PHP 4.3.9, Windows 2000, Solaris 8.
PHP script on Windows 2K:
<? php
/* Call a script on a remote unix box to display the name */
system <"rsh remoteunix -l thisuser \"/mybin/test.sh $firstName
$lastName\"">;
?>
Shell script on Unix box:
#!/bin/sh
firstName=$1
lastName=$2
echo Your name is: $firstName $lastName
exit 0
Comment