SSI and query string variables to PHP

From: Date: Sun, 25 Apr 2004 05:27:42 +0000
Subject: SSI and query string variables to PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-184546@lists.php.net to get a copy of this message
Hi all, ok, this may be a dumb question, but I have a page that has server side includes that include a php script like this : <!--#include virtual="schedule.php" --> works fine, except the script doesn't appear to receive any of the query string information if that page has a query string on it... an example would be something like this : http://www.domain.com/index.shtml?myvariable=1 the php script should get $_REQUEST['myvariable']==1, but instead does not get any of the query information. The $_SERVER global gets the unescaped query string, but has no value for just the query string... any way around this without making the whole page a php script ? Thanks, Tim

« previous php.general (#184546) next »