Re[6]: [PHP-WIN] get shell command output
| From: | Pablo Vera | Date: | Fri, 06 Oct 2000 23:53:47 +0000 |
| Subject: | Re[6]: [PHP-WIN] get shell command output | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3037@lists.php.net to get a copy of this message | ||
I have succesfully tested the code below using:
Apache 1.3.12
PHP 4.0.2 (php4win.de) as CGI and Module
under Windows 98 on a Pentium II 400 with 128 MB. It did not crashed.
Maybe there is something wrong with a configuration file on the
computers that it is crashing, but I cannot guess which one.
Pablo.
VL>> FWIW, the following code crashes apache 1.3.12 under NT4sp5 with php4.0.2
VL>> via php4win.de running as a module.
> } <?php
> }
> } $d =
dir;
> } $t = htmlentities($d); // Converts special chars to html tags.
> }
> } echo "<PRE>$t</PRE>";
> }
> } ?>
VL>> /vjl/ [who's dr. watson log has gotten bigger after using php as a module
VL>> :( ]