RE: [PHP] web-based telnet-quota system?

From: Date: Wed, 22 Nov 2000 16:41:42 +0000
Subject: RE: [PHP] web-based telnet-quota system?
Groups: php.general 
Request: Send a blank email to php-general+get-26662@lists.php.net to get a copy of this message
He could make a simple socket connection function that goes into the correct port, logs in, executes the command, exits and returns true or false. Socket connections are no different from using a telnet client really providing the scripts themselves are secure enough to prevent malicious editing or the theft of the l/p. M > ---------- > From: Krznaric Michael[SMTP:mkrznaric@rand.com] > Sent: 22 November 2000 16:19 > To: 'Casen Yap'; php-general@lists.php.net > Subject: RE: [PHP] web-based telnet-quota system? > > I would advise against using PHP for interactive commands such as telnet. > Did you consider expect? > > Mike > > -----Original Message----- > From: Casen Yap [mailto:casenyap@cyberway.com.sg] > Sent: Wednesday, November 22, 2000 11:23 AM > To: php-general@lists.php.net > Subject: [PHP] web-based telnet-quota system? > > > hi, we have a netapp filer that stores all our user home directory. > there's > a text-based config file that controls the uesr quotas. > > currently, to changed user quota, we need to edit the quota file, telnet > to > netapp, execute a "quota off" and then "quota on" command to effect the > change. > > i'm thinking of using PHP to write a web-based program to automate this > process. > > pls kindly advise how should i go about doing it. > > thanks. > > > -- > 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 > > -- > 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 >

« previous php.general (#26662) next »