[PHP-DOC] Re: Emacs+PSGML indent problem?

2002-04-23 Thread Yasuo Ohgaki

Hmm. I guess I'm the only one who have this problem.
Could anyone tell me your Emacs and PSGML version that works?

Thank you.

--
Yasuo Ohgaki

Yasuo Ohgaki wrote:
> Hi.
> 
> I use emacs/psgml to edit doc files.
> I'm having indent problem for function references.
> 
> -- original file --
> 
> 
> 
>   
>
> array_change_key_case
> Returns an array with all string keys lowercased or 
> uppercased
>
>
> 
> -- indent with my emacs --
> 
> 
> 
>   
>  
>   array_change_key_case
>   Returns an array with all string keys lowercased or 
> uppercased
>  
>  
> 
> As you can see,  is not indented, right.
> I guess I'm missing something obvious, could anyone
> tell what it would be?
> 
> GNU Emacs 21.1.1
> psgml 1.2.4
> 
> Thank you.
> 
> -- 
> Yasuo Ohgaki
> 
> 
> 
> 





[PHP-DOC] Bug #16780 Updated: Wrong comment in php.ini-recommended

2002-04-23 Thread sniper

 ID:  16780
 Updated by:  [EMAIL PROTECTED]
 Reported By: [EMAIL PROTECTED]
-Status:  Open
+Status:  Closed
 Bug Type:Documentation problem
 PHP Version: 4.0CVS-2002-04-23
 New Comment:

Fixed in CVS. (HEAD and PHP_4_2_0 branch)



Previous Comments:


[2002-04-23 21:12:25] [EMAIL PROTECTED]

Hi, this wrong documentation line has already been in
php.ini-recommende for 8 month. :-)

Index: php.ini-recommended
===
RCS file: /repository/php4/php.ini-recommended,v
retrieving revision 1.75
diff -u -r1.75 php.ini-recommended
--- php.ini-recommended 19 Apr 2002 07:13:55 -  1.75
+++ php.ini-recommended 24 Apr 2002 01:02:18 -
@@ -241,7 +241,7 @@
 ;
 ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
 ;
-;   - Show all errors except for notices
+;   - Show all errors
 ;
 error_reporting  =  E_ALL




-- 
Edit this bug report at http://bugs.php.net/?id=16780&edit=1




[PHP-DOC] Bug #16780: Wrong comment in php.ini-recommended

2002-04-23 Thread jan

From: [EMAIL PROTECTED]
Operating system: 
PHP version:  4.0CVS-2002-04-23
PHP Bug Type: Documentation problem
Bug description:  Wrong comment in php.ini-recommended

Hi, this wrong documentation line has already been in php.ini-recommende
for 8 month. :-)

Index: php.ini-recommended
===
RCS file: /repository/php4/php.ini-recommended,v
retrieving revision 1.75
diff -u -r1.75 php.ini-recommended
--- php.ini-recommended 19 Apr 2002 07:13:55 -  1.75
+++ php.ini-recommended 24 Apr 2002 01:02:18 -
@@ -241,7 +241,7 @@
 ;
 ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
 ;
-;   - Show all errors except for notices
+;   - Show all errors
 ;
 error_reporting  =  E_ALL
-- 
Edit bug report at http://bugs.php.net/?id=16780&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16780&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16780&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16780&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16780&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16780&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16780&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16780&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16780&r=submittedtwice




