Posted by Chung Leong on 06/19/06 04:24
Jan Thomä wrote:
> Well to be on the safe side use absolute paths, this will definitely work.
> To keep your scripts maintainable, make a configuration file where you will
> put the paths in. E.g
>
> config.php
>
> $IMG_BASE_URL="http://www.my-domain.com/images/";
If you have ever had to use a reverse-proxy on a web application, you'd
realize what an evil absolute paths are.
Navigation:
[Reply to this message]
|