Activity Stream
48,167 MEMBERS
64328 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1.     
    #11
    Member
    Hey, guys, i learned a lot of html & css yesterday, but have much problem ^^



    here the index.php code :


    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">


    <head>

    <title> Bypass Megavideo </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" media="screen" type="text/css" title="design" href="design.css" />





    </head>

    <body>


    <form method="post" class="block">

    <input type="text" name="url" value="" style="width: 600px" style="height: 100px" class="bar">



    <form action="post">
    <input type="image" src="play.jpg" class="bouton">
    </form>


    <br />
    <p>
    <h3 class="exemple">ex - http://megavideo.com/?v=4R2Y3TWF</h3>
    </p>


    <br />
    <br />
    <br />


    <?php

    // Overridable defines
    define('SITE_URL',"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/');

    if(isset($_POST['url']))
    {
    include('curl.php');
    include('megavideo.php');
    include('config.php');

    $tube = new megavideo();

    $tube->init($username, $password);

    $download_link = $tube->get($_POST['url']);


    if($download_link) {
    preg_match('%megavideo\.com/\?v=([A-Z0-9]+)%',$_POST['url'],$match);

    //$remoteLink = urldecode($download_link.'video.flv&type=flv');

    $streamLink = urlencode(SITE_URL.'stream.php?url='.base64_encode ($download_link).'&type=flv');
    $streamDownloadLink = SITE_URL.'stream.php?url='.base64_encode($download _link);

    ?>
    <a class="url" href="<?=$streamDownloadLink;?>"><?=$streamDownloa dLink;?></a>
    <br />



    <embed class="lecteur" name="player1" id="player1"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    width="500" height="400"
    bgcolor="#FFFFFF"
    src="player.swf"
    allowfullscreen="true"
    allowscriptaccess="always"
    flashvars="file=<?=urlencode($streamLink);?>&amp;f rontcolor=100000&amp;backcolor=ffffff&amp;fullscre en=true">
    </embed>




    <?php } else { ?>
    Error locating download URL.
    <?php }

    }

    ?>
    </head>
    </body>
    </html>

    And the CSS ^^


    .exemple
    {
    font-size: 18px; /* la taille d epolice est de 18px */
    text-align: center; /* ont aligne le text */
    }
    body
    {
    background-image: url("first.jpg"); /* Ont charge le background */
    background-position: top; /* Le fond est align? au centre */
    background-repeat : no-repeat;

    }
    .block
    {
    margin-top: 220px;
    margin-right: 100px;
    margin-bottom: 15px;
    margin-left: 585px;
    }
    .bar
    {
    height: 70px;
    }


    with this code, i cant move play logo"butoon" without move url bar


    here a screen on google chrome :






    and on firefox :






    how i can fix it, i think the <form is the cause, i cant move one without others... thanks

  2.   Sponsored Links

  3.     
    #12
    Member
    nobody ?

  4.     
    #13

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. html and css help
    By tractor3231 in forum Web Development Area
    Replies: 7
    Last Post: 5th Sep 2011, 08:42 AM
  2. PSD to HTML
    By ddlshack in forum Graphics Area
    Replies: 1
    Last Post: 26th May 2011, 11:07 AM
  3. PSD to PHP/HTML?
    By .:Jamie:. in forum Web Development Area
    Replies: 8
    Last Post: 1st Mar 2011, 08:17 AM
  4. Replies: 8
    Last Post: 21st Jul 2010, 06:13 PM
  5. HTML help
    By n4pst3r in forum Server Management
    Replies: 5
    Last Post: 30th Mar 2010, 09:38 AM

Tags for this Thread

BE SOCIAL