How can you make the if -clause which do this and this
if
- there is no variable in the URL by PHP?
- there is no variable which has value in the URL by PHP?
Examples of the URLs which should be true for the if -clause for #1:
www.example.com/index.php
example.com/index.php
example.com/index.php?
Examples of the URLs which should be true for the if -clause for #2:
example.com/index.php?successful_registration
example.com/index.php?successful_login
The following is my unsuccessful if -clause for $1
if (isset($_REQUEST[''])) {
// do this
}