Jump to content

Recommended Posts

I've seen a post here before for this but cant find it cause I cant remember the title of the post not to mention I dont think I know what im looking for per say..

 

Ok.. So lets say I have 2 pages.. page one is the template file, page 2 is just the raw page within the template.

I don't want page 2 to be accessable, loadable, etc.. by itself.. I know I can set a var for page 2 to look for, which if the var turns up empty or unset, or anything that I don't want it to be.. but how do I just kill the page if its not set I tried halt; figuring that would work, it didnt page continued to load despite that.. so anyone know what im looking for in essence of trying to kill page 2's load if the var isnt set..

Link to comment
https://forums.phpfreaks.com/topic/89125-solved-halting-page-load/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.