RE: [PHP] Migrating from SSI and Perl

From: Date: Tue, 30 Dec 2003 15:33:38 +0000
Subject: RE: [PHP] Migrating from SSI and Perl
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173485@lists.php.net to get a copy of this message
Have I got this right? I am doing <?php $BRPHP = $_SERVER['HTTP_USER_AGENT']; $arr = array (1 => "$BRPHP" ); exec (' ../cgi-bin/browser.pl', $arr ); echo $arr[2]; echo $arr[3]; echo $arr[4]; echo $arr[5]; echo $arr[6]; ?> 1. Am I passing $arr[1] to the perl script? 2. If no, what should I do instead? 3. If yes, how can I access it from the perl script? (Yes, I know the last question is a perl question, so I'll be happy to just get an answer to the first two). Thanks, Philip Pawley

« previous php.general (#173485) next »