ID: 11754
Updated by: sniper
Old-Status: Open
Status: Feedback
Bug Type: Apache related
Operating system: 
PHP Version: 4.0.6
Assigned To: 

So which exec() in your script doesn't work?
Please make it short as possible.

Previous Comments:

[2001-06-27 15:02:28] [EMAIL PROTECTED]
- Standard Win32 PHP install
- Apache 1.3.20, Win32
- PHP running as a module
- Unix Tools running on Win32 platform



if ($query != "" || $query != NULL) {
        $do_time = time();
        $test = $do_time.".txt";
        exec("egrep -i $query c:/Apache/logs/access.log > 
        @$data=fopen("c:/Apache/htdocs/output/$test", "r");
        if (!@$data=fopen("c:/Apache/htdocs/output/$test", "r")) {

                echo("<font class="larger">There May Have Been An Error With Your 
Query As No Output File Was Generated.<br>");
                echo("Please Check The Syntax Of Your Query.</font>");
        } else {
} else {
        echo("<font class="larger">There Was No Query To Analyze.<br>");
        echo("Please Re-Enter Your Query.</font>");

exec("c:/Apache/htdocs/del.bat c:Apachehtdocsoutput$test");



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
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