php4 in cgi mode
| From: | octave klaba | Date: | Mon, 16 Oct 2000 15:16:50 +0000 |
| Subject: | php4 in cgi mode | ||
| Groups: | php.migration | ||
| Request: | Send a blank email to php-migration+get-76@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with a easy script in cgi mode:
Any idea ?
Octave
#!/usr/local/bin/php
<?
header ("Location: http://www.php.net/");
?>
4.0.3 does not work 3.0.16 it works
# ./red.cgi # ./red.cgi
X-Powered-By: PHP/4.0.3 ------------> Location: http://www.php.net/
Location: http://www.php.net/ -----------> X-Powered-By:
PHP/3.0.16
Content-type: text/html Content-type: text/html
--
Amicalement,
oCtAvE
"Peu importe ce qu'il y a de l'autre côté.
Tout ce qu'on laisse ici n'est qu'une histoire
dont on se souviendra ou pas."