This topic is locked

Adding New page to backend

5/6/2009 8:44:48 PM
PHPRunner General questions
S
stevenf author

Hi,
I have a new web page (php) that I've built and want to create a link on the backend to open this page up.
Up to therre all ok.
My question is: How do I integrate this page to the backend logged in system so that it can only be used if you are logged into the backend, like all other pages in the backend.
hope you can help
thanks
stevenf

J
Jane 5/7/2009

Hi,
open any generated ..._list.php file and copy following code:

if(!@$_SESSION["UserID"])

{

...

}