Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NewBie Simple Question.

Status
Not open for further replies.

zick79

Technical User
May 19, 2003
40
CA
<?
/* source code */
print $HTTP_HOST;
?>


This is what I am getting after runing this php file in browser:

Notice: Undefined variable: HTTP_HOST in C:\Inetpub\ftproot\jurek\ on line

I tried print , echo but still the same result. What I am doing wrong, this is vary simple code? Please help

Thanks
 
PS. I use PHP ver. PHP Version 4.3.1 and IIS 5 and wind 2000 serv
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top