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





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

Reply via email to