I have switched my OS from Mandrake 10.0CE to Ubuntu 5.10 (Breezy) and now cannot get even a simple php script to run even with exec()..
<?php
`sudo /sbin/halt`;
?>
Trying to execute the script from Opera,(I need for kiosk), I get the following:
Code:
Warning...
Hi all. Newbie here to PHP (V4.3.3).
I run a Bash script to check if CD has been inserted into drive:
$restoreit = system(`/var/www/html/cd2db1`, $retval);
echo "&result=$restoreit";
break;
and read the "echo" result in Flash.
I can see/read "&result=" but nothing else, ($restoreit always a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.