Passing SSI variables between pages
Hi,
I am experienced with using PHP to create dynamic pages and in the past have created one menu page that includes files below the menu. When I want to go to a different page, I usually have a link to the same page with a query string that specifies the file to include, then get that variable from the query string to include it. I am now working with server side includes to create dynamic pages since this is all my host provides (that anc CGI support). I know how to set variables when a page is loaded, but what I want to know is how to something like I described above. Any help would be appreciated and if you need more details, please let me know. Thanks in advance. |
You can pass them using:
path/to/url.php?a=<!--#echo var="SERVER_NAME" --> Will be path/to/url.php?a=yourserver.com |
I'm not sure what that means; I don't have PHP support.
What I want to pass is the path to the files I want to include relative to the main file. |
All times are GMT -5. The time now is 11:35 AM. |