Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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