?
Solved

frame

Posted on 2004-10-21
2
Medium Priority
?
278 Views
Last Modified: 2006-11-17
hi

I have a domain name www.somesite.com 

what i want to do is when someone goes to that url it frames a site called www.msn.co.uk but i dont want to show www.msn.co.uk in the address bar i only want the www.somesite.com address to be in there.

how can i do this with php?

Thanks
0
Comment
Question by:submissiontechnology
2 Comments
 
LVL 49

Accepted Solution

by:
Roonaan earned 2000 total points
ID: 12369638
<?php
/* lets create a frameset */
?>
<html>
 <head>
  <title>www.somesite.com</title>
 </head>
 <frameset rows="*,0">
   <frame src="www.msn.co.uk" />
   <frame />
 </frameset>
</html>
<?php
/* phwej! That was hard work! */
?>

Regards -r-
0
 
LVL 9

Expert Comment

by:_GeG_
ID: 12369823
<html>
 <head>
  <title>www.somesite.com</title>
 </head>
 <frameset>
   <frame src="http://www.msn.co.uk">
 </frameset>
</html>

basically the same like roonan's, but the http:// in src is important, and it has only one frame ;)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question