Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] .htaccess From: Teodor Cimpoesu (teo <email protected>)
Date: 08/09/99

ryan <email protected> wrote:
>
> I know these may not be the right mailing lists to send to, but I was
> wondering if someone could help me with this problem.
>
> I'm making a virtual control panel for a virtual server and I need to
> operate some commands as root. Is there a way I could do this in PHP if
> PHP is set up as a module in Apache? It would be nice to use .htaccess
> for authentication and somehow grab that information so that PHP realizes
> which user is editing their profile and create a session ID. How could I
> encorporate this into PHP? Thanks for any help or suggestions in advance.
>
> Ryan Thompson
You can execute commands as root only if they are suid-ed to root.

-- 
CIMPOESU Teodor, Web Programmer

@ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo <email protected>,+(401)-330.47.28

official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>