Solved

frame

Posted on 2004-10-21
270 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
Question by:submissiontechnology
    2 Comments
     
    LVL 49

    Accepted Solution

    by:
    <?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_
    <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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT Security CISA, CISSP & CISM Certification

    Master the advanced techniques required to protect network resources from external threats with the IT Cyber Security bundle. Built around industry best-practice guidelines, the IT Cyber Security bundle consists of three in-depth courses.

    SQL injection vulnerabilities have been described as one of the most serious threats for Web applications. Web applications that are vulnerable to SQL injection may allow an attacker to gain complete access to their underlying databases. Because…
    This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
    The viewer will learn how to dynamically set the form action using jQuery.

    934 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now