Log in

View Full Version : Adding request line to a site



Netaxes
23-01-2009, 03:04 AM
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 :)

Calvin
23-01-2009, 04:17 PM
Hiya Ryan!

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

Netaxes
23-01-2009, 04:49 PM
How do I put it into an Iframe xD

RyanDOT
23-01-2009, 04:50 PM
<!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 (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!

Fehm
23-01-2009, 05:25 PM
Alternatively you could use a PHP include:


<?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

iUnknown
23-01-2009, 11:56 PM
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:


<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.

Tim.
24-01-2009, 09:19 AM
Alternatively you could use a PHP include:


<?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.;

Fehm
24-01-2009, 11:19 AM
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 :P 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 :)

Shiloh
01-02-2009, 10:28 AM
Best thing to do is look at all fansite links

x-glow
01-02-2009, 06:16 PM
<iframe src="LINK HERE!" height="200">
Alternative text for browsers that do not understand IFrames.
</iframe>

Want to hide these adverts? Register an account for free!