[advanced search]
Results from the most recent live auction are here.
8 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter
Go Back   NamePros.Com > Design and Development > Website Development
User Name
Password

Old 06-16-2003, 06:08 PM   · #1
doubledee999
Name Pro
 
Location: Boston
Trader Rating: (6)
Join Date: Apr 2003
Posts: 818
NP$: 155.05 (Donate)
doubledee999 is on a distinguished road
Need help with php code?

HI,

I need some assistance I have a search page that some of my domains are parked on. The domain shows up in the browser window correctly, and I was wondering if there is a way for me to make a header that would include the domain? i hope this makes sense.

I will send some NP bux for the best answer.


Please register or log-in into NamePros to hide ads
doubledee999 is offline   Reply With Quote
Old 06-16-2003, 06:12 PM   · #2
Matt Wade
NamePros Member
 
Matt Wade's Avatar
 
Location: Jacksonville, FL
Trader Rating: (0)
Join Date: May 2003
Posts: 180
NP$: 553.00 (Donate)
Matt Wade is an unknown quantity at this point
<?php echo $_SERVER['HTTP_HOST']; ?>

embed that in any html you like...
__________________
Matt Wade
Codewalkers.com - PHP Help
Matt Wade is offline   Reply With Quote
Old 06-16-2003, 06:37 PM   · #3
doubledee999
Name Pro
 
Location: Boston
Trader Rating: (6)
Join Date: Apr 2003
Posts: 818
NP$: 155.05 (Donate)
doubledee999 is on a distinguished road
Matt,
thanks for the help I think I am missing some more pieces though.


Ok,
this is my current headerfile headerfile.php, I know I am missing some integral parts to get the domain to show up on the front page.

<?



print "


Any help would be appreciated.
<html>
<head>
<title></title>
</head>
<?php echo $_SERVER['HTTP_HOST'];

<body bgcolor=#FFFFFF text=#000000>
<center>
<table width=580 border=0 cellpadding=0 cellspacing=0>
<tr>
<td>"

?>
doubledee999 is offline   Reply With Quote
Old 06-16-2003, 06:42 PM   · #4
Matt Wade
NamePros Member
 
Matt Wade's Avatar
 
Location: Jacksonville, FL
Trader Rating: (0)
Join Date: May 2003
Posts: 180
NP$: 553.00 (Donate)
Matt Wade is an unknown quantity at this point
Place exactly this in your header and the domain will show on the page and in the title:
Code:
<html> <head> <title><?php echo $_SERVER['HTTP_HOST']; ?></title> </head> <body bgcolor=#FFFFFF text=#000000> <h1><?php echo $_SERVER['HTTP_HOST']; ?></h1> <center> <table width=580 border=0 cellpadding=0 cellspacing=0> <tr> <td>
__________________
Matt Wade
Codewalkers.com - PHP Help
Matt Wade is offline   Reply With Quote
Old 06-16-2003, 06:48 PM   · #5
doubledee999
Name Pro
 
Location: Boston
Trader Rating: (6)
Join Date: Apr 2003
Posts: 818
NP$: 155.05 (Donate)
doubledee999 is on a distinguished road
Matt,
thanks alot, I can now just adjust font etc within that code correct?

I have sent a pm to you, I appreciate your help
doubledee999 is offline   Reply With Quote
Old 06-16-2003, 06:50 PM   · #6
Matt Wade
NamePros Member
 
Matt Wade's Avatar
 
Location: Jacksonville, FL
Trader Rating: (0)
Join Date: May 2003
Posts: 180
NP$: 553.00 (Donate)
Matt Wade is an unknown quantity at this point
Yes..you can change the <h1> and </h1> to <h2> and </h2> for a smaller font...or keep raising the number for a smaller and smaller font....
__________________
Matt Wade
Codewalkers.com - PHP Help
Matt Wade is offline   Reply With Quote
Old 06-16-2003, 09:37 PM   · #7
Jeff
 
Name: Retired©
Location: NH
Trader Rating: (161)
Join Date: May 2003
Posts: 28,000
NP$: 1641.00 (Donate)
Jeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond reputeJeff has a reputation beyond repute
NamePros Hall of Fame
Nice job, Matt!
__________________
Be cool. Be polite. Be professional.™

Get the FAQ's: Highly brandable .TEL
Tick. Tock. | "dot Mobey" R.I.P.
Jeff is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Website Header Design EscrowDNS RealTechNetwork
Advertise your business at NamePros
All times are GMT -7. The time now is 07:10 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0