Posted by J.O. Aho on 10/01/07 04:32
artev wrote:
> if I have a file myfile.php (the dir are more)
>
> http://SITE/A/B/myfile.php
>
> is possible insert in the page a code that write the path where it is =
> http://SITE/A/B/
>
> and also must recognize if its url change example http to https
> https://SITE/A/B/myfile.php
> it write
> https://SITE/A/B/
If you use a decent web server, then you can use mod_rewrite to make the web
server load a different file than what what the browser has requested.
--
//Aho
Navigation:
[Reply to this message]
|