Re: Tough One

From: Date: Thu, 29 Mar 2001 09:43:12 +0000
Subject: Re: Tough One
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-46101@lists.php.net to get a copy of this message
This is the only viable solutions because most system admin will banned all system calls coming from the web. As it should be, I think. py At 08:34 AM 3/29/01 -0600, you wrote:
I good solution for this kind of stuff is to just build a queue, either file or database. WHen you need to do a system type function you add that command to the queue, then have a cron job that runs (which can more safely run as a provolidged user), verifies that the function is ok and processes the job. If you have PHP compiled in CGI mode you can write the script in PHP otherwise you can do it in perl or bash or whatever. On Thursday 29 March 2001 08:22, KPortsmout@aol.com wrote: Hi, Ok I have a real tough one here (well to me it is :-) If I telnet into my server I can add a user by running the following command... /usr/sbin/cadduser -d www.domain.com -f users full name -u username -p password -w emailaddress for forwarding Which is great, but as I`m offering free email forwarding I could potentially get a lot of users, and that would be a lot of maintenance time. So I need to somehow incorporate the above into my signup scripts. Is this even possible?? TIA Ade -- Chris Moewes-Bystrom cmoewes@moewes.com http://moewes.com http://linuxnovice.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
+ ====================== + Pierre-Yves Lem@ire + E-MedHosting.com + (514) 729-8100 + pylem@sympatico.ca + ======================

« previous php.general (#46101) next »