Some devs have built a site using yii 1 for me a little while ago. I need to add a new page to my site but cannot use yii oop code as I do not know much the framework, it will be easier for me to code directly in procedural PHP, how can I create a page that has admin access that is only used with pure php please?
Make sure you have a .htaccess file with the following code:
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php