Importing Variable HTML Website into PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
evdv
Forum Newbie
Posts: 1
Joined: Wed Jan 14, 2009 12:13 pm

Importing Variable HTML Website into PHP

Post by evdv »

Hi

I'm new with Php, so forgive me is this is a simple question...

I would love to import variable html content into my php website.

http://www.webvideopresenter.com/free_trial.php

As you can see in the above example, there is a webform; you fill in a variable URL
and the content of that URL shows up in your own website.
That is exactly what I would like to do...

Could anyone, anywhere,... help me?

Thank you so much

Newbie Evdv
User avatar
paqman
Forum Contributor
Posts: 125
Joined: Sun Nov 14, 2004 7:41 pm
Location: Burnaby, BC, Canada

Re: Importing Variable HTML Website into PHP

Post by paqman »

Their site isn't really doing much - it just takes that url and uses it as an iframe source (line 8 ):

Code: Select all

 
<html>
    <head>
        <title>Demo for http://google.com</title>
        <!--<script src="demovideo.js" type="text/javascript" language="javascript"></script>-->
    </head>
    <body style="margin: 0pt;" scroll="no" onLoad="showvideo('demo.flv', 'video')">
        [b]<iframe src="http://google.com" id="demoFrame" frameborder="0" height="100%" scrolling="auto" width="100%"></iframe>[/b]
        <!--<div id="video" style="position:absolute;left:100px;bottom:0px;width:300px;height:400px; background-color:#993300;"></div>-->
 
        <div style="position:absolute;left:100px;bottom:0px;width:300px;height:400px;">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="300" height="400">
            <param name="movie" value="demo.swf">
            <param name="quality" value="high">
            <param name="wmode" value="transparent"/>
            <embed src="demo.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="300" height="400"></embed>
          </object></div>
    </body>
</html>
 
If you want to have a php file receive data from an html form, check this out: http://www.tizag.com/phpT/examples/formex.php
Post Reply