PHP Upgrade Problem
| From: | Shaun | Date: | Thu, 24 Jul 2003 19:22:41 +0000 |
| Subject: | PHP Upgrade Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-156719@lists.php.net to get a copy of this message | ||
Hi,
The following code snippet is supposed to return the current page i am on
and append some variables.
$s = getenv('SCRIPT_NAME');
$link = "$s?month=$month&year=$year&goto_date=yes";
However, since upgrading to PHP version 4.3.2 it returns the following URL:
execscriptdir/php.cgi?day=19&month=07&year=2003&goto_date=yes
when it should be
bookings.php?day=19&month=07&year=2003&goto_date=yes
can anyone help please?
Thanks