Soldato
- Joined
- 16 Nov 2003
- Posts
- 9,682
- Location
- On the pale blue dot
A lot of people here have Xbox Live signatures, and I want one too, but I wanted it to be a little more unique! So to exercise my PHP madskillz I went about creating some scripts in PHP to do it. The source of the scripts (please don't mind the mad formatting, its a work in progress) here:
http://www.sidtheturtle.co.uk/gamercard/src/
The current output (looks a lot like the current sigs, but is customisable) looks like this:
[Image removed while I work out the bugs]
The script gamercard_get.php goes through the Xbox Live .card file available on the net and searches for the relevant information. The gamercard.php file runs functions found in functions.php to present this info in image form based on variables set in variables.php. I've tried to design it to be as fully customisable as possible from a user point of view. I'm quite pleased with it, but could do with your help. Problems:
1. Its slow. Calls to GD take time. To render the signature takes between 10 and 30 seconds.
2. I can't get transparency to work. For the gamer rating stars, I want the grey to be transparent, but not cause transparency elsewhere that grey is used. I don't understand how to create alpha channels in GD without resorting to using PNG files.
Any ideas how to speed it up and get transparency to work? Also what are your general feelings on the methodology, security holes etc?
http://www.sidtheturtle.co.uk/gamercard/src/
The current output (looks a lot like the current sigs, but is customisable) looks like this:
[Image removed while I work out the bugs]
The script gamercard_get.php goes through the Xbox Live .card file available on the net and searches for the relevant information. The gamercard.php file runs functions found in functions.php to present this info in image form based on variables set in variables.php. I've tried to design it to be as fully customisable as possible from a user point of view. I'm quite pleased with it, but could do with your help. Problems:
1. Its slow. Calls to GD take time. To render the signature takes between 10 and 30 seconds.
2. I can't get transparency to work. For the gamer rating stars, I want the grey to be transparent, but not cause transparency elsewhere that grey is used. I don't understand how to create alpha channels in GD without resorting to using PNG files.
Any ideas how to speed it up and get transparency to work? Also what are your general feelings on the methodology, security holes etc?
Last edited: