Is it possible to implement permalink Structure in a Custom PHP Product? If so could someone guide me how to do so.
I have bunch of PHP Files where head.php is being called initially.
I have introduced a variable admin_id in all the SQL Statements and to introduce the variable in insert and select the command i have introduced the variable as admin_id='$admin_id' in SQL Statements.
I want the variable to be assigned on the basis of Permalink i.e. http://localhost/admin_id/page_name.php. Here the admin_name is the custom permalink variable in the custom structure and page_name.php is the. page in the /var/www/html folder