Jump to content

Changing browser status bar contents in php.


battlebot

Recommended Posts

Hi guys. When people mouse over links on our site the browser status bar shows the ip address instead of the domain name. How can i fix this in php or can the code be altered to not show anything?

 

IIS 5, Mysql, Php Latest version, phpbb 3.02

 

Here's the link so you can see  http://www.ghostadventures.net

 

Thanks for the help

 

 

 

Link to comment
Share on other sites

the way you have everything setup is:

 

-you have ghostadventures.net, which points to a webserver running at 64.202.189.170

-64.202.189.170 has a webserver, where the index page is a small file, with an iframe

-that iframe points to the real site at 68.47.40.219 (which i assume is a computer at your home)

 

you need to configure your domain name to point directly to 68.47.40.219 or just move the entire site to 64.202.189.170

Link to comment
Share on other sites

The server is in a server room shared by 4 other servers in an office each with it's own ip address. The domain name is forwarded to the ip address of the forum server by the DNS hosting company. The forwarded ip address is masked. The server is behind a router.

 

Contacted them they said the problem was in the coding on the server end. Which i assumed must be a php problem. Guess not.

Link to comment
Share on other sites

the way you have everything setup is:

 

-you have ghostadventures.net, which points to a webserver running at 64.202.189.170

-64.202.189.170 has a webserver, where the index page is a small file, with an iframe

-that iframe points to the real site at 68.47.40.219 (which i assume is a computer at your home)

 

you need to configure your domain name to point directly to 68.47.40.219 or just move the entire site to 64.202.189.170

 

This sounds right to me.  Ask whoever hosts ghostadventures.net to add an A record in their DNS pointing to 68.47.40.219.  phpBB uses relative locations, not absolute, so if it starts with an IP it'll stay with an IP.  Get your DNS straight and you'll be fine.

Link to comment
Share on other sites

where is the file with the iframe located? the source of http://www.ghostadventures.net/ is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
   "http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
  <title>Ghost Adventures </title>
  <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums">
</head>
<frameset rows="100%,*" border="0">
  <frame src="http://68.47.40.219" frameborder="0" />
  <frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 05 -->
<!-- 7.9-->
</html>

Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

  "http://www.w3.org/TR/html4/strict.dtd">

<html>

 

<head>

  <title>Ghost Adventures </title>

  <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums">

</head>

<frameset rows="100%,*" border="0">

  <frame src="http://68.47.40.219" frameborder="0" />

  <frame frameborder="0" noresize />

</frameset>

 

<!-- pageok -->

<!-- 05 -->

<!-- 7.9-->

</html>

 

 

I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere.

 

 

Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

   "http://www.w3.org/TR/html4/strict.dtd">

<html>

 

<head>

  <title>Ghost Adventures </title>

  <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums">

</head>

<frameset rows="100%,*" border="0">

  <frame src="http://68.47.40.219" frameborder="0" />

  <frame frameborder="0" noresize />

</frameset>

 

<!-- pageok -->

<!-- 05 -->

<!-- 7.9-->

</html>

 

 

I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere.

 

 

 

This is a common problem when you just switched to a new domain or just installed the domain, due to the DNS records.

 

Did that happen?

Link to comment
Share on other sites

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"

  "http://www.w3.org/TR/html4/strict.dtd">

<html>

 

<head>

  <title>Ghost Adventures </title>

  <META name="description" content="Global Paranormal Network"><META name="keywords" content="Ghost Paranormal Forums">

</head>

<frameset rows="100%,*" border="0">

  <frame src="http://68.47.40.219" frameborder="0" />

  <frame frameborder="0" noresize />

</frameset>

 

<!-- pageok -->

<!-- 05 -->

<!-- 7.9-->

</html>

 

 

I think the system must be generating this when the site is visited because none of us can find it in any html files and none of us remember putting this code anywhere.

 

 

 

This is a common problem when you just switched to a new domain or just installed the domain, due to the DNS records.

 

Did that happen?

 

 

Ok guys we figured out what's happening. The META name key words and content are coming from the domain hosting company because one of our other administrators put those keywords in the DNS manager header option with the DNS hosting comany. It's a DNS problem somewhere. Their DNS servers are sending the address for some reason.

 

 

Thanks for all the help

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.