You are here: Re: identify by php the path of the page « All PHP « IT news, forums, messages
Re: identify by php the path of the page

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация