I want to make a new file .php file (my_new_file.php) into the root directory.
## The file will viewable only for logedin users.
## If the non-loged user try to open this file, it will redirect to login or index page.
## A template will add this file (A new html file created on template/default dir named "my_new.html")
please post steps required for this file.
It will be better for me if you kindly make a sample php file with the above reguirments.