Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2011-09-26, 06:14 AM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
SSI

Help. I am using the following two commands on SSI:
Quote:
<!--#echo var="$ENV{'SERVER_NAME'}" -->
<!--#echo var="$ENV{'HTTP_HOST'}" -->
The result I am expecting is along the lines of:
But what I am actually getting is:
Quote:
(none)
I have checked using Perl, both variables exist, but how do I get the results using SSI?

Thanks.
ecchi is offline   Reply With Quote
Old 2011-09-26, 06:44 PM   #2
dunc
You can now put whatever you want in this space :)
 
dunc's Avatar
 
Join Date: Feb 2007
Location: Australia
Posts: 658
I haven't looked at SSI for ages - but found this page which used this...
Code:
<!--#echo var="SERVER_NAME" -->
__________________
Good, Cheap Wordpress Themes
dunc is offline   Reply With Quote
Old 2011-09-27, 01:25 AM   #3
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by dunc View Post
I haven't looked at SSI for ages - but found this page which used this...
Code:
<!--#echo var="SERVER_NAME" -->
Thanks, that works.
ecchi is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:58 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc