how can i make a Dynamic Sig

This forum is for discussing the future of the PHP Developer's Network, as well as for us to get your opinion on things.

This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

how can i make a Dynamic Sig

Post by gaogier »

sorry if this is in the wrong place...im new here and i dont really know php......but i just want to know how to make them....i

they are for a game called Runescape and im making them for RuneHints (a runescape fan site)

thanks

Gaogier
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Point your image path to a file on your server that will do whatever you want and have the script return an image

Code: Select all

<img src="http://yoursite.com/randomsig.php">
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

sorry i should of been clearer i need to get information from the runescape highscores and put them onto a sig but how?

an example of one is can be found here http://www.rsbandb.com/sig/sigs/t/timabrendon.png
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

You are going to have to have some sort of stat file that is compiled by your game server. You then need to open the file, most likely using file_get_contents(), and then somehow, depending on how to file is organized, figure out the stats.... maybe post your stat file..
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

but how...its done in a language, most people thinks its in php.....so how can i get info from one site without going on it?
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

gaogier wrote:so how can i get info from one site without going on it?
you are not getting it. you have to put the script on that server where the stats are stored.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

so i just put the script on the server and it will work....ill try that but dont think it will
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Gagoier: same lesson you still need to learn - know what you want to ask beforehand, research it, think about it, then come back and post here.
gaogier
Forum Contributor
Posts: 391
Joined: Wed Mar 02, 2005 1:02 pm
Location: Portsmouth, UK
Contact:

Post by gaogier »

i did and what i found out i shared with the other admin, and he said oh, we dont have that installed on the server so we got it installed and it now works
Post Reply