Re: [PHP3] .htaccess
| From: | Teodor Cimpoesu | Date: | Mon, 09 Aug 1999 14:25:55 +0000 |
| Subject: | Re: [PHP3] .htaccess | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-3231@lists.php.net to get a copy of this message | ||
ryan@bucketmouth.northpro.net 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@digiro.net,+(401)-330.47.28
official home page ~ http://www.digiro.net/
Internet web page ~ http://internet.digiro.net/