View Single Post
Old 07-19-2005, 02:30 PM   #9 (permalink)
unknowngiver
Platinum Lifetime Member
 
Last Online: 04-18-2008 06:49 PM
iTrader: (11)
Join Date: Jun 2005
Posts: 524
DNF$: 2,486


Re: Real Easy PHP/Java Query

can u explain the code pleasE?
i m a newbie {learning php} and would like to know wt this code means

Quote:
<?
$lookFor="www.house.com/forum";
$url = $HTTP_SERVER_VARS["HTTP_HOST"] . $HTTP_SERVER_VARS["REQUEST_URI"];
if (eregi($lookFor, $url)) { ?>
Display AD2
<? } else { ?>
Display AD1
<? } ?>
__________________
Bookmark!
unknowngiver is offline   Reply With Quote