 |
Results from the most recent live auction are here.
8 members in the live chat room. Join Chat!
| |
06-16-2003, 06:08 PM
|
· #1 | | Name Pro Location: Boston Join Date: Apr 2003
Posts: 818
NP$: 155.05 ( Donate)
| 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. |
| |
06-16-2003, 06:12 PM
|
· #2 | | NamePros Member Location: Jacksonville, FL Join Date: May 2003
Posts: 180
NP$: 553.00 ( Donate)
| <?php echo $_SERVER['HTTP_HOST']; ?>
embed that in any html you like... |
| |
06-16-2003, 06:37 PM
|
· #3 | | Name Pro Location: Boston Join Date: Apr 2003
Posts: 818
NP$: 155.05 ( Donate)
| 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>"
?> |
| |
06-16-2003, 06:42 PM
|
· #4 | | NamePros Member Location: Jacksonville, FL Join Date: May 2003
Posts: 180
NP$: 553.00 ( Donate)
| 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> |
| |
06-16-2003, 06:48 PM
|
· #5 | | Name Pro Location: Boston Join Date: Apr 2003
Posts: 818
NP$: 155.05 ( Donate)
| 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 |
| |
06-16-2003, 06:50 PM
|
· #6 | | NamePros Member Location: Jacksonville, FL Join Date: May 2003
Posts: 180
NP$: 553.00 ( Donate)
| 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.... |
| |
06-16-2003, 09:37 PM
|
· #7 | Name: Retired© Location: NH Join Date: May 2003
Posts: 28,000
NP$: 1641.00 ( Donate)
| Nice job, Matt! 
__________________ Be cool. Be polite. Be professional.™ Tick. Tock. | "dot Mobey" R.I.P.  |
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |