Augury Posted February 24, 2014 Share Posted February 24, 2014 I've got forms with action = '$_SERVER["PHP_SELF"]' which is OK if I do not want a different page. And I can load specific page via the action field as well. metaphorically...... Theres a Mens room and a Womans room. The user inputs something. I now determine such and such ...... #1 or #2?, gender?, whats the present location.... And nearest faculty is provided as soon as I know where it is. How do I now load ./toilet.php ? Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/ Share on other sites More sharing options...
requinix Posted February 24, 2014 Share Posted February 24, 2014 Wat? Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470353 Share on other sites More sharing options...
Augury Posted February 24, 2014 Author Share Posted February 24, 2014 You want to go my ./home.php. I feed you cookies, but theres only so long you can hold it. I want you to now go to ./toilet.php so I don't have shit all over my house. How do I make you go to ./toilet.php now -- or whenever -- it is clear you need to be there? In the form the action of ./toilet.php is '$_SERVER["PHP_SELF"]'. So whether you shit or not, you will always be in the ./toilet.php. I would like to let you into ./home.php when you are through. The self awareness is great. But I now do not want you in my bathroom. Like, where's the door? Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470362 Share on other sites More sharing options...
Augury Posted February 24, 2014 Author Share Posted February 24, 2014 (edited) AHHHHH I run a teen porn site. It is not a free teen porn site. How do I prevent non-members from seeing any of the contents of my member pages? I still want them to go to the home page, even if the url is members only content. Edited February 24, 2014 by Augury Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470364 Share on other sites More sharing options...
Solution Augury Posted February 24, 2014 Author Solution Share Posted February 24, 2014 (edited) I know the HTML has a dead link to ./index.php BUT I WANT IT TO BE A TOTAL FUCKIN SUPRISE OK. Edited February 24, 2014 by Augury Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470366 Share on other sites More sharing options...
Augury Posted February 24, 2014 Author Share Posted February 24, 2014 include "file.php"; is an answer I was looking for Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470368 Share on other sites More sharing options...
Augury Posted February 24, 2014 Author Share Posted February 24, 2014 Oh feels good. Oh yeah. Quote Link to comment https://forums.phpfreaks.com/topic/286463-stupid-question-loading-a-page-as-a-response/#findComment-1470369 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.