Re: one more mirror related error
| From: | Hojtsy Gabor \(@php.net\) | Date: | Fri, 20 Oct 2000 16:50:03 +0000 |
| Subject: | Re: one more mirror related error | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-2580@lists.php.net to get a copy of this message | ||
> > The PHP Annotated Manual link on docs.php points
> > to http://www.php.net/manual/ which is
> > not correct for mirrors.
> >
> > And also the Manual online link is the same (
> > but it is mirror-ready :). Why
> > we have two link to it? Not too close to each other.
>
> There is only one PHP Annotated Manul and that is on
> http://www.php.net/manual/. The normal manuals (without the
> annotations) are mirrored.
The annotations are also mirrored, as pagename.txt files
(maybe they are autogenerated somehow). The filename is:
$notes_file = "usernotes/" . urlencode( $title ) . ".txt";
I looked into the annotation printer code (shared-manual.inc)...
So the annotations appear, if you visit a mirror site.
Prior to this, a web query was used:
$url =
"http://www.php.net/manual/get-user-notes.php?title=".urlencode($title);
And so $url was fopened to get the user notes and display
on the mirror pages. So you can see annotations on
mirror pages too. And the link should point to the proper
page.
Goba |:- goba@php.net -:|
_____________________________________________________________________
Hungarian PHP Manual - http://weblabor.hu/php/