Jump to content

Stupid question: loading a page as a response


Augury

Recommended Posts

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 ?

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?  

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.