Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2005
    Location
    Canada!
    Posts
    793
    Tokens
    75

    Latest Awards:

    Default Adding request line to a site

    Alright, so I added the panel onto Mysql and its all installed. Is there a HTML code where I can put the request line onto my main site. If someone could show me where to find the code, that would be awesome.

    +rep for all help

  2. #2
    Join Date
    Jan 2008
    Location
    Wales
    Posts
    3,594
    Tokens
    1,387
    Habbo
    Skizzling

    Latest Awards:

    Default

    Hiya Ryan!

    If im right, the panel should come with a 'request.php' file. Put that in an iFrame and it should work

  3. #3
    Join Date
    Sep 2005
    Location
    Canada!
    Posts
    793
    Tokens
    75

    Latest Awards:

    Default

    How do I put it into an Iframe

  4. #4
    Join Date
    Jun 2007
    Location
    Kent
    Posts
    4,101
    Tokens
    981

    Latest Awards:

    Default

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Example</title>
    </head>
    <body>
    The material below comes from the website http://example.com
    <iframe src="http://example.com" height="200">
    Alternative text for browsers that do not understand IFrames.
    </iframe>
    </body>
    </html>
    There it is!

  5. #5
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Alternatively you could use a PHP include:

    PHP Code:
    <?php include("stats.php"); ?>
    Change the stats.php to the location of your Radio Stats file... remember that if you dont necessarily need to put in your whole domain just /radio/stats.php or whatever
    Hope i helped
    Back for a while

  6. #6
    Join Date
    Nov 2007
    Location
    London
    Posts
    1,577
    Tokens
    36

    Latest Awards:

    Default

    You just need to put a link on your site to the request.php or requests.php file.

    To make a link open in a new window:

    HTML Code:
    <a href="http://yoursite.com/djpanel/request.php" target="_blank">Request</a>
    It doesn't have to be in an iframe or php include, it depends how you've designed or made your website work really.
    Kind Regards,

    Guy
    __________________

    Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
    Tech-Hosts.co.uk.


  7. #7
    Join Date
    Jan 2008
    Posts
    1,003
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Obulus View Post
    Alternatively you could use a PHP include:

    PHP Code:
    <?php include("stats.php"); ?>
    Change the stats.php to the location of your Radio Stats file... remember that if you dont necessarily need to put in your whole domain just /radio/stats.php or whatever
    Hope i helped
    He wants a request line, which would work with this method - However doing radio statistics in my experience dont work in php include because the auto refresh will refresh the entire page.;

  8. #8
    Join Date
    Apr 2008
    Location
    Derby
    Posts
    4,668
    Tokens
    262

    Latest Awards:

    Default

    Quote Originally Posted by Tim. View Post
    He wants a request line, which would work with this method - However doing radio statistics in my experience dont work in php include because the auto refresh will refresh the entire page.;
    I meant request line not stats Yh stats would have to be in an iframe or the entire page would get refreshed if you had a refresh button. But the PHP include should work for a requests line
    Back for a while

  9. #9
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    61
    Tokens
    0

    Default

    Best thing to do is look at all fansite links
    ll ll ll ll

  10. #10
    Join Date
    Oct 2008
    Posts
    353
    Tokens
    0

    Default

    <iframe src="LINK HERE!" height="200">
    Alternative text for browsers that do not understand IFrames.
    </iframe>
    Lol

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •