Re: [PHP] Execute command from web browser

[email protected] (Casey)
Newsgroups php.general
Message-ID <[email protected]>
On 5/3/08, [email protected] <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.