Trium918 Posted April 13, 2007 Share Posted April 13, 2007 Could someone show me an example of a script that will prevent URL atlering or a manual of some sort? Link to comment https://forums.phpfreaks.com/topic/46912-preventing-url-altering/ Share on other sites More sharing options...
taith Posted April 13, 2007 Share Posted April 13, 2007 there isnt... however... verify everything from the url... via is_string(), is_numerical... etc... Link to comment https://forums.phpfreaks.com/topic/46912-preventing-url-altering/#findComment-228721 Share on other sites More sharing options...
Trium918 Posted April 13, 2007 Author Share Posted April 13, 2007 there isnt... however... verify everything from the url... via is_string(), is_numerical... etc... Thanks, anymore ideas? Link to comment https://forums.phpfreaks.com/topic/46912-preventing-url-altering/#findComment-228722 Share on other sites More sharing options...
taith Posted April 13, 2007 Share Posted April 13, 2007 theres only 4 ways of transfering data from page to page get post session cookies get is by far the least secure... but is far easier... unless you... <form name=asdf action="login.php"><input type=hidden name=adf value="asdf"><a href="javascript:document.asdf.submit();">move</a></form> from there, you can then access the values from the other page without anyone tampering the $_GET Link to comment https://forums.phpfreaks.com/topic/46912-preventing-url-altering/#findComment-228727 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.