IRLP Status Script (PHP Embed)

I now have another version of the status script available. This version is intended to be called from inside of a PHP page and rendered there. You are still able to define the requested node in the query of the url. An example on how you call the script is below:
include 'http://www.towerboy.com/irlp/script_embed.php?node=3808';
Anywhere you stick that code in your PHP webpage, the status of the node will be rendered. Change the node number and the node will change. You can also have as many nodes displayed as you want on a page. Just make sure that the code above is pasted as many times and where you want them to show up. Also, don't forget to change the node number or you will have a bunch of status scripts showing the same node.
I did not include the capability to set the color of the text in this script for the following reason. Since the text is embeded into the page just like native text, you will be able to define the text color and style just like all the other text on your page.
If you have HTML content on a PHP saved page, for example, your page is all HTML but the name of it is "index.php" then embeding the code is a little bit different. Here is an example:
<? include 'http://www.towerboy.com/irlp/script_embed.php?node=3808'; ?>
Now, defining the color of the text is really easy here. If you want the text to be a light blue, then you will need to wrap the above code like this:
<span style="color: #723CFF;"><? include 'http://www.towerboy.com/irlp/script_embed.php?node=3808'; ?></span>
That's about it. If you have any questions or need help, send me an email. If you really think the ability to change the color of the text in the query of the url (like the IFRAME script) would be better, let me know and I will add that to the script. Email me here: ns7r at towerboy dot com




