Re: My browser game in PHP
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
-Sanitize your login details, i was able to make a character containing ' and "
Re: My browser game in PHP
Quote:
Originally Posted by
cinos11
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
-Sanitize your login details, i was able to make a character containing ' and "
Thanks for the reply, I did sanitize now the register page.
I will put all on the same php script soon enough
Re: My browser game in PHP
Link is dead.
And I find it strange you can code in php but cant even figure out how to
A: Post in the correct section IE: Coding Paradise or Gaming sections.
B: Embed a picture. (Nevermind...you fixed it :))
Re: My browser game in PHP
Quote:
Originally Posted by
Monolith
Link is dead.
And I find it strange you can code in php but cant even figure out how to
A: Post in the correct section IE: Coding Paradise or Gaming sections.
B: Embed a picture. (Nevermind...you fixed it :))
Well those sections have less views.. I think.
Link works for me tough it's hosted on 000webhost.
And I think I can post everything I want in this section :p .
Quote:
Originally Posted by
cinos11
Decent game.
Some improvements:
-Don't make each map a new php page, just put it all on the same php script,
then use includes/switches so you can just have it called within a php query string.
Ex: eldertales.hostei.com/game.php?map=woods
Thanks again for this info. I did change it like this with less connections now the speed really improved. ^_^ I appreciate.
Re: My browser game in PHP
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a7237247/public_html/reg.php on line 121
Free Web Hosting
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
Re: My browser game in PHP
Quote:
Originally Posted by
Eronisch
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in /home/a7237247/public_html/reg.php on line 121
Free Web Hosting
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
fixed, please try again :)
Re: My browser game in PHP
Quote:
You must enter only a-z 0-9 A-Z allowed
Register failed
No matter what username or password I try.
Re: My browser game in PHP
Quote:
Originally Posted by
mucski
No matter what username or password I try.
The exact same error, I'm receiving too. :P:
Re: My browser game in PHP
Quote:
Originally Posted by
Jaxter
The exact same error, I'm receiving too. :P:
Quote:
Originally Posted by
mucski
No matter what username or password I try.
Sorry :p fixed :).
Re: My browser game in PHP
Let me know if you want something other than a shitty free host, I can put you on one of my servers free of charge.
Re: My browser game in PHP
Quote:
Originally Posted by
Ron
Let me know if you want something other than a shitty free host, I can put you on one of my servers free of charge.
Nice, thanks for the offer. I would love to but not now. I must find someone to make some animations/gifs for me, so the game will look better.
Re: My browser game in PHP
Maybe look into HTML5 features for more of a "game" experience?
Re: My browser game in PHP
Better design and javascript implement please?
your register script is highly annoying
Quote:
Wrong Username or Password back
Code:
Wrong Username or Password <a href="index.html">back</a>
see the hyperlink issue? try it yourself
Re: My browser game in PHP
make an automatic redirect from register to login, it would be easier for the users. I suggest you take a good look at this open source game Dragon Knight and analyze it, before you can continue with yours