Author Topic: [REQ] HR-02: New php for logged-in user  (Read 4216 times)

0 Members and 1 Guest are viewing this topic.

Offline abman5

  • Newbie
  • *
  • Posts: 25
    • View Profile
[REQ] HR-02: New php for logged-in user
« on: September 12, 2008, 05:27:31 AM »
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.
« Last Edit: September 12, 2008, 07:04:15 AM by abman5 »

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [REQ] HR-02: New php for logged-in user
« Reply #1 on: September 12, 2008, 11:42:36 AM »
... FAQ -> How to add a new, custom template page ...
... http://www.4homepages.de/forum/index.php?topic=4996.0 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...