You are here: Re: relative path / absolute path « PHP Programming Language « IT news, forums, messages
Re: relative path / absolute path

Posted by R. Rajesh Jeba Anbiah on 06/18/06 10:36

Jerry M. Gartner wrote:
> Greetings:
>
> What is the best way to resolve paths within a document regardless of what
> path it is opened under? For example: I have x.php and it contains <img
> src="images...">, (amongst other things, like php code), which resolves the
> correct image path when opened under / but when x.php is read into a file
> under /dir the image no longer resolves, for obvious reasons.
<snip>

I don't understand your problem. But, I prefer relative path and
had no issues with it.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

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

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