PHP script in C SHELL

From: Date: Wed, 25 Jun 2003 13:18:14 +0000
Subject: PHP script in C SHELL
Groups: php.general 
Request: Send a blank email to php-general+get-152762@lists.php.net to get a copy of this message
I need to execute the archive php below in the server Apache, but I perceived that I obtain the waited result if I use csh (C shell) and not using bash, somebody could say me as to execute this script in csh? $pipe = "$username\n$password\n"; $pwauth = "/usr/local/apache/bin/pwauth"; if($cmd = popen ($pwauth, "w")) { fwrite($cmd, $pipe); $status=(pclose($cmd)>>8)&0xFF; } Thank's Marcos marcos@westnet.com.br --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.491 / Virus Database: 290 - Release Date: 18/06/03

« previous php.general (#152762) next »