AtomicRax Posted October 6, 2010 Share Posted October 6, 2010 I have a file called myfile.html and it includes the following line: <!--#include virtual="/output.php" --> The SSI statement works great, but I want more... I would like to be able to link to myfile.html?var=val and use the var string in the php file. However $_GET[var] equals nothing when I try this Is this not possible? Link to comment https://forums.phpfreaks.com/topic/215267-_get-variables-with-ssi/ Share on other sites More sharing options...
AtomicRax Posted October 6, 2010 Author Share Posted October 6, 2010 For reference, I believe I've got it. <!--#include virtual="/output.php?${QUERY_STRING}" --> Link to comment https://forums.phpfreaks.com/topic/215267-_get-variables-with-ssi/#findComment-1119498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.