craymel Posted December 12, 2005 Share Posted December 12, 2005 Hi , i have read the querystring alot of times , but i still don't really get it , can someone please explain ? Link to comment Share on other sites More sharing options...
sorex Posted December 12, 2005 Share Posted December 12, 2005 What exactly do you want to know or what is your problem with it? Link to comment Share on other sites More sharing options...
craymel Posted December 12, 2005 Author Share Posted December 12, 2005 i wanna know how does the "get" method works . does it like put all the things into the URL and on the other form , it will take the things from the URL ? Link to comment Share on other sites More sharing options...
Skemcin Posted December 12, 2005 Share Posted December 12, 2005 yes, the "GET" method takes teh values of the form that was submitted and puts all the values in a URL string. Now that the variables are in the URL, the code on the page the form is posted to can use these values however it is needed. Link to comment Share on other sites More sharing options...
sorex Posted December 12, 2005 Share Posted December 12, 2005 better use post, espiacially in log in parts of your site, otherwise people could see the username and password in the address bar if you don't redirect immediatly Link to comment Share on other sites More sharing options...
Skemcin Posted December 12, 2005 Share Posted December 12, 2005 better use post, espiacially in log in parts of your site, otherwise people could see the username and password in the address bar if you don't redirect immediatly This is not necesarily good advice to follow. There has been no mention of the form in question having a username and/or password. Understanding that GET passes information in the URL versus POST passing it in the header AND understanding why and when to use each is more important. There are certain situations where GET is far better to use than POST - until an application is specified just ask yourself if the data that is being passed from one form to the other is OK to be seen by anyone in the world. Link to comment Share on other sites More sharing options...
craymel Posted December 13, 2005 Author Share Posted December 13, 2005 oh , must it be used in forms only ? let's say i have a database , i have a page that display my members . I want to do it , when people click on the names of the member , it will direct it to another or a same page with different content . so that just the content that changes . I don't want to make multiply site for each member . lol . But is it "get" method to use ? i am so blur . Link to comment Share on other sites More sharing options...
smiles Posted December 17, 2005 Share Posted December 17, 2005 oh !!! You should use tag frame if you don't want to change the content of title part or anchor # to move to somewhere in your page I think "get" and "post" are just only for filling in gaps and gaps only have in forms Link to comment Share on other sites More sharing options...
craymel Posted December 17, 2005 Author Share Posted December 17, 2005 no that's not what i meant , what i meant is , if you go to the next page , it will extract data from that people you selected . without making multiple pages . so it's the script that will do the choosing work . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now