Hey all,
I'm working on a plugin for a clients web site. The plugin will be a simple navigation and small data display on a members home page on the clients site. The navigation opens various lightboxes with content, the content is driven by a PHP FrontController setup.
What I'm looking for is any suggestions on how I could lock the pages within the front controller so they can only be accessed via the members home page, not directly. (At the moment if you were to navigate to the index.php of the frontcontroller you would be able to access the plugin, regardless of logged in state), which is fine for test/dev but not for live.
There's one catch, a recent change to the project means that the rest of the site is in ASP. Not PHP :S, however the client wants to keep my plugin as is. Therefore the old way I had locked the pages (using PHP constants in the calling page) doesn't work as I can't set constants in the ASP page.
I know this is a PHP forum not an ASP one, but I'm hoping that someone might have some ideas on my PHP code that mean I don't have to trawl through tutorials and forums of a language I don't know/deal with to find a solution.
Cheers for reading Wall-o-textTM
How do I lock pages from view in a front controller system
Moderator: General Moderators