[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-escape-bytea.xml

2002-04-23 Thread Cornelia Boenigk

conni   Tue Apr 23 20:19:49 2002 EDT

  Modified files:  
/phpdoc/en/reference/pgsql/functionspg-escape-bytea.xml 
  Log:
  changed wrong function name
  
Index: phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.2 
phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.3
--- phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml:1.2 Wed Apr 17 02:43:18 
2002
+++ phpdoc/en/reference/pgsql/functions/pg-escape-bytea.xml Tue Apr 23 20:19:49 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -15,7 +15,7 @@
   stringdata
  
 
- pg_escape_string escapes string for
+ pg_escape_bytea escapes string for
  bytea datatype.  It returns escaped string.
 
 





[PHP-DOC] cvs: phpdoc /en/reference/pgsql/functions pg-connection-busy.xml

2002-04-23 Thread Cornelia Boenigk

conni   Tue Apr 23 20:18:23 2002 EDT

  Modified files:  
/phpdoc/en/reference/pgsql/functionspg-connection-busy.xml 
  Log:
  fixed typo
  
Index: phpdoc/en/reference/pgsql/functions/pg-connection-busy.xml
diff -u phpdoc/en/reference/pgsql/functions/pg-connection-busy.xml:1.2 
phpdoc/en/reference/pgsql/functions/pg-connection-busy.xml:1.3
--- phpdoc/en/reference/pgsql/functions/pg-connection-busy.xml:1.2  Wed Apr 17 
02:43:15 2002
+++ phpdoc/en/reference/pgsql/functions/pg-connection-busy.xml  Tue Apr 23 20:18:22 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,7 +16,7 @@
 
 
  pg_connection_busy returns &true; if the
- connection is busy. If it's is busy, a previous query is still executing.
+ connection is busy. If it is busy, a previous query is still executing.
  If pg_get_result is called, it will be blocked.
 
 





[PHP-DOC] cvs: phpdoc /ru bookinfo.xml language-defs.ent language-snippets.ent make_chm_index_ru.html preface.xml translation.xml

2002-04-23 Thread Ivan Kovalenko

tronic  Tue Apr 23 19:59:08 2002 EDT

  Modified files:  
/phpdoc/ru  bookinfo.xml language-defs.ent language-snippets.ent 
make_chm_index_ru.html preface.xml translation.xml 
  Log:
  Fixed
  

Index: phpdoc/ru/bookinfo.xml
diff -u phpdoc/ru/bookinfo.xml:1.8 phpdoc/ru/bookinfo.xml:1.9
--- phpdoc/ru/bookinfo.xml:1.8  Thu Jan 10 09:10:43 2002
+++ phpdoc/ru/bookinfo.xml  Tue Apr 23 19:59:07 2002
@@ -1,5 +1,5 @@
 
-
+
 
  
   
@@ -71,23 +71,22 @@
   
Copyright

-Àâòîðñêîå ïðàâî íà ýòî ðóêîâîäñòâî ïðèíàäëåæèò © Copyright 1997,
-1998, 1999, 2000, 2001, 2002 PHP Documentation Group. ×ëåíû ýòîé ãðóïïû 
-ïåðå÷èñëåíû íà ïåðâîé ñòðàíèöå ýòîãî ðóêîâîäñòâà.
+Àâòîðñêèå ïðàâà © Copyright 1997, 1998, 1999, 2000, 2001, 2002
+íà ýòî ðóêîâîäñòâî ïðèíàäëåæàò PHP Documentation Group. Ó÷àñòíèêè
+ýòîé ãðóïïû ïåðå÷èñëåíû íà ïåðâîé ñòðàíèöå ðóêîâîäñòâà.


-Ýòî ðóêîâîäñòâî ìîæåò áûòü ðàñïðîñòðàíåíî íà óñëîâèÿõ GNU
-General Public License, îïóáëèêîâàííîé Free Software
-Foundation; âûøåñêàçàííîå îòíîñèòñÿ ê âåðñèè 2 Ëèöåíçèè, èëè
-(ïî âàøåìó âûáîðó) ê ëþáîé äðóãîé áîëåå ïîçäíåé âåðñèè.
+Ýòî ðóêîâîäñòâî ìîæåò áûòü ðàñïðîñòðàíåíî íà óñëîâèÿõ the GNU
+General Public License, îïóáëèêîâàííîé the Free Software Foundation;
+äîëæíà ïðèìåíÿòüñÿ Ëèöåíçèÿ âåðñèè 2 èëè (íà âàø âûáîð) ëþáîé
+áîëåå ïîçäíåé âåðñèè.


-Àâòîðñêèå ïðàâà íà ãëàâó 'Ðàñøèðåíèå âîçìîæíîñòåé PHP 4.0' ýòîãî
-ðóêîâîäñòâà ïðèíàäëåæàò © 2000 Zend Technologies, Ltd. Ýòîò
-ìàòåðèàë ìîæåò áûòü ðàñïðîñòðàíåí òîëüêî íà óñëîâèÿõ,
-ñôîðìóëèðîâàííûõ â Open Publication License, v1.0
-èëè ïîçäíåé (â íàñòîÿùåå âðåìÿ ñàìàÿ ïîñëåäíÿÿ âåðñèÿ äîñòóïíà
-ïî àäðåñó &url.opl;).
+Àâòîðñêèå ïðàâà © 2000 íà ðàçäåë ýòîãî ðóêîâîäñòâà 'Ðàñøèðåíèå PHP
+4.0' ïðèíàäëåæàò Zend Technologies, Ltd. Ýòîò ìàòåðèàë ìîæåò
+áûòü ðàñïðîñòðàíåí òîëüêî íà óñëîâèÿõ, îáîçíà÷åííûõ â Open Publication
+License âåðñèè 1.0 èëè áîëåå ïîçäíåé (ñàìàÿ ïîñëåäíÿÿ âåðñèÿ
+â íàñòîÿùèé ìîìåíò äîñòóïíà ïî àäðåñó &url.opl;).

   
 
Index: phpdoc/ru/language-defs.ent
diff -u phpdoc/ru/language-defs.ent:1.8 phpdoc/ru/language-defs.ent:1.9
--- phpdoc/ru/language-defs.ent:1.8 Sun Apr 21 17:50:53 2002
+++ phpdoc/ru/language-defs.ent Tue Apr 23 19:59:07 2002
@@ -1,4 +1,4 @@
-
+
 
 
 
@@ -9,8 +9,8 @@
 
 
 
-
+
 
-
-
+
+
 
Index: phpdoc/ru/language-snippets.ent
diff -u phpdoc/ru/language-snippets.ent:1.5 phpdoc/ru/language-snippets.ent:1.6
--- phpdoc/ru/language-snippets.ent:1.5 Tue Jan 29 18:35:47 2002
+++ phpdoc/ru/language-snippets.ent Tue Apr 23 19:59:07 2002
@@ -1,78 +1,109 @@
-
-
+
 
-Ýòî ðàñøèðåíèå ÿâëÿåòñÿ
-ÝÊÑÏÅÐÈÌÅÍÒÀËÜÍÛÌ. Ïîâåäåíèå ýòîãî ðàñøèðåíèÿ,
-âêëþ÷àÿ èìåíà åãî ôóíêöèé è âñþ äîêóìåíòàöèþ, îòíîñÿùóþñÿ ê ýòîìó
-ðàñøèðåíèþ, ìîæåò èçìåíèòüñÿ â ïîñëåäóþùèõ âåðñèÿõ PHP áåç ïðåäóïðåæäåíèÿ.
-Èñïîëüçóéòå ýòî ðàñøèðåíèå íà ñâîé ñòðàõ è ðèñê.'>
+Ýòî ðàñøèðåíèå
+ÿâëÿåòñÿ ÝÊÑÏÅÐÈÌÅÍÒÀËÜÍÛÌ. Ïîâåäåíèå ýòîãî
+ðàñøèðåíèÿ, âêëþ÷àÿ èìåíà åãî ôóíêöèé è âñå åãî äîêóìåíòèðîâàííûå
+îñîáåííîñòè, ìîæåò èçìåíÿòüñÿ â ïîñëåäóþùèõ âåðñèÿõ PHP áåç
+ïðåäóïðåæäåíèÿ. Èñïîëüçóéòå ýòî ðàñøèðåíèå íà ñâîé ñòðàõ è 
+ðèñê.'>
 
 Ýòà ôóíêöèÿ
 ÿâëÿåòñÿ ÝÊÑÏÅÐÈÌÅÍÒÀËÜÍÎÉ. Ïîâåäåíèå ýòîé
-ôóíêöèè, èìÿ ýòîé ôóíêöèè è âñÿ äîêóìåíòàöèÿ, îòíîñÿùàÿñÿ ê ýòîé
-ôóíêöèè, ìîãóò èçìåíèòüñÿ â ïîñëåäóþùèõ âåðñèÿõ PHP áåç ïðåäóïðåæäåíèÿ.
+ôóíêöèè, å¸ èìÿ, à òàêæå âñå å¸ äîêóìåíòèðîâàííûå îñîáåííîñòè
+ìîæåò èçìåíÿòüñÿ â ïîñëåäóþùèõ âåðñèÿõ PHP áåç ïðåäóïðåæäåíèÿ.
 Èñïîëüçóéòå ýòó ôóíêöèþ íà ñâîé ñòðàõ è ðèñê.'>
 
-Â íàñòîÿùåå âðåìÿ
-ýòà ôóíêöèÿ íå äîêóìåíòèðîâàíà, äîñòóïåí òîëüêî ñïèñîê åå
-àðãóìåíòîâ.'>
-
-Êàê è ñî âñåìè ñðåäñòâàìè,
-âûâîäÿùèìè ðåçóëüòàò âûïîëíåíèÿ íåïîñðåäñòâåííî â áðàóçåð, âû
-ìîæåòå èñïîëüçîâàòü ôóíêöèè êîíòðîëÿ âûâîäà äëÿ ïåðåõâàòà
-âûâîäà ðåçóëüòàòîâ ýòîé ôóíêöèè è ñîõðàíåíèÿ èõ, íàïðèìåð, â
-ñòðîêå.'>
-
-Â ýòîé ôóíêöèè âû ìîæåòå
-èñïîëüçîâàòü URL â êà÷åñòâå èìåíè ôàéëà, åñëè áûëà âêëþ÷åíà îïöèÿ
-"fopen wrappers" Ñì. fopen äëÿ áîëåå äåòàëüíûõ
-ñâåäåíèé.'>
+Ýòà ôóíêöèÿ
+â íàñòîÿùåå âðåìÿ íå äîêóìåíòèðîâàíà; ïðèâåä¸í òîëüêî ñïèñîê
+å¸ àðãóìåíòîâ.'>
+
+Êàê ñ ëþáîé ôóíêöèåé, êîòîðàÿ
+îñóùåñòâëÿåò âûâîä íåïîñðåäñòâåííî â áðîóçåð, âû ìîæåòå èñïîëüçîâàòü ôóíêöèè êîíòðîëÿ âûâîäà äëÿ ïåðåõâàòà äàííûõ,
+âûâîäèìûõ ýòîé ôóíêöèåé è ñîõðàíåíèÿ èõ, íàïðèìåð,
+â ñòðîêå.'>
+
+Ýòîé ôóíêöèè âû ìîæåòå ïåðåäàòü URL
+â êà÷åñòâå èìåíè ôàéëà, åñëè áûëè çàäåéñòâîâàíû "fopen wrappers".
+Îáðàòèòåñü ê äîêóìåíòàöèè íà fopen çà áîëåå
+ïîäðîáíîé èíôîðìàöèåé.'>
 
-
+
 
 Ýòà ôóíêöèÿ ìîæåò
-âîçâðàùàòü &false;, íî òàêæå ìîæåò âûçâðàùàòü çíà÷åíèå, âû÷èñëÿåìîå
-êàê &false; â ïðîñòîì îïåðàòîðå if. Ïîæàëóéñòà, èñïîëüçóéòå îïåðàòîð === ñ öåëüþ
-ïðîâåðêè çíà÷åíèÿ, âîçâðàùàåìîãî ýòîé ôóíêöèåé.'>
+âîçâðàùàòü êàê ëîãè÷åñêîå çíà÷åíèå &false;, òàê è íå ëîãè÷åñêîå çíà÷åíèå,
+êîòîðîå ïî ñóòè ÿâëÿåòñÿ &false;, íàïðèìåð 0 èëè
+"". Ïîæàëóéñòà, îáðàòèòåñü ê ðàçäåëó Ëîãè÷åñêèå òèïû çà ïîäðîáíîé
+èíôîðìàöèåé. Èñïîëüçóéòå îïåðàò

[PHP-DOC] cvs: phpdoc /en/reference/domxml/functions DomNode-replace-node.xml

2002-04-23 Thread Simone Cortesi

cortesi Tue Apr 23 19:13:12 2002 EDT

  Modified files:  
/phpdoc/en/reference/domxml/functions   DomNode-replace-node.xml 
  Log:
  fixing parameter as of sourcecode
  
Index: phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.4 
phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.5
--- phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.4   Tue Apr 23 
10:25:44 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml   Tue Apr 23 
+19:12:57 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -13,7 +13,6 @@
 
  objectDomNode->replace_node
  objectnewnode
- 
 
 
  This function replaces an existing node with the passed
@@ -28,6 +27,7 @@
 
 
  See also DomNode_append_child
+

   
 





Re: [PHP-DOC] En-revision comment in reference.xml

2002-04-23 Thread Simone Cortesi

At 22.10 23/04/02 +0200, [EMAIL PROTECTED] wrote:

> I notice that many translated reference.xml lack the En-revision 
> comme
> nt. Is it normal, or something went wrong during banana-split? 
> And if
> so, may I correct the files translated by me?

When I find a reference.xml file with a missing EN-Revision tag I add it.

I dunno if something went wrong during bananasplit, I simply add them cause 
i find them useful for the italian translation effort.

Ciao,
Simone.




[PHP-DOC] Bug #16771 Updated: posix_mkfifo() not properly documented

2002-04-23 Thread mfischer

 ID:   16771
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Closed
 Bug Type: Documentation problem
 Operating System: Linux 2.2.x (Debian)
 PHP Version:  4.0CVS-2002-04-23
 New Comment:

It's now documented too, closing.


Previous Comments:


[2002-04-23 18:17:24] [EMAIL PROTECTED]

That's probably because of the process's umask. Try:

posix_mkfifo('./FORK_FIFO', 0666);
chmod('./FORK_FIFO', 0666);



[2002-04-23 18:17:21] [EMAIL PROTECTED]

This is a user error. First, only the mode without the quotes INCLUDING
the leading zero (because it actually needs to be octal). Second, the
actual permission the fifo gets created under also depends on your
umask (which is likely to be something like 0022). If you change your
umask to  and use 0666 it will work.

I'll reclassify this as a documentation problem because it's not really
documented.



[2002-04-23 18:01:13] [EMAIL PROTECTED]

Partially true (I tried it without the quotes before I updated from cvs
today):

posix_mkfifo('./FORK_FIFO', 666);
now gives:
prw-r--r--1 sean sean0 Apr 23 18:00 FORK_FIFO

better, but still not correct.

S



[2002-04-23 17:58:03] [EMAIL PROTECTED]

This is a usage error. You need to remove the quotes from around 0666.



[2002-04-23 17:47:49] [EMAIL PROTECTED]

posix_mkfifo('./FORK_FIFO', '0666'); // read&write by everyone

yeilds:
p-w---x--T1 sean sean0 Apr 23 17:47 FORK_FIFO

?

it SHOULD yeild:
prw-rw-rw-

The only way for me to get rw, it seems, is with '900', which gives:
prwr-T1 sean sean0 Apr 23 17:48 FORK_FIFO

(note: I don't even know what T is..)
It's messed up, to say the least.

S





-- 
Edit this bug report at http://bugs.php.net/?id=16771&edit=1




[PHP-DOC] cvs: phpdoc /en/reference/posix/functions posix-mkfifo.xml

2002-04-23 Thread Markus Fischer

mfischerTue Apr 23 18:36:56 2002 EDT

  Modified files:  
/phpdoc/en/reference/posix/functionsposix-mkfifo.xml 
  Log:
  - Wrote a brief description so the user at least has something useful in his
hands.
  # Someone please test if this is proper docbook; no test environment here
  
  
Index: phpdoc/en/reference/posix/functions/posix-mkfifo.xml
diff -u phpdoc/en/reference/posix/functions/posix-mkfifo.xml:1.2 
phpdoc/en/reference/posix/functions/posix-mkfifo.xml:1.3
--- phpdoc/en/reference/posix/functions/posix-mkfifo.xml:1.2Wed Apr 17 02:43:28 
2002
+++ phpdoc/en/reference/posix/functions/posix-mkfifo.xmlTue Apr 23 18:36:56 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,12 +16,20 @@
   intmode
  
 
- Needs to be written ASAP.
+ posix_mkfifo creates a special
+ FIFO file which exists in the file system and acts as
+ a bidirectional communication endpoint for processes.
 
-   ¬e.sm.uidcheck.dir;
+
+ The second parameter mode has to be given in octal
+ notation (e.g. 0644). The permission of the newly created
+ FIFO also depends on the setting of the current
+ umask. The permissions of the created file are (mode
+ & ~umask).
+
+¬e.sm.uidcheck.dir;

   
-
 

[PHP-DOC] Bug #16771 Updated: posix_mkfifo() not properly documented

2002-04-23 Thread jr-php

 ID:   16771
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Linux 2.2.x (Debian)
 PHP Version:  4.0CVS-2002-04-23
 New Comment:

That's probably because of the process's umask. Try:

posix_mkfifo('./FORK_FIFO', 0666);
chmod('./FORK_FIFO', 0666);


Previous Comments:


[2002-04-23 18:17:21] [EMAIL PROTECTED]

This is a user error. First, only the mode without the quotes INCLUDING
the leading zero (because it actually needs to be octal). Second, the
actual permission the fifo gets created under also depends on your
umask (which is likely to be something like 0022). If you change your
umask to  and use 0666 it will work.

I'll reclassify this as a documentation problem because it's not really
documented.



[2002-04-23 18:01:13] [EMAIL PROTECTED]

Partially true (I tried it without the quotes before I updated from cvs
today):

posix_mkfifo('./FORK_FIFO', 666);
now gives:
prw-r--r--1 sean sean0 Apr 23 18:00 FORK_FIFO

better, but still not correct.

S



[2002-04-23 17:58:03] [EMAIL PROTECTED]

This is a usage error. You need to remove the quotes from around 0666.



[2002-04-23 17:47:49] [EMAIL PROTECTED]

posix_mkfifo('./FORK_FIFO', '0666'); // read&write by everyone

yeilds:
p-w---x--T1 sean sean0 Apr 23 17:47 FORK_FIFO

?

it SHOULD yeild:
prw-rw-rw-

The only way for me to get rw, it seems, is with '900', which gives:
prwr-T1 sean sean0 Apr 23 17:48 FORK_FIFO

(note: I don't even know what T is..)
It's messed up, to say the least.

S





-- 
Edit this bug report at http://bugs.php.net/?id=16771&edit=1




[PHP-DOC] Bug #16771 Updated: posix_mkfifo() not properly documented

2002-04-23 Thread mfischer

 ID:   16771
 Updated by:   [EMAIL PROTECTED]
-Summary:  posix_mkfifo does weird stuff with mode
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
-Bug Type: POSIX related
+Bug Type: Documentation problem
 Operating System: Linux 2.2.x (Debian)
 PHP Version:  4.0CVS-2002-04-23
 New Comment:

This is a user error. First, only the mode without the quotes INCLUDING
the leading zero (because it actually needs to be octal). Second, the
actual permission the fifo gets created under also depends on your
umask (which is likely to be something like 0022). If you change your
umask to  and use 0666 it will work.

I'll reclassify this as a documentation problem because it's not really
documented.


Previous Comments:


[2002-04-23 18:01:13] [EMAIL PROTECTED]

Partially true (I tried it without the quotes before I updated from cvs
today):

posix_mkfifo('./FORK_FIFO', 666);
now gives:
prw-r--r--1 sean sean0 Apr 23 18:00 FORK_FIFO

better, but still not correct.

S



[2002-04-23 17:58:03] [EMAIL PROTECTED]

This is a usage error. You need to remove the quotes from around 0666.



[2002-04-23 17:47:49] [EMAIL PROTECTED]

posix_mkfifo('./FORK_FIFO', '0666'); // read&write by everyone

yeilds:
p-w---x--T1 sean sean0 Apr 23 17:47 FORK_FIFO

?

it SHOULD yeild:
prw-rw-rw-

The only way for me to get rw, it seems, is with '900', which gives:
prwr-T1 sean sean0 Apr 23 17:48 FORK_FIFO

(note: I don't even know what T is..)
It's messed up, to say the least.

S





-- 
Edit this bug report at http://bugs.php.net/?id=16771&edit=1




[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml

2002-04-23 Thread Philip Olson

philip  Tue Apr 23 18:10:16 2002 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   file-get-contents.xml 
  Log:
  See also: fgets file fread readfile and include
  
  
Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.2 
phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.3
--- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.2  Wed Apr 17 
02:38:06 2002
+++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml  Tue Apr 23 
+18:10:15 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -24,6 +24,11 @@
 
 ¬e.bin-safe;
 &tip.fopen-wrapper;
+
+ See also: fgets, file, 
+ fread, include, 
+ and readfile.
+

   
 





[PHP-DOC] En-revision comment in reference.xml

2002-04-23 Thread [EMAIL PROTECTED]

I notice that many translated reference.xml lack the En-revision comme
nt. Is it normal, or something went wrong during banana-split? And if 
so, may I correct the files translated by me?

Thanks 

Darvin



[PHP-DOC] cvs: phpdoc /it/reference/xml/functions utf8-decode.xml utf8-encode.xml xml-error-string.xml xml-get-current-byte-index.xml xml-get-current-column-number.xml xml-get-current-line-number.xml xml-get-error-code.xml xml-parse-into-struct.xml xml-parse.xml xml-parser-create-ns.xml xml-parser-create.xml xml-parser-free.xml xml-parser-get-option.xml xml-parser-set-option.xml xml-set-character-data-handler.xml xml-set-default-handler.xml xml-set-element-handler.xml xml-set-end-namespace-decl-handler.xml xml-set-external-entity-ref-handler.xml xml-set-notation-decl-handler.xml xml-set-object.xml xml-set-processing-instruction-handler.xml xml-set-start-namespace-decl-handler.xml xml-set-unparsed-entity-decl-handler.xml

2002-04-23 Thread Andrioli Darvin

darvina Tue Apr 23 15:24:17 2002 EDT

  Added files: 
/phpdoc/it/reference/xml/functions  utf8-decode.xml utf8-encode.xml 
xml-error-string.xml 
xml-get-current-byte-index.xml 
xml-get-current-column-number.xml 
xml-get-current-line-number.xml 
xml-get-error-code.xml 
xml-parse-into-struct.xml 
xml-parse.xml 
xml-parser-create-ns.xml 
xml-parser-create.xml 
xml-parser-free.xml 
xml-parser-get-option.xml 
xml-parser-set-option.xml 
xml-set-character-data-handler.xml 
xml-set-default-handler.xml 
xml-set-element-handler.xml 
xml-set-end-namespace-decl-handler.xml 
xml-set-external-entity-ref-handler.xml 
xml-set-notation-decl-handler.xml 
xml-set-object.xml 
xml-set-processing-instruction-handler.xml 
xml-set-start-namespace-decl-handler.xml 
xml-set-unparsed-entity-decl-handler.xml 
  Log:
  Italian translation
  


Index: phpdoc/it/reference/xml/functions/utf8-decode.xml
+++ phpdoc/it/reference/xml/functions/utf8-decode.xml



  
   
utf8_decode 

 Converte una stringa con caratteri ISO-8859-1 codificati con UTF-8
 in formato ISO-8859-1 singolo byte.

   
   
Descrizione

 stringutf8_decode
 stringdata


 Questa funzione decodifica il parametro data, considerato
 codificato in UTF-8, alla codifica 
ISO-8859-1.


 Vedere anche utf8_encode per dettagli sulla codifica
 UTF-8.

   
  



Index: phpdoc/it/reference/xml/functions/utf8-encode.xml
+++ phpdoc/it/reference/xml/functions/utf8-encode.xml



  
   
utf8_encode
Codifica una stringa da ISO-8859-1 a UTF-8
   
   
Descrizione

 stringutf8_encode
 stringdata


 Questa funzione converte la stringa data al formato
 UTF-8, e restituisce la nuova versione.
 UTF-8 è il meccanismo standard utilizzato da 
 Unicode per la codifica dei valori wide
 character in un flusso di byte.
 La codifica UTF-8 è trasparente ai caratteri 
ASCII,
 è auto-sincronizzata (per un programma è possibile determinare dove iniziano
 i caratteri in un flusso di dati) e può essere usata nelle normali funzioni
 di confronto di stringhe per i sort e simili. Il PHP codifica i caratteri
 UTF-8 fino a quattro byte come segue:
 
  Codifica UTF-8
  
   

 bytes
 bits
 rappresentazione

   
   

 1
 7
 0bbb


 2
 11
 110b 10bb


 3
 16
 1110 10bb 10bb


 4
 21
 0bbb 10bb 10bb 10bb

   
  
 
 Ciascuna b rappresenta un bit che può essere utilizzato
 per registrare le informazioni del carattere.

   
  



Index: phpdoc/it/reference/xml/functions/xml-error-string.xml
+++ phpdoc/it/reference/xml/functions/xml-error-string.xml



  
   
xml_error_string
restituisce la stringa di errore dal parser XML
   
   
Descrizione

 stringxml_error_string
 intcodice_errore


 
  
   codice_errore
   

 Un codice di errore da xml_get_error_code.

   
  
 


 La funzione restituisce una stringa con la descrizione del codice di errore
 codice_errore, oppure &false; se non si trova una 
descrizione.

   
  



Index: phpdoc/it/reference/xml/functions/xml-get-current-byte-index.xml
+++ phpdoc/it/reference/xml/functions/xml-get-current-byte-index.xml



  
   
xml_get_current_byte_index
Restituisce il corrente indice di posizione per un parser 
XML
   
   
Descrizione

 intxml_get_current_byte_index
 resourceparser


 
  
   parser
   

 Il riferimento al parser XML da cui si vuole ottenere la posizione.

   
  
 


 Questa funzione restituisce &false; se parser non
 si riferisce ad un parser valido, altrimenti la funzione restituisce in quale byte
 si trova attualmente il parser nel buffer dei dati (

[PHP-DOC] cvs: phpdoc /it/reference/xml functions.xml reference.xml

2002-04-23 Thread Andrioli Darvin

darvina Tue Apr 23 15:21:01 2002 EDT

  Added files: 
/phpdoc/it/reference/xmlfunctions.xml reference.xml 
  Log:
  Italian translation
  


Index: phpdoc/it/reference/xml/functions.xml
+++ phpdoc/it/reference/xml/functions.xml
&reference.xml.functions.utf8-decode;
&reference.xml.functions.utf8-encode;
&reference.xml.functions.xml-error-string;
&reference.xml.functions.xml-get-current-byte-index;
&reference.xml.functions.xml-get-current-column-number;
&reference.xml.functions.xml-get-current-line-number;
&reference.xml.functions.xml-get-error-code;
&reference.xml.functions.xml-parse;
&reference.xml.functions.xml-parse-into-struct;
&reference.xml.functions.xml-parser-create;
&reference.xml.functions.xml-parser-create-ns;
&reference.xml.functions.xml-parser-free;
&reference.xml.functions.xml-parser-get-option;
&reference.xml.functions.xml-parser-set-option;
&reference.xml.functions.xml-set-character-data-handler;
&reference.xml.functions.xml-set-default-handler;
&reference.xml.functions.xml-set-element-handler;
&reference.xml.functions.xml-set-end-namespace-decl-handler;
&reference.xml.functions.xml-set-external-entity-ref-handler;
&reference.xml.functions.xml-set-notation-decl-handler;
&reference.xml.functions.xml-set-object;
&reference.xml.functions.xml-set-processing-instruction-handler;
&reference.xml.functions.xml-set-start-namespace-decl-handler;
&reference.xml.functions.xml-set-unparsed-entity-decl-handler;

Index: phpdoc/it/reference/xml/reference.xml
+++ phpdoc/it/reference/xml/reference.xml


 
  Funzioni relative al parser XML
  XML

  
   
Introduzione

 XML
 
  XML (eXtensible Markup Language) è un formato utilizzato per l'interscambio
  di documenti strutturati sul Web. Questo è uno standard definito da 
  The World Wide Web consortium (W3C). Maggiori informazioni su XML e
  le relative tecnologie possono essere reperite all'indirizzo &url.xml;.
 


 Installazione
 
  Questa estensione utilizza il modulo expat, che può
  essere reperito all'indirizzo &url.expat;. Il
  Makefile fornito con expat, per default, non compila la libreria,
  occorre utilizzare le seguenti istruzioni per il comando make:
  

  
  Il sorgente in formato package RPM può essere reperito all'indirizzo &url.expat.rpm;.
 
 
  Si noti che se si usa Apache 1.3.7 o successive, la libreria
  expat è già presente. In questo caso configurare PHP utilizzando
  --with-xml (senza specificare 
  percorsi addizionali) e automaticamente verrà utilizzata la libreria
  expat presente in Apache.
 
 
  Sui sistemi Unix eseguire configure con l'opzione
  --with-xml. Il compilatore è in grado
  di trovare sul sistema la libreria expat
  installata. Se si compila il PHP come modulo per Apache, dalla
  versione 1.3.9 e successive, il PHP automaticamente utilizzerà 
  la libreria expat presente in Apache.
  Può essere necessario configurare le variabili d'ambiente 
CPPFLAGS e
  LDFLAGS prima di eseguire
  configure se si ha installato expat in qualche posto 
particolare.
 
 
  Compila del PHP.  Tada!  Questo è quanto.
 



 Note su questa estensione
 
  Questa estensione di PHP implementa il supporto per il modulo  
  expat di James Clark in PHP. Questo strumento permette
  il parsing, ma non la validazione, di documenti XML. Il modulo supporta
  tre tipi di codifica di caratteri
  già presenti in PHP: US-ASCII,
  ISO-8859-1 e UTF-8.
  La codifica UTF-16 non è supportata.
 
 
  Questa estensione permette di creare un parser XML
  e di definire dei gestori per i differenti
  eventi di XML. Ciascun parser XML ha diversi parametri
  configurabili.
 
 
  I gestori di eventi XML definiti sono:
  
   Gestori XML supportati
   

 
  Funzione PHP per attivare il gestore
  Descrizione dell'evento
 


 
  xml_set_element_handler
  
   L'evento 'Elemento' viene attivato quando il parser XML
   incontra i tag di apertura e chiusura. Esistono gestori separati
   per i tag di apertura e di chiusura.
  
 
 
  
   xml_set_character_data_handler
  
  
   Sono dati tutti i contenuti dei documenti XML che non siano
   dei markup, compresi gli spazi tra i tag. Si noti che
   il parser XML non aggiunge ne rimuove spazi, è compito
   dell'applicazione decidere se gli spazi siano
   significativi o meno.
  
 
 
  
   xml_set_processing_instruction_handler
  
  
   Ai programmatori PHP dovrebbe già essere familiare le istruzioni di processo
   (PIs).  è un istruzione di 
   processo dove php viene definito
   "PI target". La gestione di questi è specifica dell'applicazione,
   tranne che tutti i PI targets che iniziano con "XML"

[PHP-DOC] Bug #16755 Updated: --with-java produces java.so inplace of libphp_java.so

2002-04-23 Thread PLancashire

 ID:   16755
 Updated by:   [EMAIL PROTECTED]
-Summary:  --with-java does not produce a libphp_java.so
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Solaris 2.8
 PHP Version:  4.0CVS-2002-04-23
 New Comment:

update summary line


Previous Comments:


[2002-04-23 10:58:34] [EMAIL PROTECTED]

---Environment
Solaris Sparc 2.8 Patchkit as of 5/Apr/2002
Gcc 3.0.3 (Sunfreeware)
binutils 2.11.2 (Sunfreeware)
GNU Make version 3.79.1 (Sunfreeware)
GNU libtool 1.4 (1.920 2001/04/24 23:26:18) (Sunfreeware)
java j2sdk1.4.0
Zlib 1.1.4 (source)
php 4.1.2

PATH includes /usr/j2sdk1.4.0/bin
JAVA_HOME /usr/j2sdk1.4.0
---


---configure---
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/httpd/conf \
--without-mysql \
--with-zlib-dir=/usr/local \
--with-zlib=/usr/local \
--with-java=/usr/j2sdk1.4.0
---

module name is now java.so

-pete




-- 
Edit this bug report at http://bugs.php.net/?id=16755&edit=1




[PHP-DOC] Bug #16755: --with-java does not produce a libphp_java.so

2002-04-23 Thread PLancashire

From: [EMAIL PROTECTED]
Operating system: Solaris 2.8
PHP version:  4.0CVS-2002-04-23
PHP Bug Type: Documentation problem
Bug description:  --with-java does not produce a libphp_java.so

---Environment
Solaris Sparc 2.8 Patchkit as of 5/Apr/2002
Gcc 3.0.3 (Sunfreeware)
binutils 2.11.2 (Sunfreeware)
GNU Make version 3.79.1 (Sunfreeware)
GNU libtool 1.4 (1.920 2001/04/24 23:26:18) (Sunfreeware)
java j2sdk1.4.0
Zlib 1.1.4 (source)
php 4.1.2

PATH includes /usr/j2sdk1.4.0/bin
JAVA_HOME /usr/j2sdk1.4.0
---


---configure---
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/httpd/conf \
--without-mysql \
--with-zlib-dir=/usr/local \
--with-zlib=/usr/local \
--with-java=/usr/j2sdk1.4.0
---

module name is now java.so

-pete
-- 
Edit bug report at http://bugs.php.net/?id=16755&edit=1
-- 
Fixed in CVS:http://bugs.php.net/fix.php?id=16755&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=16755&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=16755&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16755&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16755&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16755&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16755&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16755&r=submittedtwice




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

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 10:44:48 2002 EDT

  Modified files:  
/phpdoc/en/reference/dbplus constants.xml 
  Log:
  corrected comment at the end of file
  
Index: phpdoc/en/reference/dbplus/constants.xml
diff -u phpdoc/en/reference/dbplus/constants.xml:1.1 
phpdoc/en/reference/dbplus/constants.xml:1.2
--- phpdoc/en/reference/dbplus/constants.xml:1.1Tue Apr 23 07:05:59 2002
+++ phpdoc/en/reference/dbplus/constants.xmlTue Apr 23 10:44:48 2002
@@ -1,5 +1,5 @@
 
-
+
 
  &reftitle.constants;
  &extension.constants;
@@ -447,9 +447,13 @@
 sgml-indent-data:t
 indent-tabs-mode:nil
 sgml-parent-document:nil
-sgml-default-dtd-file:"manual.ced"
+sgml-default-dtd-file:"../../../manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
 End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
 -->
+





[PHP-DOC] cvs: phpdoc /de/faq misc.xml

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 10:26:19 2002 EDT

  Modified files:  
/phpdoc/de/faq  misc.xml 
  Log:
  small typo
  
Index: phpdoc/de/faq/misc.xml
diff -u phpdoc/de/faq/misc.xml:1.4 phpdoc/de/faq/misc.xml:1.5
--- phpdoc/de/faq/misc.xml:1.4  Fri Mar  8 10:38:48 2002
+++ phpdoc/de/faq/misc.xml  Tue Apr 23 10:26:19 2002
@@ -1,5 +1,5 @@
 
-
+
 
  
   Verschiedene Fragen
@@ -57,7 +57,7 @@


 
- Springen Sie mit cd ind as Verzeichnis, in dem Sie
+ Springen Sie mit cd in das Verzeichnis, in dem Sie
  die heruntergeladene Datei php_manual_lang.x.bz2 gespeichert haben
 






[PHP-DOC] cvs: phpdoc /en/reference/domxml functions.xml /en/reference/domxml/functions DomNode-replace-child.xml DomNode-replace-node.xml

2002-04-23 Thread Uwe Steinmann

steinm  Tue Apr 23 10:25:45 2002 EDT

  Added files: 
/phpdoc/en/reference/domxml/functions   DomNode-replace-child.xml 

  Modified files:  
/phpdoc/en/reference/domxml functions.xml 
/phpdoc/en/reference/domxml/functions   DomNode-replace-node.xml 
  Log:
  - added missing documentation for DomNode->replace_child()
  - update DomNode->replace_node()
  
  
Index: phpdoc/en/reference/domxml/functions.xml
diff -u phpdoc/en/reference/domxml/functions.xml:1.2 
phpdoc/en/reference/domxml/functions.xml:1.3
--- phpdoc/en/reference/domxml/functions.xml:1.2Tue Apr 16 01:14:49 2002
+++ phpdoc/en/reference/domxml/functions.xmlTue Apr 23 10:25:43 2002
@@ -52,6 +52,7 @@
 &reference.domxml.functions.DomNode-prefix;
 &reference.domxml.functions.DomNode-previous-sibling;
 &reference.domxml.functions.DomNode-remove-child;
+&reference.domxml.functions.DomNode-replace-child;
 &reference.domxml.functions.DomNode-replace-node;
 &reference.domxml.functions.DomNode-set-content;
 &reference.domxml.functions.DomNode-set-name;
Index: phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml
diff -u phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.3 
phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.4
--- phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml:1.3   Tue Apr 23 
01:29:54 2002
+++ phpdoc/en/reference/domxml/functions/DomNode-replace-node.xml   Tue Apr 23 
+10:25:44 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -18,9 +18,10 @@
 
  This function replaces an existing node with the passed
  new node. Before the replacement
- newnode is copied to make sure a node which is
+ newnode is copied if it has a parent to
+ make sure a node which is
  already in the document will not be inserted a second time. This
- behaviour enforces to do all modifications on the node before the
+ behaviour enforces doing all modifications on the node before the
  replacement or to refetch the inserted node afterwards with functions like
  DomNode_first_child,
  DomNode_child_nodes etc..

Index: phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml
+++ phpdoc/en/reference/domxml/functions/DomNode-replace-child.xml


  
   
DomNode->replace_child

 Replaces a child

   
   
Description

 objectDomNode->replace_child
 objectoldnode
 objectnewnode
 


 This function replaces the child oldnode
 with the passed new node. If the new node is already a child it
 will not be added a second time. If the old node cannot be found
 the function returns false. If the replacement succeds the old node
 is returned.


 See also DomNode_append_child
   
  







[PHP-DOC] cvs: phpdoc /en/reference/apache/functions apache-child-terminate.xml

2002-04-23 Thread Hartmut Holzgraefe

hholzgraTue Apr 23 07:47:16 2002 EDT

  Modified files:  
/phpdoc/en/reference/apache/functions   apache-child-terminate.xml 
  Log:
  fixed proto according to source changes, added notes about multithreded
  environments and apache.child_terminate settings and made it a bit more
  clear that calling apache_child_terminate doesn't terminate the script
  right away but kills the process only after PHP execution has finally
  finished
  
  
  
Index: phpdoc/en/reference/apache/functions/apache-child-terminate.xml
diff -u phpdoc/en/reference/apache/functions/apache-child-terminate.xml:1.2 
phpdoc/en/reference/apache/functions/apache-child-terminate.xml:1.3
--- phpdoc/en/reference/apache/functions/apache-child-terminate.xml:1.2 Wed Apr 17 
02:36:19 2002
+++ phpdoc/en/reference/apache/functions/apache-child-terminate.xml Tue Apr 23 
+07:47:14 2002
@@ -1,5 +1,4 @@
 
-
 
   

@@ -9,16 +8,28 @@

 Description
  
-  stringapache_child_terminate
+  boolapache_child_terminate
   
  
 
- apache_child_terminate will terminate the Apache
- process executing the current PHP request once it is completed. It may be
- used to terminate a process after a script with high memory consumption
- has been run as memory will usually only be freed internally but not
+ apache_child_terminate will register the
+ Apache process executing the current PHP request for termination
+ once execution of PHP code it is completed. It may be used to
+ terminate a process after a script with high memory consumption has
+ been run as memory will usually only be freed internally but not
  given back to the operating system. 
 
+
+ 
+  The availability of this feature is controlled by the &php.ini; directive
+  apache.child_terminate, which is set to off
+  by default.
+ 
+ 
+  This feature is also not available on multithreaded versions of apache 
+  like the win32 version.
+ 
+
 
  See also exit.
 





[PHP-DOC] cvs: phpdoc /pl/language operators.xml

2002-04-23 Thread Slawomir Pucia

slawek  Tue Apr 23 07:20:20 2002 EDT

  Modified files:  
/phpdoc/pl/language operators.xml 
  Log:
  Corrections of corrections. Outta be more careful next time :-) (qrak)
  
  
Index: phpdoc/pl/language/operators.xml
diff -u phpdoc/pl/language/operators.xml:1.13 phpdoc/pl/language/operators.xml:1.14
--- phpdoc/pl/language/operators.xml:1.13   Tue Apr 23 07:03:27 2002
+++ phpdoc/pl/language/operators.xmlTue Apr 23 07:20:20 2002
@@ -1,11 +1,11 @@
 
 
-
+
  
   Operatory
   
   
-  
+   
   
Priorytety operatorów

@@ -416,8 +416,8 @@
 

[PHP-DOC] cvs: phpdoc /en/appendices reserved.constants.dbplus.xml

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 07:09:05 2002 EDT

  Removed files:   
/phpdoc/en/appendices   reserved.constants.dbplus.xml 
  Log:
  Remove already integrated file
  





[PHP-DOC] cvs: phpdoc / reserved.constants.xml.in

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 07:08:19 2002 EDT

  Modified files:  
/phpdoc reserved.constants.xml.in 
  Log:
  Removing already moved constants part for dbplus.xml
  
Index: phpdoc/reserved.constants.xml.in
diff -u phpdoc/reserved.constants.xml.in:1.3 phpdoc/reserved.constants.xml.in:1.4
--- phpdoc/reserved.constants.xml.in:1.3Fri Apr 19 11:02:43 2002
+++ phpdoc/reserved.constants.xml.inTue Apr 23 07:08:19 2002
@@ -2,7 +2,6 @@
  
   &ReservedConstants;
   &appendices.reserved.constants.core;
-  &appendices.reserved.constants.dbplus;
   &appendices.reserved.constants.dbx;
   &appendices.reserved.constants.domxml;
   &appendices.reserved.constants.fbsql;





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

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 07:05:59 2002 EDT

  Added files: 
/phpdoc/en/reference/dbplus constants.xml 
  Log:
  adding constants info here
  


Index: phpdoc/en/reference/dbplus/constants.xml
+++ phpdoc/en/reference/dbplus/constants.xml



 &reftitle.constants;
 &extension.constants;
 

 
  DBPLUS_ERR_NOERR 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_DUPLICATE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_EOSCAN 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_EMPTY 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_CLOSE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_WLOCKED 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_LOCKED 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_NOLOCK 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_READ 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_WRITE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_CREATE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_LSEEK 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_LENGTH 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_OPEN 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_WOPEN 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_MAGIC 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_VERSION 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PGSIZE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_CRC 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PIPE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_NIDX 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_MALLOC 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_NUSERS 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PREEXIT 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_ONTRAP 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PREPROC 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_DBPARSE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_DBRUNERR 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_DBPREEXIT 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_WAIT 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_CORRUPT_TUPLE 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_WARNING0 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PANIC 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_FIFO 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_PERM 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_TCL 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_RESTRICTED 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_USER 
  (integer)
 
 
  
   
  
 


 
  DBPLUS_ERR_UNKNOWN 
  (integer)
 
 
  
   
  
 

   






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

2002-04-23 Thread Friedhelm Betz

betzTue Apr 23 07:04:41 2002 EDT

  Modified files:  
/phpdoc/en/reference/dbplus reference.xml 
  Log:
  Applied new structure
  

Index: phpdoc/en/reference/dbplus/reference.xml
diff -u phpdoc/en/reference/dbplus/reference.xml:1.2 
phpdoc/en/reference/dbplus/reference.xml:1.3
--- phpdoc/en/reference/dbplus/reference.xml:1.2Mon Apr 15 14:56:32 2002
+++ phpdoc/en/reference/dbplus/reference.xmlTue Apr 23 07:04:40 2002
@@ -1,5 +1,5 @@
 
-
+
  
   DB++ Functions
   DB++
@@ -7,23 +7,26 @@
   
&warn.experimental;

-   
-db++, made by the german company Concept asa, is a relational
-database system with high performance and low memory and disk
-usage in mind. While providing SQL as an additional language
-interface it is not really a SQL database in the first place but
-provides its own AQL query language which is much more influenced
-by the relational algebra then SQL is.
-   
-   
-Concept asa always had an interest in supporting open source
-languages, db++ has had Perl and Tcl call interfaces for years
-now and uses Tcl as its internal stored procedure language.
-   
-   
+   
+&reftitle.intro;
+
+ db++, made by the german company Concept asa, is a relational
+ database system with high performance and low memory and disk
+ usage in mind. While providing SQL as an additional language
+ interface it is not really a SQL database in the first place but
+ provides its own AQL query language which is much more influenced
+ by the relational algebra then SQL is.
+
+
+ Concept asa always had an interest in supporting open source
+ languages, db++ has had Perl and Tcl call interfaces for years
+ now and uses Tcl as its internal stored procedure language.
+
+   
+

-Requirements
+&reftitle.required;
 
  This extension relies on external client libraries so you have
  to have a db++ client installed on the system you want to use
@@ -39,7 +42,7 @@



-Installation
+&reftitle.install;
 
  In order to build this extension yourself you need the db++
  client libraries and header files to be installed on your system 
@@ -60,12 +63,12 @@



-Runtime Configuration
+&reftitle.runtime;
  &no.config;



-Resource Types
+&reftitle.resources;
 
  dbplus_relation
  
@@ -77,233 +80,7 @@
 

 
-   
-Predefined Constants
-
-
- db++ error codes
- 
-  
-   DB++ Error Codes
-   
-
- 
-  PHP Constant
-  db++ constant
-  meaning
- 
-
-
- 
-  DBPLUS_ERR_NOERR
-  ERR_NOERR
-  Null error condition
- 
- 
-  DBPLUS_ERR_DUPLICATE
-  ERR_DUPLICATE
-  Tried to insert a duplicate tuple
- 
- 
-  DBPLUS_ERR_EOSCAN
-  ERR_EOSCAN
-  End of scan from rget()
- 
- 
-  DBPLUS_ERR_EMPTY
-  ERR_EMPTY
-  Relation is empty (server)
- 
- 
-  DBPLUS_ERR_CLOSE
-  ERR_CLOSE
-  The server can't close
- 
- 
-  DBPLUS_ERR_WLOCKED
-  ERR_WLOCKED
-  The record is write locked
- 
- 
-  DBPLUS_ERR_LOCKED
-  ERR_LOCKED
-  Relation was already locked
- 
- 
-  DBPLUS_ERR_NOLOCK
-  ERR_NOLOCK
-  Relation cannot be locked
- 
- 
-  DBPLUS_ERR_READ
-  ERR_READ
-  Read error on relation
- 
- 
-  DBPLUS_ERR_WRITE
-  ERR_WRITE
-  Write error on relation
- 
- 
-  DBPLUS_ERR_CREATE
-  ERR_CREATE
-  Create() system call failed
- 
- 
-  DBPLUS_ERR_LSEEK
-  ERR_LSEEK
-  Lseek() system call failed
- 
- 
-  DBPLUS_ERR_LENGTH
-  ERR_LENGTH
-  Tuple exceeds maximum length
- 
- 
-  DBPLUS_ERR_OPEN
-  ERR_OPEN
-  Open() system call failed
- 
- 
-  DBPLUS_ERR_WOPEN
-  ERR_WOPEN
-  Relation already opened for writing
- 
- 
-  DBPLUS_ERR_MAGIC
-  ERR_MAGIC
-  File is not a relation
- 
- 
-  DBPLUS_ERR_VERSION
-  ERR_VERSION
-  File is a very old relation
- 
- 
-  DBPLUS_ERR_PGSIZE
-  ERR_PGSIZE
-  Relation uses a different page size
- 
- 
-  DBPLUS_ERR_CRC
-  ERR_CRC
-  Invalid crc in the superpage
- 
- 
-  DBPLUS_ERR_PIPE
-  ERR_PIPE
-  Piped relation requires lseek()
- 
- 
-  DBPLUS_ERR_NIDX
-  ERR_NIDX
-  Too many secondary indi

[PHP-DOC] cvs: phpdoc /pl/language operators.xml

2002-04-23 Thread Slawomir Pucia

slawek  Tue Apr 23 07:03:28 2002 EDT

  Modified files:  
/phpdoc/pl/language operators.xml 
  Log:
  Some small corrections, i.e. entities (qrak)
  
  
Index: phpdoc/pl/language/operators.xml
diff -u phpdoc/pl/language/operators.xml:1.12 phpdoc/pl/language/operators.xml:1.13
--- phpdoc/pl/language/operators.xml:1.12   Sat Apr 20 08:32:07 2002
+++ phpdoc/pl/language/operators.xmlTue Apr 23 07:03:27 2002
@@ -1,6 +1,6 @@
 
 
-
+
  
   Operatory
   
@@ -416,13 +416,13 @@
 
@@ -530,7 +530,7 @@
  
 

Re: [PHP-DOC] Bug #16738 Updated: confusing explanation of assigning by reference

2002-04-23 Thread Benjamin Schulz

sorry, this was a mistake - don't drink and surf!






[PHP-DOC] cvs: phpdoc /it/reference/filesystem/functions fgetcsv.xml

2002-04-23 Thread Simone Cortesi

cortesi Tue Apr 23 06:35:19 2002 EDT

  Modified files:  
/phpdoc/it/reference/filesystem/functions   fgetcsv.xml 
  Log:
  update to EN 1.3
  
  
Index: phpdoc/it/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc/it/reference/filesystem/functions/fgetcsv.xml:1.2 
phpdoc/it/reference/filesystem/functions/fgetcsv.xml:1.3
--- phpdoc/it/reference/filesystem/functions/fgetcsv.xml:1.2Wed Apr 17 03:06:36 
2002
+++ phpdoc/it/reference/filesystem/functions/fgetcsv.xmlTue Apr 23 06:35:18 
+2002
@@ -1,8 +1,6 @@
 
+
 
-
-
-
   

 fgetcsv
@@ -13,37 +11,39 @@
  
   arrayfgetcsv
   intfp
-  intlength
-  stringdelimiter
+  intlunghezza
+  stringdelimitatore
  
 
- Simile a fgets eccetto che per il fatto che
- fgetcsv analizza le righe che legge in cerca di campi 
+ Simile a fgets eccetto per il fatto che
+ fgetcsv analizza le righe lette alla ricerca di campi 
  in in formato CSV e restituisce un vettore contenente 
- i campi letti.  Il delimitatore di campo è una virgola, a meno che non
- venga specificato un altro delimitatore con il terzo parametro opzionale.
+ i campi letti. Il delimitatore di campo è una virgola, a meno che non
+ venga specificato un altro delimitatore usando il terzo parametro opzionale.
 
 
- Fp deve essere un puntatore valido ad un file 
+ fp deve essere un puntatore valido ad un file 
  correttamente aperto da fopen,
- popen o fsockopen
+ popen o fsockopen.
 
 
- Length deve essere maggiore della linea più lunga trovata nel file CSV
- (compresi i caratteri di fine riga).
+ lunghezza deve essere maggiore della linea 
+ più lunga trovata nel file CSV (compresi i caratteri di fine riga).
 
 
  fgetcsv restituisce &false; in caso d'errore e
- alla fine del file.
-
-
- N.B. Una riga vuota in un file CVS verrà riportata come un vettore
- contenente un solo campo vuoto (&null;) e non verrà trattata come un 
- errore.
+ al raggiungimento della fine del file.
 
+
+ 
+  Una riga vuota in un file CVS verrà riportata come un vettore
+  contenente un solo campo vuoto (&null;) e non verrà trattata come un 
+  errore.
+ 
+
 
  
-  fgetcsv example - Legge e scrive l'intero contenuto
+  Esempio di fgetcsv - Legge e scrive l'intero contenuto
   di un file CSV.
  
  
@@ -52,10 +52,10 @@
 $fp = fopen ("test.csv","r");
 while ($data = fgetcsv ($fp, 1000, ",")) {
 $num = count ($data);
-print "

$num fields in line $row:
"; +print " $num campi sulla linea $row: "; $row++; -for ($c=0; $c<$num; $c++) { -print $data[$c] . "
"; +for ($c=0; $c < $num; $c++) { +print $data[$c] . ""; } } fclose ($fp);


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

2002-04-23 Thread Simone Cortesi

cortesi Tue Apr 23 06:33:39 2002 EDT

  Modified files:  
/phpdoc/en/reference/filesystem/functions   fgetcsv.xml 
  Log:
  adding:
  
  
  
  
Index: phpdoc/en/reference/filesystem/functions/fgetcsv.xml
diff -u phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.2 
phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.3
--- phpdoc/en/reference/filesystem/functions/fgetcsv.xml:1.2Wed Apr 17 02:38:06 
2002
+++ phpdoc/en/reference/filesystem/functions/fgetcsv.xmlTue Apr 23 06:33:39 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -27,18 +27,20 @@
  popen, or fsockopen
 
 
- Length must be greater than the longest line to be found in the
- CSV file (allowing for trailing line-end characters).
+ Length must be greater than the longest 
+ line to be found in the CSV file (allowing for trailing line-end characters).
 
 
  fgetcsv returns &false; on error, including
  end of file.
 
-
- N.B. A blank line in a CSV file will be returned as an array
- comprising a single &null; field, and will not be treated as an
- error.
-
+
+ 
+  A blank line in a CSV file will be returned as an array
+  comprising a single &null; field, and will not be treated as an
+  error.
+ 
+
 
  
   fgetcsv example - Read and print entire





[PHP-DOC] cvs: phpdoc /it/reference/filesystem/functions fopen.xml

2002-04-23 Thread Simone Cortesi

cortesi Tue Apr 23 06:18:28 2002 EDT

  Modified files:  
/phpdoc/it/reference/filesystem/functions   fopen.xml 
  Log:
  RFC 2606
  
Index: phpdoc/it/reference/filesystem/functions/fopen.xml
diff -u phpdoc/it/reference/filesystem/functions/fopen.xml:1.2 
phpdoc/it/reference/filesystem/functions/fopen.xml:1.3
--- phpdoc/it/reference/filesystem/functions/fopen.xml:1.2  Wed Apr 17 03:06:38 
2002
+++ phpdoc/it/reference/filesystem/functions/fopen.xml  Tue Apr 23 06:18:28 2002
@@ -1,8 +1,6 @@
 
-
-
 
-
+
   

 fopen
@@ -133,7 +131,7 @@
 
   





[PHP-DOC] Bug #16744 Updated: automatik installation failed

2002-04-23 Thread derick

 ID:   16744
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
-Bug Type: Apache2 related
+Bug Type: Documentation problem
 Operating System: Windows 2000
 PHP Version:  4.2.0
 New Comment:

Apache 2 support is still experimental, as you could read from
www.php.net/release_4_2_0.php and I changed the category to
"Documentation Problem".

Derick


Previous Comments:


[2002-04-23 05:43:21] [EMAIL PROTECTED]

The automatic installatoin for Apache 2.0 failed.
The install.txt has no working methods to run php with apache 2.x




-- 
Edit this bug report at http://bugs.php.net/?id=16744&edit=1




[PHP-DOC] cvs: phpdoc /it/reference/filesystem/functions filetype.xml is-dir.xml realpath.xml

2002-04-23 Thread Simone Cortesi

cortesi Tue Apr 23 05:40:41 2002 EDT

  Modified files:  
/phpdoc/it/reference/filesystem/functions   filetype.xml is-dir.xml 
realpath.xml 
  Log:
  updating filesystem to EN 1.3
  
Index: phpdoc/it/reference/filesystem/functions/filetype.xml
diff -u phpdoc/it/reference/filesystem/functions/filetype.xml:1.2 
phpdoc/it/reference/filesystem/functions/filetype.xml:1.3
--- phpdoc/it/reference/filesystem/functions/filetype.xml:1.2   Wed Apr 17 03:06:38 
2002
+++ phpdoc/it/reference/filesystem/functions/filetype.xml   Tue Apr 23 05:40:41 
+2002
@@ -1,8 +1,6 @@
 
+
 
-
-
-
   

 filetype
@@ -29,6 +27,11 @@
  Questa funzione non lavora con i file remoti; i file da 
  esaminare devono essere accessibili attraverso il filesystem del server.
+
+
+ Vedere anche: is_dir, is_file, 
+ is_link, file_exists e
+ stat.
 

   
Index: phpdoc/it/reference/filesystem/functions/is-dir.xml
diff -u phpdoc/it/reference/filesystem/functions/is-dir.xml:1.2 
phpdoc/it/reference/filesystem/functions/is-dir.xml:1.3
--- phpdoc/it/reference/filesystem/functions/is-dir.xml:1.2 Wed Apr 17 03:06:39 
2002
+++ phpdoc/it/reference/filesystem/functions/is-dir.xml Tue Apr 23 05:40:41 2002
@@ -1,8 +1,6 @@
 
+
 
-
-
-
   

 is_dir
@@ -15,7 +13,9 @@
   stringfilename
  
 
- Restituisce &true; se il filename esiste ed è una directory.
+ Restituisce &true; se il nome file esiste ed è una directory. Se
+ filename è un nome file relativo, verrà
+ controllato relativamente alla directory di lavoro in uso.
 
 
  I risultati di questa funzione vengono memorizzati nella cache. Vedi 
@@ -27,7 +27,7 @@
  esaminare devono essere accessibili attraverso il filesystem del server.
 
 
- Vedere anche is_file e
+ Vedere anche chdir, is_file e
  is_link.
 

Index: phpdoc/it/reference/filesystem/functions/realpath.xml
diff -u phpdoc/it/reference/filesystem/functions/realpath.xml:1.2 
phpdoc/it/reference/filesystem/functions/realpath.xml:1.3
--- phpdoc/it/reference/filesystem/functions/realpath.xml:1.2   Wed Apr 17 03:06:41 
2002
+++ phpdoc/it/reference/filesystem/functions/realpath.xml   Tue Apr 23 05:40:41 
+2002
@@ -1,8 +1,6 @@
 
+
 
-
-
-
   

 realpath
@@ -16,20 +14,29 @@
  
 
  realpath espande tutti i link simbolici e risolve i
-riferimenti a '/./', '/../' ed altri caratteri '/'  nell'input
+ riferimenti a '/./', '/../' ed altri caratteri '/'  nell'input
  path e restituisce il percorso assoluto canonizzato.
-Il percorso risultante non avrà link simbolici,
+ Il percorso risultante non avrà link simbolici,
  '/./' o '/../'.
 
 
+ realpath restituisce &false; in caso di fallimento, per 
+esempio se
+ il file non esiste.
+
+
  
-  realpath example
+  Esempio di realpath
   
 
   
  
+
+
+ Vedere anche: basename, 
+ dirname e
+ path_info.