example:
I have a webpage abc.com/index.php
I want to detect if user connect to abc.com/index.php/bbdh,
abc.com/index.php/bb/saggfd/gjasgd/hsahgd, abc.com/index.php/bb/saggfd/gjas and so on without having a page like that on my host.
I’m using php and need some way to do that without using .htaccess file.
Thanks for any help!
have a look at
$_SERVER['REQUEST_URI'], every thing you need will be accessible here. E.g. for:it would be:
strip the
/index.phpwith something like:and you’re set.
Update on how to handle GET-parameters: