Jump to content

How to make your URL stay the same


UltimateOreo

Recommended Posts

Is there a script in PHP that can make your URL stay the same, even if a user naviages to another file on your page?

 

For example, I click a link that goes from www.cool.com to www.cool.com/index.php

But instead of your browser saying www.cool.com/index.php, it just says www.cool.com

 

If you cant do this with php, direct to me a tutorial telling me how I can!

Link to comment
https://forums.phpfreaks.com/topic/51596-how-to-make-your-url-stay-the-same/
Share on other sites

well i have to files (index.php and main.php) and those are the only 2 files accessed, the index.php file has login and regisration on it and the main.php has every single function in it, so if you mean something like this in your address bar:

 

http://*websitename*/index.php?*action or variable*

 

then im willing to help...

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.