How could I make my webpage change its content using get parameter? I saw a bunch of website registrations that when you are successfully registered you’ll be redirected to the same page but with get parameters i.e http://www.register.com?do=success, or something like that. I tend to make another webpage for that but this looks promising. Instead of making another page, I would just change the content using get parameter for success registration page.
Share
Nowadays web applications have more or less only one single entry point (index.php) and avoid different and resource specific files. The reason is that a single file provides more control over how the user interacts with the site. The actual resource to be returned to the user is then specified in the query string (or determined through trailing folders and some rewriting mechanism).
A simple approach to establish a single entry point for your entire site:
index.php
Call: