I copied the Program Ping.exe to the same directory as my script and the
User the IUSR_[Machine name] hast the permissions.

<?php
    echo"<pre>";
    $dd=system("ping  ping 127.0.0.1");
    echo "$dd ;;this is a system-test";
    echo "<hr>";
?>
 The result is the same.......... no result:
        ;;this is a system-test


"Olivier Hubert" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 18:03 2001-04-11 +0200, Helmut Himmelstoss wrote:
> >it did'nt works. I get no result. I work in CGI Mode under WinNT and IIS5
>
> Did you check the permissions for ping.exe? Does the IUSR_[Machine name]
or
> whatever user executes PHP.exe have the rights to read/execute ping.exe?
> Very often, anonymous users will NOT be granted rights to the
> %SYSTEMROOT%\winnt directory, to prevent security leaks and DoS attacks.
>
> Olivier
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to