Date: 02/08/00
- Next message: Abhishek Rungta: "[PHP-DEV] php and fp98 compatibility problem"
- Previous message: padilha <email protected>: "[PHP-DEV] Bug #3429: Warning: Unable to open database..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: petr.husak <email protected>
Operating system: hpux 10.20
PHP version: 4.0 Beta 3
PHP Bug Type: Scripting Engine problem
Bug description: skript passes its source code to variable
Skript below has this result:
printer lanmt18 now printing lanmt18-9274. enabled since Nov 11 10:41 fence priority : 0
0 :sthru("lpstat
-planmt18"); $view
=
explode("
",$result); for($i=0;
$i $i++){
echo
"$view[$i]"
.
"
\n"; }
?>
************************************************************
And this is the skript:
<?php
$result = passthru("lpstat -planmt18");
$view = explode(" ",$result);
for($i=0; $i<sizeof($view); $i++){
echo "$view[$i]" . "<br>\n";
}
?>
-- 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>
- Next message: Abhishek Rungta: "[PHP-DEV] php and fp98 compatibility problem"
- Previous message: padilha <email protected>: "[PHP-DEV] Bug #3429: Warning: Unable to open database..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

