Re: caching program
| From: | Curt Zirzow | Date: | Sun, 14 Sep 2003 15:53:54 +0000 |
| Subject: | Re: caching program | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162561@lists.php.net to get a copy of this message | ||
* Thus wrote Andrea Tricco (atricco@libero.it):
> For the images that don't contain "http://" my
> program is already able to
> get them from the web server.
> In other cases, I have to determine the name of the directory where the html
> page is located.
> Thus, the equivocal paths are the problem, for example:
>
> www.php.net/manual/it/index.php
>
> www.php.net/manual/it/
>
> www.php.net/manual/it
>
> The reply of the server web is the same in the three cases.
Not true, Like I had posted ealier the last url apache will
redirect the person requesting the file to:
www.php.net/manual/it/
php does this transparently with the current method you are using
to obtain the files.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."