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 ? 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? 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? 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 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. 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...
Augury Posted February 24, 2014 Author Share Posted February 24, 2014 I know the HTML has a dead link to ./index.php BUT I WANT IT TO BE A TOTAL FUCKIN SUPRISE OK. 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 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. 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
Archived
This topic is now archived and is closed to further replies.