Foser Posted July 3, 2007 Share Posted July 3, 2007 alright, im interested in learning about extended links but im not totaly sure whats its actually called therefore i have trouble finding tutorials about it. I know its somekind of get statement but im not sure how to display things on that page which does not exist until someone presses a link. The reason i want to learn about this is because i am making a application and want to make it so you can see all users information and be able to edit it from there. any information about these extended links would be grealy appreciated. thanks Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/ Share on other sites More sharing options...
corbin Posted July 3, 2007 Share Posted July 3, 2007 Look up the $_GET superglobal array. Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/#findComment-288470 Share on other sites More sharing options...
teng84 Posted July 3, 2007 Share Posted July 3, 2007 ?test=value test= index of the array $_GET['test'] value = will be the content of $_GET['test'] to extend or have another set of get variable simply add & ?test=value&test2=value2 any concern ? Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/#findComment-288474 Share on other sites More sharing options...
Foser Posted July 3, 2007 Author Share Posted July 3, 2007 I know some of this can be very not secure. How can we make it so if there is no user to that name display error page. Because from my experience i know how to exploit this and with this unsecure you can easily upload something to the host without any authentication. Any way to make it secure? Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/#findComment-288485 Share on other sites More sharing options...
skali Posted July 3, 2007 Share Posted July 3, 2007 you should filter the $_GET variables on the server and check in the database for the existence of the user before further processing. Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/#findComment-288486 Share on other sites More sharing options...
teng84 Posted July 3, 2007 Share Posted July 3, 2007 first if u have the database you can have it tru checking the user in the db sample select * from table where user id=$_GET['valu here'] have some condition that if true allow to enter then else error page hope that helps Link to comment https://forums.phpfreaks.com/topic/58160-extended-link-userseinfield/#findComment-288487 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.