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
To get this done I would use an Expect script, driven through CGI.
Mike
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 9:22 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Tough One
Hi,
Ok I have a real tough one here (well to me
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
In a message dated 29/03/2001 15:27:27 GMT Daylight Time, [EMAIL PROTECTED]
writes:
To get this done I would use an Expect script, driven through CGI.
Mike
Problem is I don`t program in CGI so have no idea what you mean :-)
Ade
--
PHP General Mailing List (http://www.php.net/)
To
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
-
From: Shawn Esplin [mailto:[EMAIL PROTECTED]]
Sent: 21 February 2001 20:17
To: 'Mike'; [EMAIL PROTECTED]
Subject: RE: [PHP] Tough one?
I'm not sure this is the best way to do it, but you could try:
$keys = array_keys($HTTP_POST_VARS);
for($x = 2; $x (count($keys) - 1); $x++)
{
On Wed, Feb 21, 2001 at 01:34:10PM -0500, Mike wrote:
$keys = array_keys($HTTP_POST_VARS);
for($x = 2; $x count($keys); $x++)
{
$updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',";
}
$updateString = ereg_replace(",$", "", $updateString);
That should take care of the
7 matches
Mail list logo