Jump to content

Passing Data between pages without using the address bar


Comdemned

Recommended Posts

Hi all,

 

I would like to know how to pass data between pages within the same site without using the address bar.

At the moment I have very long URL's.

 

Currently I am using the index.php?option=option&client_id=client_id&this=this&that=that etc.

Then on the other page Im using the %_GET['option'] method.

 

I want to be able to just use index.php (or index.php?option=option) and have the rest of the data sent in the background with out the information being displayed in the address bar.

 

Thanks

Murray

 

What are you trying to hide?

 

The quesy string is meant for passing parameters.

 

Solutions depend on what your trying to achieve here, for instance, if you don't like ?&section=news&seq=6

 

Then you should look into URL re-writing, you can use the PATH_INFO server variable for url shortening.

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.