dimitris Posted July 8, 2008 Share Posted July 8, 2008 Hi there, is it possible to have the browser display a different url than the php script loaded? for example how can I force the browser to diplay a string like "http://false.url.com" as the url? dimitris Link to comment https://forums.phpfreaks.com/topic/113722-different-url-displayed/ Share on other sites More sharing options...
craygo Posted July 8, 2008 Share Posted July 8, 2008 to do that you would have to create a subdomain on your server then the script file would be called index.php and the file would run with that url. So basically you create a folder in your http root directory called false. Then you create a sub-domain for that directory. then you put a php script in the folder. you would call it index.php because the web server would run that file without a name in the url. Ray Link to comment https://forums.phpfreaks.com/topic/113722-different-url-displayed/#findComment-584417 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.