You are here: How to get full URL in Frame « HTML « IT news, forums, messages
How to get full URL in Frame

Posted by GTS on 08/03/07 15:20

My client has an odd setup where his web site is hosted on an external
server but to enable access to it using his servers domain name/url a frame
is used pointing to the IP address of the external server. This works fine
for the top level (first link) with the HTML code below. However, a sub
page cannot be accessed directly this way. I'm looking for a way to get the
full URL passed to the frame and putting it into a variable that I can then
use with the src. This is on a Linux server running Apache.
I'd appreciate any ideas on this.

http://mywebsite.com/
http://mywebsite.com/susiepage

<HTML>
<FRAMESET rows="0,*" Border=0 frameborder="0">
<!--Below is where you enter the address you want showing in your visitors
browser address bar-->
<FRAME src="wh0 dat" SCROLLING=NO>
<!--Below is where you enter the address you want showing in the browser
window-->
<FRAME SRC="http://99.99.999.99" SCROLLING=auto><noframe>
<body><p>This page uses frames, but your browser doesn't support them.</p>

<meta
http-equiv="refresh" content="0; URL=http://99.99.999.99">
</HTML>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация