![]() |
Getting host name in VB script
Hi,
I'm thinking that the php $_SERVER['HOST_NAME'] will not work in vb script. Is there a vb tag for getting this info? Thanks, Phil |
Why don't you try it and find out first? ;)
|
I did try it and while I didn't get an error, I didn't get any value either. :)
Now, this could be caused by my 'intermediate novice' php skills... but I see in the docs that other globals like $_GET and $_REQUEST are not permitted. So, not finding an definitive answer anywhere, I'm asking here. Just trying to avoid a lot of debugging if, in fact, my syntax is wrong. |
...
Edit: After checking the PHP manual I see no predefined variable called $_SERVER['HOST_NAME']. Maybe you have confused it with something? |
Yes, it works. I had it in the wrong place. :eek:
Thanks for your help! |
All times are GMT. The time now is 05:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|