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

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1.     
    #1
    Member

    Default html over css ?

    hello, i am a noob in php,html,css... and i will make a website over here : www.superleech.info i have some problem with it:


    here the code :

    PHP Code: 
    <html> 
    <head> 
    </head> 
    <body style="margin: 0px; padding: 0px;"> 
    <div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;"> 
    <img src="first.jpg" style="width: 100%; height: 100%;"> 
    </div> 
    <div style="z-index: 0; position: relative;"> 

    </div> 
    </body> 
    </html> 
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>

        

    <form method="post">

    <input type="text" name="url" value="" style="width: 600px">

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

    <br />
    ex - [url]http://megavideo.com/?v=4R2Y3TWF[/url]


    <br />
    <hr>
    <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);

          
    ?>
        
            <b>Download URL ( Same IP Download Restriction )</b> : <a href="<?=$download_link;?>"><?=$download_link;?></a>
            <br />
            <b>Download URL </b> : <a href="<?=$streamDownloadLink;?>"><?=$streamDownloadLink;?></a>
            <br />

        

          <embed 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;frontcolor=100000&amp;backcolor=ffffff&amp;fullscreen=true">
      </embed>
      
     


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

    ?>
    </body></html>
    With this code i get this :




    but i will this :








    By the way
    PHP Code: 
     <b>Download URL </b> : <a href="<?=$streamDownloadLink;?>"><?=$streamDownloadLink;?></a>
            <br />
    generate a download link like : http://www.blabla.com/fdsfdsfsdfqsdfsdqfghfgfd

    if someone now to change this to " click here for download



    i really need your help, thanks you
    guitarmaster Reviewed by guitarmaster on . html over css ? hello, i am a noob in php,html,css... and i will make a website over here : www.superleech.info i have some problem with it: here the code : <html> <head> </head> <body style="margin: 0px; padding: 0px;"> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    noob at resizing images also...

  4.     
    #3
    Member
    resized

  5.     
    #4
    Member
    Did you paste it correctly?

    I mean, you have two head tags lol

  6.     
    #5
    Member
    Website's:
    thatfix.com warezroots.com warezhubs.com
    download adobe dreamweaver
    the code is a mess man

  7.     
    #6
    Member
    yes is the original, and i have dreamweaver, but i still cant put play button and url bar where i want

  8.     
    #7
    Member
    Your code is completely messed up.

    Code: 
    <html> 
    <head> 
    </head> 
    <body style="margin: 0px; padding: 0px;"> 
    <div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;"> 
    <img src="first.jpg" style="width: 100%; height: 100%;"> 
    </div> 
    <div style="z-index: 0; position: relative;"> 
    
    </div> 
    </body> 
    </html> 
    The bold lines indicate the browser that the page ends there. First fix that.

  9.     
    #8
    Member
    <html>
    <body>
    <head>
    <body style="margin: 0px; padding: 0px;">
    <div style="width: 100%; height: 100%; left: 0px; top: 0px; position: ; z-index: 0;">
    <img src="first.jpg" style="width: 100%; height: 100%;">
    </div>
    <div style="z-index: 0; position: relative;">

    </div>
    <!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">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    like that ? still dont work -> www.superleech.info

  10.     
    #9
    Member
    Website's:
    thatfix.com warezroots.com warezhubs.com
    always start with <html>
    head for page title keywords scripts and css includes
    close head
    open body
    include your website code
    clode body
    close html

    <html>
    <head>
    <title>lololol</title>
    meta meta meta
    </head>
    <body>
    hey this is my website
    </body>
    </html>

  11.     
    #10
    Member
    lol wtf? It's more messy.

    Learn some basic html first: http://www.w3schools.com/html/default.asp.
    At the moment you seem to be coding randomly and that's a waste of time. Learn it properly and you'll do things faster and right.

    edit: MS notepad will be more than enough.

Page 1 of 2 12 LastLast

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