Afficher un message
Vieux 01/10/2007, 05h32   #2
J.O. Aho
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: identify by php the path of the page

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
  Réponse avec citation
 
Page generated in 0,04446 seconds with 9 queries