[PHP-DOC] RE: error handling [was: ugly cvs subject]

2002-12-02 Thread John Coggeshall
I personally have no problem with using trigger_error instead of die()... I just have an issue with not using mysql_error() because we don't want to be flooding with SQL queries, or using some sort of debugging logic in a reference manual John >-Original Message- >From: Gabor Hojtsy [ma

RE: [PHP-DOC] Re: error handling [was: ugly cvs subject]

2002-12-02 Thread John Coggeshall
>Of course, this does introduce the problem of scripters >leaving the verbose error messages in their code when they're >ready for production. IMHO I guess I'm still of the opinion that the PHPDocs aren't really a resource for "Good practices", there are plenty of other resources available onl

RE: [PHP-DOC] Re: error handling [was: ugly cvs subject]

2002-12-02 Thread John Coggeshall
> >Regarding the confusion factor this is a valid point. The >error handling docs should clearly describe how the error >directives such as display_errors, error_reporting, and >log_errors behave and why a blank page my result. And describe >ideal production vs. development scenerios. We're g

RE: [PHP-DOC] #20787 [Opn->Asn]: Wrong character in HTML File

2002-12-03 Thread John Coggeshall
Okay... So I took a look at the XML and it looks like it checks out to me... I checked out the source for the example: $a =& $b I'm assuming & is the code for the '&' character Not exactly sure where this is breaking in the build of the manual, Anyone have a clue? John >-Original

RE: [PHP-DOC] #20787 [Opn->Asn]: Wrong character in HTML File

2002-12-03 Thread John Coggeshall
onverting the ampersand in '&' to '&'... Hence we end up with: & Which renders: & Which is wrong ;) John >On Tue, 3 Dec 2002, John Coggeshall wrote: > >> >> Okay... So I took a look at the XML and it looks like it >checks out to

RE: [PHP-DOC] #20822 [Com]: getimagesize() returning null instead of false

2002-12-04 Thread John Coggeshall
I've changed the getimagesize() function so that it RETURN_FALSE on every error, and disables the error reporting if the file fails to open (it still returns RETURN_FALSE) If no one has a problem, I'll commit. John >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

RE: [PHP-DOC] #20822 [Com]: getimagesize() returning null instead of false

2002-12-05 Thread John Coggeshall
long(return_value, 0, result->width); add_index_long(return_value, 1, result->height); >-Original Message- >From: Derick Rethans [mailto:[EMAIL PROTECTED]] >Sent: Thursday, December 05, 2002 1:39 AM >To: John Coggeshall >Cc: [EMAIL PROTECTED]; [EMAI

[PHP-DOC] RE: [PHP-DEV] RE: [PHP-DOC] #20822 [Com]: getimagesize() returning null instead of false

2002-12-05 Thread John Coggeshall
>The return false part is ok but why not showing the warnings >from fopen? Well, the issue here is in the bugreport... It's not an issue of PHP throwing a warning when a file doesn't exist and is attempted to be opened, but it was throwing the error if the filesize was zero.. I could see that be

[PHP-DOC] Cybercash no more

2002-12-31 Thread John Coggeshall
I was just looking through the CVS tree: http://cvs.php.net/cvs.php/php4/ext/cybercash And I noticed that the cybercash extension apparently simply doesn't exist anymore. It looks like the service itself has disappeared (actually been baught out) hence, no need for an extension. I don't have a

RE: [PHP-DOC] Re: Cybercash no more

2002-12-31 Thread John Coggeshall
ank is still around >and CyberMut of Credit Mutuel is THERE. > >Actually cybermut is moved to PECL. > >-- >Regards. >M.CHAILLAN Nicolas >[EMAIL PROTECTED] >www.WorldAKT.com Hébergement de sites internets. > >"John Coggeshall" <[EMAIL PROTECTED]> a écr

RE: [PHP-DOC] Cybercash no more

2002-12-31 Thread John Coggeshall
x27;re at. I'll add to the RFC later >today, more comments welcome. > >Regards, >Philip > >p.s. I responded to the top of this email specifically >for Derick :) > > > >On 31 Dec 2002, James Cox wrote: > >> On Tue, 2002-12-31 at 11:00, John Coggeshall

RE: [PHP-DOC] Cybercash no more

2002-12-31 Thread John Coggeshall
If the service does indeed exist (the way the CVS read it was nuked for a different service) then I of course agree it shouldn't be nuked :) My question is where did this extension go? Did it end up in PECL or did it get removed entirely?? In any case, perhaps we can update the documentation to at

RE: [PHP-DOC] Cybercash no more

2002-12-31 Thread John Coggeshall
>I think your mailserver's maybe lagging :) Heh :) Perhaps. Or maybe I just missed that little sidenote in a previous e-mail :) John -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DOC] Re: Suggestion for a clean PHP 5 - Manual

2003-01-23 Thread John Coggeshall
>I have a 2500 pages manual in Word format... how should I go >distilling it to PDF? You need the Adobe PDF DistillerIf you don't have it shoot it my way and I'll distill it for you. John -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP-DOC] Trigger_error() bad info?

