Re: Execute command from web browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/3/08, opc@xxxxxxxxxxx <opc@xxxxxxxxxxx> wrote:
>
>  Hi all
>
>
>  I try write a code to execute service in my server from web browser
>
>  I write next
>
>  /var/www/html/squidup.html
Should it be... squidup.php?
>  <?
>  exec ('/usr/bin/squid/sbin/squid')
>  echo "Squid UP"
>  ?>
>
>  but, don't work from web browser.
>
>  What is wrong
>
>  Thanks,
>
>
>  --
>  PHP General Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
-Casey

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux