[PHP-DEV] PHP 4.0 Bug #4018: exec From: urbanek <email protected>
Date: 04/03/00

From: urbanek <email protected>
Operating system: Win98
PHP version: 4.0 Release Candidate 1
PHP Bug Type: Scripting Engine problem
Bug description: exec

I have problem. I don't know, what can i do.

Win98 + Apache 1.3.9 + PHP 4.0 RC1

<?
echo "OK. Script run OK.
echo "OK. Script run OK.
echo "OK. Script run OK.

exec("C:\\gswin32.exe -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=C:\\file.pdf C:\\file.ps");

// ghostscript makes file and is correctly closed

echo "This next rows are ignored but this script runs next and in memory continue one PHP process and WWW-Page wait to response";
echo "This next rows are ignored but this script runs next and in memory continue one PHP process and WWW-Page wait to response";
echo "This next rows are ignored but this script runs next and in memory continue one PHP process and WWW-Page wait to response";
?>

can be to
exec("anything.exe")

the same thing.

Thank's Karel

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>