cooldude832 Posted July 23, 2007 Share Posted July 23, 2007 I'm trying to make a php game that has a map with movement on it, and i'm debating on how i want pass view changes between pages I really only have 4 views Map Battle Story Inventory Would it be safe to do it in Get instead of having to make each link its own form with a hidden type containing its command or should I make it in post so that way a person can't jump out of battle by changing the GET type, (I could code it so you can't do that, but Whats the point if its easier to make it more secure? The idea with get would not be a straight pass from GET it would be a switch so that would prevent any sort of hacker injection, but i think it only makes my life harder than doing it in post where the value can't be changed (i'm not worried about getting curled although i know it will happen) Quote Link to comment Share on other sites More sharing options...
btherl Posted July 23, 2007 Share Posted July 23, 2007 I don't understand at all. Can you include some more detail? Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted July 23, 2007 Author Share Posted July 23, 2007 I figured it out i think, but basically my game has different views that a play can change through and I don't want to make it easy for them to change views without being "allowed" to Quote Link to comment Share on other sites More sharing options...
btherl Posted July 23, 2007 Share Posted July 23, 2007 Hmm.. would it make sense for the players to select an action, and have your script change the views based on the action? I'm not really sure what you mean by "view" here. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted July 23, 2007 Author Share Posted July 23, 2007 I think I'll just have to use a lot of form buttons with the values I need, but I would of rather been able to do it with a text link/ I'm triyng to avoid ajax/GET/javascript at all cost for this project Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.