Re: php_error_docref (was: Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main main.c php.h)

From: Date: Thu, 08 Aug 2002 10:11:11 +0000
Subject: Re: php_error_docref (was: Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /main main.c php.h)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-86635@lists.php.net to get a copy of this message
On Thu, 8 Aug 2002, Wez Furlong wrote: > php_error_docref(E_WARNING, "features.remote-files#no_ftp_write", > "Cannot write to remote files using ftp"); > > produces a URL like this: > http://php.net/manual/en/features.remote-files.php#no_ftp_write If you are doing doc things like this, it might help if we do something with a mirror too here, maybe some magic in the cnofigure script to determine the TLD and use that (with a php.ini setting)? Derick > > It seems obvious enough, but it's worth checking with a doc "guru" > to see if there are any rules/restrictions or whatever about how > the docs are built and how the references are made. > > --Wez. > > On 08/08/02, "Markus Fischer" <mfischer@guru.josefine.at> wrote: > > Wow! > > > > I'm impressed. That's one of the best ideas I've read on this > > list for months, and I really mean it that way. +1 > > > > - Markus > > > > On Wed, Aug 07, 2002 at 11:32:19PM +0100, Wez Furlong wrote : > > > This seems OK, but I have a suggestion: add a string parameter that > > > refers to a location in the manual. > > [...] > > > So, the C code would look something like this: > > > > > > php_error_docref(E_WARNING, "features.remote-files", "Cannot write > > > to remote files using ftp"); > > [...] > > > Warning: Cannot write to remote files using ftp. > > > <a > > > href="http://php.net/manual/en/features.remote-files.php">Click > > > Here > > > for more information.</a> > > > > > > or if html_errors is off: > > > > > > Warning: Cannot write to remote files using ftp. > > > See > > > http://php.net/manual/en/features.remote-files.php > > > for more information. > > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > --------------------------------------------------------------------------- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --------------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---------------------------------------------------------------------------

« previous php.dev (#86635) next »