Jump to content

Archived

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

pawanarora

How to hide Querystrings completely from URL using PHP

Recommended Posts

Hi All!!

I am Paw. I am a PHP Web Developer.
Now-a-days, I am developing a website using PHP.
In this website, there is a requirement to
* convert the file extension from php to htm and
* hide Querystrings completely from URL.

I have done the first one. But I am facing the problem to hide Querystrings completely.

Any suggestion will be greatly appreciated.

Thanks

Paw

Share this post


Link to post
Share on other sites
Then use a different method for passing data from one page and making it accessible to another:

use forms (with 'hidden' inputs) and method="post" or use SESSIONS if the sending and receiving pages are a php files

Share this post


Link to post
Share on other sites
Another option, depending on your web server, is using url rewriting (Apache REWRITE mod) to make the urls a user sees and uses completely different from what's going on behind the scenes.

Jeff

Share this post


Link to post
Share on other sites

×

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.