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) Link to comment https://forums.phpfreaks.com/topic/61305-sending-a-lot-of-data-from-differnt-places-via-post-any-tips/ 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? Link to comment https://forums.phpfreaks.com/topic/61305-sending-a-lot-of-data-from-differnt-places-via-post-any-tips/#findComment-305070 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 Link to comment https://forums.phpfreaks.com/topic/61305-sending-a-lot-of-data-from-differnt-places-via-post-any-tips/#findComment-305083 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. Link to comment https://forums.phpfreaks.com/topic/61305-sending-a-lot-of-data-from-differnt-places-via-post-any-tips/#findComment-305091 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 Link to comment https://forums.phpfreaks.com/topic/61305-sending-a-lot-of-data-from-differnt-places-via-post-any-tips/#findComment-305095 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.