This type of URL is only visible if we use the GET action, the POST action hides the information in the URL.
Server Side(PHP): On the server side PHP page, we request for the data submitted by the form and display the result.
Method 2: Using Cookies to store information:
Client Side: Use Cookie to store the information, which is then requested in the PHP page. A cookie named gfg is created in the code below and the value GeeksforGeeks is stored. While creating a cookie, an expire time should also be specified, which is 10 days for this case.
Server Side(PHP): On the server side, we request for the cookie by specifying the name gfg and extract the data to display it on the screen.