2003-03-06 Thread John Coggeshall
I haven't confirmed this in the source, but in the trigger_error() docs: Note: error_msg is limited to 1024 characters in length. Any additional characters beyond 1024 will be truncated. Shouldn't it truncate at the size specified by the log_errors_max_len, (whose default is 1024) not always 10

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions implode.xml

2003-06-06 Thread John Coggeshall
johnFri Jun 6 07:27:15 2003 EDT Modified files: /phpdoc/en/reference/strings/functions implode.xml Log: Clearified the proto for this function per bug #24056 Index: phpdoc/en/reference/strings/functions/implode.xml diff -u phpdoc/en/reference/str

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions implode.xml

2003-06-06 Thread John Coggeshall
johnFri Jun 6 11:54:48 2003 EDT Modified files: /phpdoc/en/reference/strings/functions implode.xml Log: Following Jani's Suggestion on a more appropiate proto. Index: phpdoc/en/reference/strings/functions/implode.xml diff -u phpdoc/en/reference/s

Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functionsimplode.xml

2003-06-06 Thread John Coggeshall
ange > >both documented the new optional glue AND the > >current/old behavior of implode() accepting the > >parameters in reverse order. Two birds with one > >stone :) > > > >Regards, > >Philip > > > > > >On Fri, 6 Jun 2003, John Coggesh

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions implode.xml

2003-06-06 Thread John Coggeshall
johnFri Jun 6 15:47:18 2003 EDT Modified files: /phpdoc/en/reference/strings/functions implode.xml Log: Revert back to 1.6 Index: phpdoc/en/reference/strings/functions/implode.xml diff -u phpdoc/en/reference/strings/functions/implode.xml:1.7 phpdoc

Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functionsimplode.xml

2003-06-06 Thread John Coggeshall
Whatever fits -- makes absolutely no difference to me what-so-ever. John On Fri, 2003-06-06 at 19:15, Philip Olson wrote: > On Fri, 6 Jun 2003, Derick Rethans wrote: > > > On Fri, 6 Jun 2003, John Coggeshall wrote: > > > > > On Fri, 2003-06-06 at

[PHP-DOC] cvs: phpdoc /en/reference/strings/functions number-format.xml

2003-06-03 Thread John Coggeshall
johnTue Jun 3 06:34:50 2003 EDT Modified files: /phpdoc/en/reference/strings/functions number-format.xml Log: Fixed a minor annoyance. you can have 1, 2, or 4 parameters but not three and the proto was incorrect. Index: phpdoc/en/reference/strings

Re: [PHP-DOC] cvs: phpdoc /en/reference/strings/functionsnumber-format.xml

2003-06-03 Thread John Coggeshall
here is a relatively small number of functions where this problem shows up. I don't think it's something anyone has to particularly worry about -- having two protos for those special cases is fine by me. John -- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John

[PHP-DOC] cvs: phpdoc /en/reference/pdf/functions pdf-fill.xml

2003-06-30 Thread John Coggeshall
johnMon Jun 30 06:08:28 2003 EDT Modified files: /phpdoc/en/reference/pdf/functions pdf-fill.xml Log: The prototype for pdf_fill() is not pdf_fill_stroke() :) Index: phpdoc/en/reference/pdf/functions/pdf-fill.xml diff -u phpdoc/en/reference/pdf/functions

[PHP-DOC] Tidy filenames

2003-11-07 Thread John Coggeshall
ure. John -- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall http://www.coggeshall.org/ john at coggeshall dot org The PHP Developer's Handbook The definitive PHP5 developer's guide http://www.php-handbook.com/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-

Re: [PHP-DOC] tidy and windows.

2003-11-27 Thread John Coggeshall
http://snaps.php.net/win32/PECL_STABLE/ John On Wed, 2003-11-26 at 23:17, Fernando Correa da ConceiÃÃo wrote: > On tidy documentation, say it works on php4, so I go to pecl, but > there is not a dll for windows, only source for linux. > So, this work on windows? If no the docs must say this. >

Re: [PHP-DOC] tidy extension

2004-01-14 Thread John Coggeshall
nch, where all of these functions still exist. John -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbookhttp://www.php-handbook.com/ 0x19)? chr(${0x32}):${chr(0xD)}[${0x32}];++${0x0};} echo "{${""}}\n"?> -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

[PHP-DOC] TIdy Documentation

2004-03-25 Thread John Coggeshall
anual -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbookhttp://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

