You are here: Re: includes and paths and organization « PHP Programming Language « IT news, forums, messages
Re: includes and paths and organization

Posted by Lars Eighner on 09/25/07 11:20

In our last episode, <2007092500072816807-PostInGroups@wherevercom>, the
lovely and talented Ron broadcast on comp.lang.php:

> My solution is to make the link the full path with http://mysite.com
> and so on so regardless of where the header is called from the link is
> good. I always thought that relative paths are used within a site and
> full paths to link outside. My solution will work but I think there is
> a better way.

There is. Write a php function to calculate relative paths.

--
Lars Eighner <http://larseighner.com/> <http://myspace.com/larseighner>
Countdown: 483 days to go.
What do you do when you're debranded?

 

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

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