Basically when i visit a url,
For example if i was on 127.0.0.1 and i navigated to 127.0.0.1/home.php (or something similar) how can i get the url to stay as 127.0.0.1 in the address bar?
I have read up on this and i know it can be done via iFrames, however it can also be done via AJAX (which id prefer)
I have looked about and so far havent found anything which relates to this.
If anyone knows how to do this or knows somewhere which would explain it abit more, could you help me or link me.
Before anybody says its bad practise and restricts parts of the site (eg, if a user was on an interesting page, they wouldnt be able to send the link to their friend as the url is 127.0.0.1 and not 127.0.0.1/interesting_link_here)
I have an idea i want look into further and keeping the url as 127.0.0.1/blahblah could result in a user cheating, meaning if they lost/get it wrong they can simply go back to the previous page, which i dont want them to do)
For example if i was on 127.0.0.1 and i navigated to 127.0.0.1/home.php (or something similar) how can i get the url to stay as 127.0.0.1 in the address bar?
I have read up on this and i know it can be done via iFrames, however it can also be done via AJAX (which id prefer)
I have looked about and so far havent found anything which relates to this.
If anyone knows how to do this or knows somewhere which would explain it abit more, could you help me or link me.
Before anybody says its bad practise and restricts parts of the site (eg, if a user was on an interesting page, they wouldnt be able to send the link to their friend as the url is 127.0.0.1 and not 127.0.0.1/interesting_link_here)
I have an idea i want look into further and keeping the url as 127.0.0.1/blahblah could result in a user cheating, meaning if they lost/get it wrong they can simply go back to the previous page, which i dont want them to do)