$_Server this domain predefined variable?
Moderator: General Moderators
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
$_Server this domain predefined variable?
Is there a $_Server predefined variable that when echoed on a domain such as 'ilikeapplesalot.com' will echo out 'ilikeapplesalot.com'?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Something that might help you see what is in the $_SERVER superglobal for your machine you are working on is:
Code: Select all
<?php
echo '<pre>', print_r($_SERVER, true), '</pre>';
?>