Opening website?
Posted: Sun Nov 15, 2009 7:37 pm
Hello, long time no see ... you've probably forgot about me ... ^_^
I'm playing with PHP for a while combining with many different things...
from Counter Strike AMXMODX plugins to making GameTracker-like website and stand-alone PHP applications like e-shops...
Now I was thinking if it could be possible to make an option to open a website in default browser using ZGE?
It could be useful for something like "Click here to visit our website", but the most useful thing is online score keeping !
For example if you could find a way to open a website without showing it (like in the background or something) ...
For example: http://www.site.com/something/submit_sc ... score=1337
you can make PHP file that gets the information using $_GET['name'] and $_GET['score'] and then saves it into SQL ...
Next to that you can have www.site.com/something/scores.php where you have PHP file that lists X scores ordered by score ...
"SELECT * FROM table ORDER BY scores LIMIT 0,10"
If you are interested, I can make an example so you can test ...
I've used similar technique in CS by opening a MOTD window in game on some event, and It works pretty great ...
I'm playing with PHP for a while combining with many different things...
from Counter Strike AMXMODX plugins to making GameTracker-like website and stand-alone PHP applications like e-shops...
Now I was thinking if it could be possible to make an option to open a website in default browser using ZGE?
It could be useful for something like "Click here to visit our website", but the most useful thing is online score keeping !
For example if you could find a way to open a website without showing it (like in the background or something) ...
For example: http://www.site.com/something/submit_sc ... score=1337
you can make PHP file that gets the information using $_GET['name'] and $_GET['score'] and then saves it into SQL ...
Next to that you can have www.site.com/something/scores.php where you have PHP file that lists X scores ordered by score ...
"SELECT * FROM table ORDER BY scores LIMIT 0,10"
If you are interested, I can make an example so you can test ...
I've used similar technique in CS by opening a MOTD window in game on some event, and It works pretty great ...