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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to