|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I am trying to use PHP to determine what web server I am on.
I have a web page on my machine using IIS and upload it to the site as well. The Page uses some Graphics that are only on the Web. I'd like to have my page determine that it is using "localhost" vs. "http://www.domainname.com" . How do I get the Server Name (or what I need) and determine it to be my IIS or the Web? Remember, I'm new to PHP. Thanx, Lou |
|
#2
|
|||
|
|||
|
Quote:
You can use the server var(s) to determine that-> PHP Code:
__________________
~ Joe Penn We work for free to help make this a valuable resource on the internet. Do you appreciate the help - did we provide help that will help you prosper and help that has contributed to sharpening your current skill set? Show your appreciation and purchase something from our Amazon Wishlist's - it's simple and a great way to say thank you. |
|
#3
|
|||
|
|||
|
Thanx for the Code.
Is there a referance site that I can get more information about Server Var's? And Other Topics? Tutorials? If you can, Please Let me know.... Thanx, Lou |
|
#4
|
|||
|
|||
|
__________________
-- Jason |
|
#5
|
|||
|
|||
|
Quote:
heres a small program that can tell you what you need to know. it's called id serve to download it go here http://grc.com/files/IDServe.exe and to get a brief description of this software http://grc.com/id/idserve.htm hope this helps ![]()
__________________
Apache Expert |
|
#6
|
|||
|
|||
|
Re: Thanx - More Information?
Quote:
http://www.php.net/manual/tw/langua...es.superglobals
__________________
__________________________________________________ _ Wil Moore III, MCP | Integrations Specialist | Senior Consultant Are You Listed...? | DigitallySmooth Inc. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > New PHP Coder Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|