Re: [PHP-DOC] Account Suspended

2004-05-12 Thread John Coggeshall
The really stupid part is this moron didn't even provide a link to steal our passwords that worked ;) Coogle -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbookhttp://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

Re: [PHP-DOC] Linuxtag Karslruhe?

2004-05-24 Thread John Coggeshall
Infos about Linuxtag: http://www.linuxtag.org/2004/index.html > > Regards > Friedhelm -- -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=- John Coggeshall http://www.coggeshall.org/ The PHP Developer's Handbookhttp://www.php-handbook.com/ -=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=--=~=-

[PHP-DOC] RE: [PHP-DEV] Re: [PHP-DOC] Apache 2 installation instructions

2002-10-28 Thread John Coggeshall
|> We receive many complaints at [EMAIL PROTECTED] about failures in |> setting up PHP with Apache 2. Can somebody please update the |> documentation with details on Apache 2 on Linux and Windows, or |> provide information for the documentation team to add to the |> documentation. It would def

[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions glob.xml

2002-11-13 Thread John Coggeshall
johnWed Nov 13 18:36:37 2002 EDT Modified files: /phpdoc/en/reference/filesystem/functions glob.xml Log: Documented the valid flags for the glob() function, including the two new flags I added to the source (GLOB_ONLYDIR and GLOB_BRACE). Other flags

[PHP-DOC] cvs: phpdoc /en/reference/var/functions unserialize.xml

2002-11-19 Thread John Coggeshall
johnTue Nov 19 21:29:57 2002 EDT Modified files: /phpdoc/en/reference/var/functions unserialize.xml Log: Added the callback parameter to the syntax statement (string callback) Index: phpdoc/en/reference/var/functions/unserialize.xml diff -u phpdoc/en/ref

[PHP-DOC] cvs: phpdoc /en/reference/var/functions serialize.xml unserialize.xml

2002-11-19 Thread John Coggeshall
johnTue Nov 19 21:45:02 2002 EDT Modified files: /phpdoc/en/reference/var/functions serialize.xml unserialize.xml Log: Documented the __sleep and __wakeup member functions when serializing/unserializing objects in both function references. Index: phpd

[PHP-DOC] cvs: phpdoc /en/reference/var/functions unserialize.xml

2002-11-19 Thread John Coggeshall
johnTue Nov 19 21:51:21 2002 EDT Modified files: /phpdoc/en/reference/var/functions unserialize.xml Log: Arg. I kept finding things wrong :) Added version information for the callback parameter (PHP >= 4.2.0) Index: phpdoc/en/reference/var/functions/u

[PHP-DOC] cvs: phpdoc /en/reference/var/functions serialize.xml unserialize.xml

2002-11-19 Thread John Coggeshall
johnWed Nov 20 00:01:38 2002 EDT Modified files: /phpdoc/en/reference/var/functions serialize.xml unserialize.xml Log: Cleaned some things up some more. Index: phpdoc/en/reference/var/functions/serialize.xml diff -u phpdoc/en/reference/var/functions/seri

[PHP-DOC] cvs: phpdoc /en/reference/session reference.xml

2002-12-01 Thread John Coggeshall
johnSun Dec 1 17:06:11 2002 EDT Modified files: /phpdoc/en/reference/sessionreference.xml Log: Added a note to point out that sessions are not kept which have no registered variables. Index: phpdoc/en/reference/session/reference.xml diff -u ph

[PHP-DOC] cvs: phpdoc /en/reference/session reference.xml

2002-12-01 Thread John Coggeshall
johnSun Dec 1 17:25:04 2002 EDT Modified files: /phpdoc/en/reference/sessionreference.xml Log: Added a reference to $_SESSION as also being a valid method (instead of just saying session_register()) Index: phpdoc/en/reference/session/reference

[PHP-DOC] cvs: phpdoc /en/reference/session reference.xml

2002-12-01 Thread John Coggeshall
johnSun Dec 1 18:32:11 2002 EDT Modified files: /phpdoc/en/reference/sessionreference.xml Log: WS FIX Index: phpdoc/en/reference/session/reference.xml diff -u phpdoc/en/reference/session/reference.xml:1.22 phpdoc/en/reference/session/referenc

RE: [PHP-DOC] cvs: phpdoc /en/reference/mysql/functions mysql-affected-rows.xml mysql-close.xml mysql-create-db.xml mysql-data-seek.xml mysql-fetch-array.xml mysql-fetch-field.xml mysql-field-name.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql

2002-12-01 Thread John Coggeshall
IMHO, I think it's the newbies' decision on how and when to use functionality available in PHP. I see no problem with the examples in the documentation reflecting the use of functionality. There are countless examples in the manual currently which don't use what could be considered "best practice"