Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member duck444's Avatar
    Join Date
    Feb 2003
    Location
    east coast
    Posts
    402
    Member #
    751
    Liked
    2 times
    I want these two php feeds to display their two twin video players side by side.

    How can I do this?

    I tried division tags but it didn't work. Anybody know how to do this?

    Thanks.

    Code:
    <?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?><?php readfile('http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e')?>

  2.  

  3. #2
    Member
    Join Date
    Jan 2010
    Posts
    40
    Member #
    20832
    First, give that url to a variable, it'll make things easier.
    PHP Code:
    $file 'http://output42.rssinclude.com/output?type=php&id=71201&hash=03afea6056cbc1dddc6c04982cee269e'
    Now give some header info to that, please! Then use the readfile function.
    PHP Code:
    readfile($file); 
    Or, looking at the php manual reveals that you can't use urls as filenames if you don't have fopen wrappers enabled:
    A URL can be used as a filename with this function if the fopen wrappers have been enabled

  4. #3
    Junior Member
    Join Date
    Feb 2010
    Location
    Canada & US
    Posts
    5
    Member #
    21232
    Create Frames

  5. #4
    Member
    Join Date
    Jan 2010
    Posts
    40
    Member #
    20832
    Quote Originally Posted by JHDynamics.com
    Create Frames
    I can't think of a worse way of doing it than doing it with frames.

  6. #5
    Senior Member
    Join Date
    Dec 2008
    Posts
    483
    Member #
    17875
    Liked
    1 times
    'i tried division tags but it didnt work'

    this doesnt give much information
    <?php
    $file='url1';
    $file2='url2';
    ?>
    <div class="left player">
    <?php readfile($file); ?>
    </div>
    <div class="player">
    <?php readfile($file2); ?>
    </div>
    <div class="clear"></div>

    div.player{
    float:left;
    padding:10px;
    border: 1px solid #ccc;
    width:50px;
    }
    .clear{clear:both;}


    modify as needed


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:22 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com