[PHP-DOC] Bug #16930 Updated: Add line to install.txt

2002-05-01 Thread goba

 ID:   16930
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Documentation problem
 Operating System: windows + apache
 PHP Version:  4.2.0
 New Comment:

Thomas, you are mixing two kind of setups, the module version, and the
CGI version. You'd better read the documentation wit more attention.

Goba


Previous Comments:


[2002-04-30 17:31:07] [EMAIL PROTECTED]

This is not a bug. Please double-check the documentation available
at http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php



[2002-04-30 11:35:04] [EMAIL PROTECTED]

install.txt of php4.2.0-win32 says on installing
php with apache on windows:

Then you should add the following three lines to your Apache
conf file: (swap c:/php/ for your PHP install path)

   LoadModule php4_module c:/php/sapi/php4apache.dll
   AddModule mod_php4.c
   AddType application/x-httpd-php .php

To get it working I had to add theses lines, too:

ScriptAlias/php4/"C:/php/"
Action application/x-httpd-php/php4/sapi/php.exe

I use:
apache_1.3.24-win32-x86-no_src.msi

Thank you for developing this software!

 thomas




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




[PHP-DOC] cvs: phpdoc /it/reference/cybercash reference.xml /it/reference/datetime reference.xml /it/reference/xslt reference.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 04:12:59 2002 EDT

  Modified files:  
/phpdoc/it/reference/cybercash  reference.xml 
/phpdoc/it/reference/datetime   reference.xml 
/phpdoc/it/reference/xslt   reference.xml 
  Log:
  updating files to current EN by curcio
  
  
Index: phpdoc/it/reference/cybercash/reference.xml
diff -u phpdoc/it/reference/cybercash/reference.xml:1.3 
phpdoc/it/reference/cybercash/reference.xml:1.4
--- phpdoc/it/reference/cybercash/reference.xml:1.3 Mon Apr 29 14:35:09 2002
+++ phpdoc/it/reference/cybercash/reference.xml Wed May  1 04:12:58 2002
@@ -1,17 +1,19 @@
 
-
+
  
   Funzioni di pagamento Cybercash
   Cybercash
 
-  
-   
-Queste funzioni sono disponibili solo se l'interprete è stato
-compilato con --with-cybercash=[DIR]. Queste funzioni
-sono state aggiunte nel PHP 4.
-   
-  
+
+ 
+  &reftitle.install;
+  
+   Queste funzione sono disponibili solo se l'interprete è stato compilato
+   con l'opzione --with-cybercash=[DIR].
+  
+ 
+
 
 &reference.cybercash.functions;
 
Index: phpdoc/it/reference/datetime/reference.xml
diff -u phpdoc/it/reference/datetime/reference.xml:1.3 
phpdoc/it/reference/datetime/reference.xml:1.4
--- phpdoc/it/reference/datetime/reference.xml:1.3  Mon Apr 29 14:35:09 2002
+++ phpdoc/it/reference/datetime/reference.xml  Wed May  1 04:12:59 2002
@@ -1,8 +1,54 @@
 
-
+
  
-  Funzioni di Data e Orario
-  Data/orario
+  Funzioni di Data e Ora
+  Data/ora
+  
+   
+&reftitle.intro;
+
+ Puoi usare queste funzione per la data e l'ora.
+ Queste funzioni ti permettono di scaricare la data e l'orario dal server
+ dove gira il PHP. Puoi usare queste funzioni per formattare
+ l'output delle date e degli orari in diversi modi.
+
+
+ 
+  Ricordati che queste funzioni dipendono
+  dai settaggi locali del tuo server. Considera specialmente
+  l'ora legale e gli anni bisestili.
+ 
+
+
+   
+   
+   
+&reftitle.required;
+&no.requirement;
+   
+   
+   
+&reftitle.install;
+&no.install;
+   
+   
+   
+&reftitle.runtime;
+&no.config;
+   
+
+   
+&reftitle.resources;
+&no.resource;
+   
+   
+   
+&reftitle.constants;
+&no.constants;
+   
+   
+  
+
 
 &reference.datetime.functions;
 
@@ -27,3 +73,4 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
+ 
Index: phpdoc/it/reference/xslt/reference.xml
diff -u phpdoc/it/reference/xslt/reference.xml:1.3 
phpdoc/it/reference/xslt/reference.xml:1.4
--- phpdoc/it/reference/xslt/reference.xml:1.3  Mon Apr 29 17:31:08 2002
+++ phpdoc/it/reference/xslt/reference.xml  Wed May  1 04:12:59 2002
@@ -9,7 +9,7 @@
 Introduzione
 
 
- Circa XSLT e Sablotron
+ XSLT e Sablotron
  
   XSLT (Extensible Stylesheet Language (XSL)
   Transformations) è un linguaggio per trasformare documenti XML in 
@@ -31,14 +31,14 @@
  
  
   Su UNIX, fai partire configure con l'opzione --enable-xslt --with-xslt-sablot
-  . La libreria Sablotron dovrebbe
+  role="configure">--enable-xslt --with-xslt-sablot. 
+  La libreria Sablotron dovrebbe
   essere installata da qualche parte dove il compilatore può trovarla. 
  
 
 
 
- Circa questa estensione
+ Questa estensione
  
   L'estensione PHP fornisce un processore indipendente API alle trasformazioni
   XSLT. Attualmente questa estensione supporta solo la libreria
@@ -47,7 +47,7 @@
  
  
   
-   Questa estensione è differenta dall'estensione sablotron distribuita con
+   Questa estensione è differente dall'estensione sablotron distribuita con
le versioni del PHP precedenti PHP 4.1, attualmente è supportata nel PHP 4.1
solo la nuova estensione XSLT. Se hai bisogno di supporto per le vecchie 
estensioni, fai la tua domanda
sulla mailing list [EMAIL PROTECTED]





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-select.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 04:49:57 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-select.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-select.xml
diff -u phpdoc/en/reference/sockets/functions/socket-select.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-select.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-select.xml:1.2 Wed Apr 17 02:44:10 
2002
+++ phpdoc/en/reference/sockets/functions/socket-select.xml Wed May  1 04:49:56 
+2002
@@ -1,24 +1,147 @@
 
-
+
 
   

 socket_select
-Runs the select() system call on the sets mentioned with a timeout 
specified by tv_sec and tv_usec 
+Runs the select() system call on the given arrays of sockets with a 
+timeout specified by tv_sec and tv_usec 


 Description
  
   intsocket_select
-  resourceread_fd
-  resourcewrite_fd
-  resourceexcept_fd
+  resourceread
+  resourcewrite
+  resourceexcept
   inttv_sec
   inttv_usec
  
  &warn.experimental.func;
 
- &warn.undocumented.func;
+ The socket_select accepts arrays of sockets and
+ waits for them to change status. Those coming with BSD sockets background
+ will recognize that those socket resource arrays are in fact the
+ so-called file descriptor sets. Three independent arrays of socket
+ resources are watched.
+
+
+ The sockets listed in the read array will be watched to
+ see if characters become available for reading (more precisely, to see if
+ a read will not block - in particular, a socket resource is also ready on
+ end-of-file, in which case a socket_read will return
+ a zero length string).
+
+
+ The sockets listed in the write array will be
+ watched  to  see if a write will not block.
+
+
+ The sockets listed in the except array will be
+ watched for exceptions.
+
+
+ On exit, the arrays are modified to indicate which socket resource
+ actually changed status.
+
+
+ You do not need to pass every array to
+ socket_select. You can leave it out and use an
+ empty array or &null; instead. Also do not forget that those arrays are
+ passed by reference and will be modified after
+ socket_select returns.
+
+
+ 
+  Due a limitation in the current Zend Engine it is not possible to pass a
+  constant modifier like &null; directly as a parameter to a function
+  which expects this parameter to be passed by reference. Instead use a
+  temporary variable or an expression with the leftmost member being a
+  temporary variable:
+  
+
+ 
+ 
+
+
+ The tv_sec and tv_usec
+ together form the timeout parameter. The
+ timeout is an upper bound on the amount of time
+ elapsed before socket_select return.
+ tv_sec may be zero , causing
+ socket_select to return immediately. This is useful
+ for polling. If tv_sec is &null; (no timeout),
+ socket_select can block indefinitely.
+
+
+ On success socket_select returns the number of
+ socket resorces contained in the modified arrays, which may be zero if
+ the timeout expires before anything interesting happens. On error &false;
+ is returned. The error code can be retrieved with
+ socket_last_error.
+
+
+ 
+ Be sure to use the === operator when checking for an
+ error. Since the socket_select may return 0 the
+ comparison with == would evaluate to &true;:
+ 
+
+ 
+ 
+
+
+ 
+  Be aware that some socket imeplementations need to be handled very
+  carefully. A few basic rules:
+  
+   
+
+ You should always try to use socket_select
+ without timeout. Your program should have nothing to do if there is
+ no data available. Code that depends on timeouts is not usually
+ portable and difficult to debug.
+
+   
+   
+
+ No socket resource must be added to any set if you do not intend to
+ check its result after the socket_select call,
+ and respond appropriately. After socket_select
+ returns, all socket resources in all arrays must be checked. Any
+ socket resource that is available for writing must be written to, and
+ any socket resource available for reading must be read from.
+
+   
+   
+
+ If you read/write to a socket returns in the arrays be aware that
+ they do not necessarily read/write the full amount of data you have
+ requested. Be prepared to even only be able to read/write a single
+ byte.
+
+   
+   
+
+ It's common to most socket implementations that the only exception
+ caught with the except array is out-of-bound
+ data received on a socket.
+
+   
+   

[PHP-DOC] cvs: phpdoc /en/appendices migration.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 04:53:08 2002 EDT

  Modified files:  
/phpdoc/en/appendices   migration.xml 
  Log:
  layout change: newline
  
  
Index: phpdoc/en/appendices/migration.xml
diff -u phpdoc/en/appendices/migration.xml:1.18 phpdoc/en/appendices/migration.xml:1.19
--- phpdoc/en/appendices/migration.xml:1.18 Tue Jan 15 08:56:41 2002
+++ phpdoc/en/appendices/migration.xml  Wed May  1 04:53:07 2002
@@ -1,5 +1,5 @@
 
-
+
 
  Migrating from PHP/FI 2 to PHP 3
 
@@ -30,7 +30,8 @@
 
   
A conversion program that can automatically convert your old
-   PHP/FI 2.0 scripts exists.  It can be found in the convertor subdirectory of the PHP 3.0
+   PHP/FI 2.0 scripts exists.  It can be found in the 
+   convertor subdirectory of the PHP 3.0
distribution.  This program only catches the syntax changes though,
so you should read this chapter carefully anyway.
   





[PHP-DOC] cvs: phpdoc /en/reference/sockets functions.xml /en/reference/sockets/functions socket-fd-alloc.xml socket-fd-clear.xml socket-fd-free.xml socket-fd-isset.xml socket-fd-set.xml socket-fd-zero.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 04:53:28 2002 EDT

  Removed files:   
/phpdoc/en/reference/sockets/functions  socket-fd-alloc.xml 
socket-fd-clear.xml 
socket-fd-free.xml 
socket-fd-isset.xml 
socket-fd-set.xml 
socket-fd-zero.xml 

  Modified files:  
/phpdoc/en/reference/socketsfunctions.xml 
  Log:
  - The socket_fd_*() functions have been removed quite some time ago.
  
  
Index: phpdoc/en/reference/sockets/functions.xml
diff -u phpdoc/en/reference/sockets/functions.xml:1.2 
phpdoc/en/reference/sockets/functions.xml:1.3
--- phpdoc/en/reference/sockets/functions.xml:1.2   Tue Apr 30 18:11:48 2002
+++ phpdoc/en/reference/sockets/functions.xml   Wed May  1 04:53:27 2002
@@ -6,12 +6,6 @@
 &reference.sockets.functions.socket-create;
 &reference.sockets.functions.socket-create-listen;
 &reference.sockets.functions.socket-create-pair;
-&reference.sockets.functions.socket-fd-alloc;
-&reference.sockets.functions.socket-fd-clear;
-&reference.sockets.functions.socket-fd-free;
-&reference.sockets.functions.socket-fd-isset;
-&reference.sockets.functions.socket-fd-set;
-&reference.sockets.functions.socket-fd-zero;
 &reference.sockets.functions.socket-getopt;
 &reference.sockets.functions.socket-getpeername;
 &reference.sockets.functions.socket-getsockname;





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-bind.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 04:59:09 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-bind.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-bind.xml
diff -u phpdoc/en/reference/sockets/functions/socket-bind.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-bind.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-bind.xml:1.2   Wed Apr 17 02:44:06 
2002
+++ phpdoc/en/reference/sockets/functions/socket-bind.xml   Wed May  1 04:59:09 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,17 +9,17 @@

 Description
  
-  intsocket_bind
+  boolsocket_bind
   resourcesocket
   stringaddress
   intport
  
-   &warn.experimental.func;
+&warn.experimental.func;
 
  socket_bind binds the name given in
  address to the socket described by
  socket, which must be a valid socket
- descriptor created with socket_create.
+ resource created with socket_create.
 
 
  The address parameter is either an IP
@@ -36,15 +36,17 @@
  should be made.
 
 
- Returns zero on success, or a negative error code on
- failure. This code may be passed to socket_strerror
- to get a textual explanation of the error.
+ Returns &true; on success, or a &false; on error. The error code can be
+ retrieved with socket_last_error. This code may be
+ passed to socket_strerror to get a textual
+ explanation of the error.
 
 
- See also 
+ See also
  socket_connect,
  socket_listen,
- socket_create, and
+ socket_create,
+ socket_last_error and
  socket_strerror.
 






[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-clear-error.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 05:00:14 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-clear-error.xml 
  Log:
  - Fix proto.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-clear-error.xml
diff -u phpdoc/en/reference/sockets/functions/socket-clear-error.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-clear-error.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-clear-error.xml:1.2Tue Apr 30 
18:42:28 2002
+++ phpdoc/en/reference/sockets/functions/socket-clear-error.xmlWed May  1 
+05:00:14 2002
@@ -1,5 +1,5 @@
 
-
+
   

 socket_clear_error
@@ -8,7 +8,7 @@

 Description
  
-  intsocket_clearerror
+  voidsocket_clear_error
   resourcesocket
  
  &warn.experimental.func;





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-close.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 05:04:04 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-close.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-close.xml
diff -u phpdoc/en/reference/sockets/functions/socket-close.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-close.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-close.xml:1.2  Wed Apr 17 02:44:06 
2002
+++ phpdoc/en/reference/sockets/functions/socket-close.xml  Wed May  1 05:04:04 
+2002
@@ -1,37 +1,34 @@
 
-
+
 
   

 socket_close
-Closes a socket descriptor
+Closes a socket resource


 Description
  
-  boolsocket_close
+  voidsocket_close
   resourcesocket
  
-   &warn.experimental.func;
+&warn.experimental.func;
 
- socket_close closes the file (or socket) descriptor
+ socket_close closes the socket resource
  given by socket.
 
-
- Note that socket_close should not be used on PHP
- file descriptors created with fopen,
- popen, fsockopen, or
- psockopen; it is meant for sockets created
- with socket_create or
- socket_accept.
-
-
- Returns &true; on success, or &false;
- if an error occurs (i.e., socket is invalid).
-
+
+ 
+  socket_close can't be used on PHP file resources
+  created with fopen, popen,
+  fsockopen, or psockopen; it is
+  meant for sockets created with socket_create or
+  socket_accept.
+ 
+
 
  See also socket_bind, socket_listen,
- socket_create, and
+ socket_create and
  socket_strerror.
 






[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-bind.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 05:06:50 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-bind.xml 
  Log:
  - Aha, we have &return.success; :-)
  
  
Index: phpdoc/en/reference/sockets/functions/socket-bind.xml
diff -u phpdoc/en/reference/sockets/functions/socket-bind.xml:1.3 
phpdoc/en/reference/sockets/functions/socket-bind.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-bind.xml:1.3   Wed May  1 04:59:09 
2002
+++ phpdoc/en/reference/sockets/functions/socket-bind.xml   Wed May  1 05:06:50 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -36,10 +36,10 @@
  should be made.
 
 
- Returns &true; on success, or a &false; on error. The error code can be
- retrieved with socket_last_error. This code may be
- passed to socket_strerror to get a textual
- explanation of the error.
+ &return.success; The error code can be retrieved with
+ socket_last_error. This code may be passed to
+ socket_strerror to get a textual explanation of the
+ error.
 
 
  See also





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-create-listen.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 05:30:47 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-create-listen.xml 
  Log:
  - Initial documentation.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-create-listen.xml
diff -u phpdoc/en/reference/sockets/functions/socket-create-listen.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-create-listen.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-create-listen.xml:1.2  Wed Apr 17 
02:44:07 2002
+++ phpdoc/en/reference/sockets/functions/socket-create-listen.xml  Wed May  1 
+05:30:47 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -15,7 +15,42 @@
  
  &warn.experimental.func;
 
- &warn.undocumented.func;
+ This function is meant to ease the task of creating a new socket which
+ only listens to accept new connections.
+
+
+ socket_create_listen create a new socket resource of
+ type AF_INET listening on all
+ local interfaces on the given port waiting for new connections.
+
+
+ The backlog parameter defines the maximum length
+ the queue of pending connections may grow to.
+ SOMAXCONN may be passed as
+ backlog parameter, see
+ socket_listen for more information.
+
+
+ socket_create_listen returns a new socket resource
+ on success or &false; on error. The error code can be retrieved with
+ socket_last_error. This code may be passed to
+ socket_strerror to get a textual explanation of the
+ error.
+
+
+ 
+  If you want to create a socket which only listens on a certain
+  interfaces you need to use socket_create,
+  socket_bind and socket_listen.
+ 
+
+
+ See also
+ socket_create,
+ socket_bind,
+ socket_listen,
+ socket_last_error and
+ socket_strerror.
 

   





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-select.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 05:31:56 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-select.xml 
  Log:
  - Forgot 'by reference' operator.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-select.xml
diff -u phpdoc/en/reference/sockets/functions/socket-select.xml:1.3 
phpdoc/en/reference/sockets/functions/socket-select.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-select.xml:1.3 Wed May  1 04:49:56 
2002
+++ phpdoc/en/reference/sockets/functions/socket-select.xml Wed May  1 05:31:56 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -10,9 +10,9 @@
 Description
  
   intsocket_select
-  resourceread
-  resourcewrite
-  resourceexcept
+  resource&read
+  
+resource&write
+  
+resource&except
   inttv_sec
   inttv_usec
  





[PHP-DOC] missing URL entities

2002-05-01 Thread Gabor Hojtsy

Hi!

Someone, who is working with the mcrypt docs, please
add these two URLs into global.ent. I've just updated
my phpdoc checkout, run configure, and found these two
entites unset.

url.mcrypt.bcm
url.mcrypt.iv

Goba





[PHP-DOC] cvs: phpdoc /RFC .cvsignore

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 06:13:02 2002 EDT

  Added files: 
/phpdoc/RFC .cvsignore 
  Log:
  Ignore manual.xml 
  
  

Index: phpdoc/RFC/.cvsignore
+++ phpdoc/RFC/.cvsignore
manual.xml




[PHP-DOC] cvs: phpdoc /entities global.ent

2002-05-01 Thread Derick Rethans

derick  Wed May  1 06:20:55 2002 EDT

  Modified files:  
/phpdoc/entitiesglobal.ent 
  Log:
  - Add mcrypt entities
  
  
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.19 phpdoc/entities/global.ent:1.20
--- phpdoc/entities/global.ent:1.19 Mon Apr 22 14:43:45 2002
+++ phpdoc/entities/global.ent  Wed May  1 06:20:55 2002
@@ -1,6 +1,6 @@
 

Re: [PHP-DOC] missing URL entities

2002-05-01 Thread derick

On Wed, 1 May 2002, Gabor Hojtsy wrote:

> Hi!
> 
> Someone, who is working with the mcrypt docs, please
> add these two URLs into global.ent. I've just updated
> my phpdoc checkout, run configure, and found these two
> entites unset.
> 
> url.mcrypt.bcm
> url.mcrypt.iv

Ah, forgot to commit this file. Thanks!

Derick

---
 Did I help you? Consider a gift:
  http://www.amazon.co.uk/exec/obidos/registry/SLCB276UZU8B
---
  PHP: Scripting the Web - [EMAIL PROTECTED]
All your branches are belong to me!
SRM: Script Running Machine - www.vl-srm.net
---




[PHP-DOC] php autodetect

2002-05-01 Thread Gabor Hojtsy

Hi!

I am not experienced with configure script coding at all,
but I have tried some methods to make php autodetect work
on windows, but with no success.

For now, you guys who would like to make PHP work on windows,
but a php.bat into the phpdoc directory, and call configure
with

  ./configure --with-php=php.bat

Quite ugly solution, but that's for now...

In php.bat:

  @"C:\PHP\php.exe" %1 %2 %3 %4 %5 %6

IMHO the best solution would be to put this php.bat into
phpdoc-tools, and make configure to autodetect that batch file
there. I was unable to patch the current configure file to do
so. :((( I tried relative path values, absolute path values,
I have put php.bat onto the PATH, but nothing worked...


Goba





[PHP-DOC] cvs: phpdoc /hu language-snippets.ent

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 06:37:41 2002 EDT

  Modified files:  
/phpdoc/hu  language-snippets.ent 
  Log:
  Getting in sync. Make test does seem to be OK with this update on the HU tree.
  
  
Index: phpdoc/hu/language-snippets.ent
diff -u phpdoc/hu/language-snippets.ent:1.19 phpdoc/hu/language-snippets.ent:1.20
--- phpdoc/hu/language-snippets.ent:1.19Fri Mar 29 13:50:36 2002
+++ phpdoc/hu/language-snippets.ent Wed May  1 06:37:40 2002
@@ -1,5 +1,5 @@
 
-
+
 
 Ez a kiterjesztés
 KÍSÉRLETI JELLEGGEL MÛKÖDIK. Ez azt jelenti,
@@ -91,4 +91,26 @@
 Ez a kiterjesztés semmilyen erõforrás
 típust nem definiál.'> 
 Ez a kiterjesztés semmilyen konstans
-értéket nem definiál.'>
\ No newline at end of file
+értéket nem definiál.'>
+Az itt leírt függvények a standard modulban
+találhatóak, ami mindig rendelkezésre áll.'>
+Semmilyen telepítés nem szükséges ezen függvények
+használatához, a PHP alapelemei.'>
+
+
+
+Az itt listázott állandókat ez a kiterjesztés
+definiálja, és csak akkor elérhetõek, ha az adott
+kiterjesztés be van fordítva a PHP-be, vagy
+dinamikusan betöltött.'>
+
+
+Bevezetés'>
+Követelmények'>
+Telepítés'>
+Futásidejû beállítások'>
+Erõforrás típusok'>
+Elõre definiált állandók'>
+Példák'>
+Lásd még'>





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-connect.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 07:15:40 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-connect.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-connect.xml
diff -u phpdoc/en/reference/sockets/functions/socket-connect.xml:1.3 
phpdoc/en/reference/sockets/functions/socket-connect.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-connect.xml:1.3Thu Apr 25 
18:32:01 2002
+++ phpdoc/en/reference/sockets/functions/socket-connect.xmlWed May  1 07:15:40 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -16,9 +16,9 @@
  
  &warn.experimental.func;
 
- Initiates a connection using the socket descriptor
+ Initiates a connection using the socket resource
  socket, which must be a valid socket
- descriptor created with socket_create.
+ resource created with socket_create.
 
 
  The address parameter is either an IP
@@ -35,15 +35,17 @@
  should be made.
 
 
- &return.success; This code may be passed to 
- socket_strerror to get a textual explanation
- of the error.
+ &return.success; The error code can be retrieved with
+ socket_last_error. This code may be passed to
+ socket_strerror to get a textual explanation of the
+ error.
 
 
  See also 
  socket_bind,
  socket_listen,
- socket_create, and
+ socket_create,
+ socket_last_error and
  socket_strerror.
 






[PHP-DOC] cvs: phpdoc /en/reference/sockets functions.xml /en/reference/sockets/functions socket-get-option.xml socket-getopt.xml socket-set-option.xml socket-setopt.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 07:16:12 2002 EDT

  Added files: 
/phpdoc/en/reference/sockets/functions  socket-get-option.xml 
socket-set-option.xml 

  Removed files:   
/phpdoc/en/reference/sockets/functions  socket-getopt.xml 
socket-setopt.xml 

  Modified files:  
/phpdoc/en/reference/socketsfunctions.xml 
  Log:
  - Rename getopt and setopt to get_option and set_option.
  
  
Index: phpdoc/en/reference/sockets/functions.xml
diff -u phpdoc/en/reference/sockets/functions.xml:1.3 
phpdoc/en/reference/sockets/functions.xml:1.4
--- phpdoc/en/reference/sockets/functions.xml:1.3   Wed May  1 04:53:27 2002
+++ phpdoc/en/reference/sockets/functions.xml   Wed May  1 07:16:12 2002
@@ -6,7 +6,7 @@
 &reference.sockets.functions.socket-create;
 &reference.sockets.functions.socket-create-listen;
 &reference.sockets.functions.socket-create-pair;
-&reference.sockets.functions.socket-getopt;
+&reference.sockets.functions.socket-get-option;
 &reference.sockets.functions.socket-getpeername;
 &reference.sockets.functions.socket-getsockname;
 &reference.sockets.functions.socket-iovec-add;
@@ -27,7 +27,7 @@
 &reference.sockets.functions.socket-sendmsg;
 &reference.sockets.functions.socket-sendto;
 &reference.sockets.functions.socket-set-nonblock;
-&reference.sockets.functions.socket-setopt;
+&reference.sockets.functions.socket-set-option;
 &reference.sockets.functions.socket-shutdown;
 &reference.sockets.functions.socket-strerror;
 &reference.sockets.functions.socket-write;

Index: phpdoc/en/reference/sockets/functions/socket-get-option.xml
+++ phpdoc/en/reference/sockets/functions/socket-get-option.xml



  
   
socket_get_option
Gets socket options for the socket 
   
   
Description
 
  mixedsocket_get_option
  resourcesocket
  intlevel
  intoptname
 
 &warn.experimental.func;

 &warn.undocumented.func;

   
  



Index: phpdoc/en/reference/sockets/functions/socket-set-option.xml
+++ phpdoc/en/reference/sockets/functions/socket-set-option.xml



  
   
socket_set_option
Sets socket options for the socket
   
   
Description
 
  boolsocket_set_option
  resourcesocket
  intlevel
  intoptname
  int
 
 &warn.experimental.func;

 &warn.undocumented.func;

   
  







[PHP-DOC] convert access to JAVA PHP mysql Xml Soap

2002-05-01 Thread Jacky Kenna


Hi  We are a publishing company based in London. We have developed a
multi-user
MS Access contact management and bookkeeping database system which we want
to adapt / re-write such that it can be used over the web ( ASP) using
Internet
Explorer (or similar) from any location, as our clients would like to use
it.

We are therefore looking for someone to develope or who will head a team of
developers and
co-ordinate this project. If you are interested in working with us on this,
please e-mail [EMAIL PROTECTED] with a brief outline of your knowledge
and experience of programming languages and I will get back to you as soon
as possible.

Jacky Kenna
Managing Director, PDA
0207 384 1985
[EMAIL PROTECTED]






[PHP-DOC] cvs: phpdoc /it/language oop.xml

2002-05-01 Thread Alan D'Angelo

alan_dangeloWed May  1 08:15:13 2002 EDT

  Modified files:  
/phpdoc/it/language oop.xml 
  Log:
  Update Translation to En-Revision 1.33
  
  
Index: phpdoc/it/language/oop.xml
diff -u phpdoc/it/language/oop.xml:1.12 phpdoc/it/language/oop.xml:1.13
--- phpdoc/it/language/oop.xml:1.12 Sat Dec 22 16:32:04 2001
+++ phpdoc/it/language/oop.xml  Wed May  1 08:15:13 2002
@@ -1,5 +1,5 @@
 
-
+
  
   Classi e Oggetti
 
@@ -76,11 +76,10 @@
 

 
- In PHP 4, sono permesse inizializzazioni di variabili con valori
- costanti solamente grazie all'uso di var. Per 
- inizializzare variabili con valori non-costanti, bisogna creare 
- una funzione d'inizializzazione che è chiamata automaticamente
- all'istanziazione di un oggetto da una classe. Questo tipo di
+ In PHP 4, sono permesse inizializzazioni di variabili con valori costanti 
+solamente 
+ grazie all'uso di var. Per inizializzare variabili con valori 
+ non-costanti, bisogna creare una funzione d'inizializzazione che è chiamata 
+ automaticamente all'istanziazione di un oggetto da una classe. Questo tipo di 
  funzione si chiama costruttore (vedi sotto).
 
 
@@ -158,6 +157,7 @@
 e $another_cart->items sono due diverse variabili che differiscono per il nome.
 Si noti che la variabile si chiama $cart->items, e non $cart->$items,
 questo perchè le variabili il PHP si scrivono con un unico simbolo di dollaro.
+

 

@@ -188,7 +188,16 @@
 '$this->items[$artnr] += $num' può essere letto come 'aggiungi $num al 
contatore
 $artnr al del mio array degli articoli' o 'aggiungi $num al contatore $artnr 
dell'array
 degli articoli di questo oggetto'.
+

+
+   
+
+Ci sono molte utili funzioni per manipolare classi ed oggetti. You might want
+dare un'occhiata alle Class/Object
+Functions
+
+   
   
   
   
@@ -196,7 +205,7 @@
 

 Spesso si ha bisogno di avere classi con variabili e funzioni
-simili ad altre classi. É buona norma perciò definire una classe in modo 
+simili ad altre classi. É buona norma definire una classe in modo 
 generico, sia per poterla riutilizzare spesso, sia per poterla 
 adattare a scopi specifici.Per facilitare questa operazione, è possibile
 generare classi per estensione di altre classi. Una classe estesa o derivata
@@ -206,6 +215,8 @@
 variabili e funzioni di una classe madre. Una classe estesa dipende sempre
 da una singola classe di base: l'eredità multipla non è supportata. Le classi
 si estendono usando la parola chiave 'extends'.
+
+

  

@@ -281,15 +292,13 @@

  

-Questo codice definisce una classe Auto_Cart che non è altro che 
+Questo codice definisce una classe Auto_Cart, che non è altro che 
 Cart più un costruttore che inizializza il carrello con una occorrenza 
 dell'articolo numero "10" ogni volta che un nuovo Auto_Cart è creato con
-"new". I costruttori possono avere degli argomenti, e questi argomenti 
-possono essere facoltativi, questo li rende molto versatili. Per 
-potere usare una classe senza specificare parametri (gli argomenti 
-richiesti dal costruttore), tutti i parametri del costruttore devono 
-essere resi facoltativi fornendo dei valori di default agli argomenti
-della funzione.   
+"new". I costruttori possono avere degli argomenti, e gli argomenti possono 
+essere facoltativi, questo li rende molto versatili. Per poter usare una classe 
+senza specificare parametri, tutti i parametri del costruttore devono essere resi
+facoltativi con valori di default.

  

@@ -398,8 +407,7 @@
 improvvisamente in un costruttore per la classe B, anche se 
 questo non era previsto. La regola in PHP 3 è: 'un costruttore 
 è una funzione che ha lo stesso nome di una classe'. PHP 3 non 
-si preoccupa se la funzione è stata definita nella classe B o 
-se è stata ereditata.
+si preoccupa se la funzione è stata definita nella classe B o se è stata 
+ereditata.



@@ -448,6 +456,7 @@
 A volte è utile riferirsi alle funzioni ed alle variabili 
 di classi base o riferirsi alle funzioni di classi senza 
 istanziarle. L'operatore :: è usato per questi scopi.
+



@@ -492,6 +501,7 @@
 si possa richiamare con $a->example(). example() è chiamata 
 come 'funzione della classe', e non come funzione di un 
 oggetto della classe.
+



@@ -509,6 +519,7 @@
 esplicitamente con l'operatore :: scrivendo A::example() per 
 richiamare la funzione (è possibile anche scrivere parent::example(), 
 come mostra la sezione seguente).
+



@@ -537,6 +548,8 @@
codice scritto. Se l'albero di eredità cambiasse durante lo sviluppo 
della classe, il cambiamento si ridurrebbe semplicemente alla modifica 
della dichiarazione extends della classe.
+
+
   
 
   
@@ -577,6 +590,7 @@
 durante il pro

[PHP-DOC] cvs: phpdoc /entities global.ent

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 08:21:11 2002 EDT

  Modified files:  
/phpdoc/entitiesglobal.ent 
  Log:
  adding entity for upcoming  in about.xml
  
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.20 phpdoc/entities/global.ent:1.21
--- phpdoc/entities/global.ent:1.20 Wed May  1 06:20:55 2002
+++ phpdoc/entities/global.ent  Wed May  1 08:21:11 2002
@@ -1,6 +1,6 @@
 

[PHP-DOC] cvs: phpdoc /en/appendices about.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 08:26:15 2002 EDT

  Modified files:  
/phpdoc/en/appendices   about.xml 
  Log:
  adding SECT to avoid ppl translating the manual starting from other formats than XML
  
Index: phpdoc/en/appendices/about.xml
diff -u phpdoc/en/appendices/about.xml:1.11 phpdoc/en/appendices/about.xml:1.12
--- phpdoc/en/appendices/about.xml:1.11 Tue Feb 26 05:04:38 2002
+++ phpdoc/en/appendices/about.xml  Wed May  1 08:26:15 2002
@@ -1,5 +1,5 @@
 
-
+
 
 

[PHP-DOC] cvs: phpdoc /it/language oop.xml

2002-05-01 Thread Alan D'Angelo

alan_dangeloWed May  1 08:26:30 2002 EDT

  Modified files:  
/phpdoc/it/language oop.xml 
  Log:
  One small correction
  
  
Index: phpdoc/it/language/oop.xml
diff -u phpdoc/it/language/oop.xml:1.13 phpdoc/it/language/oop.xml:1.14
--- phpdoc/it/language/oop.xml:1.13 Wed May  1 08:15:13 2002
+++ phpdoc/it/language/oop.xml  Wed May  1 08:26:30 2002
@@ -193,9 +193,9 @@
 

 
-Ci sono molte utili funzioni per manipolare classi ed oggetti. You might want
-dare un'occhiata alle Class/Object
-Functions
+Ci sono molte utili funzioni per manipolare classi ed oggetti. Se 
+desiderate conoscerle potete dare un'occhiata alle 
+Class/Object Functions
 

   





[PHP-DOC] cvs: phpdoc /it/reference/cpdf/functions cpdf-restore.xml cpdf-rlineto.xml cpdf-rmoveto.xml cpdf-rotate-text.xml cpdf-rotate.xml cpdf-save-to-file.xml cpdf-save.xml cpdf-scale.xml cpdf-set-action-url.xml cpdf-set-char-spacing.xml

2002-05-01 Thread Gabriele Scaroni

scaro   Wed May  1 08:26:54 2002 EDT

  Modified files:  
/phpdoc/it/reference/cpdf/functions cpdf-restore.xml 
cpdf-rlineto.xml 
cpdf-rmoveto.xml 
cpdf-rotate-text.xml 
cpdf-rotate.xml 
cpdf-save-to-file.xml 
cpdf-save.xml cpdf-scale.xml 
cpdf-set-action-url.xml 
cpdf-set-char-spacing.xml 
  Log:
  Translated some cpdf functions
  

Index: phpdoc/it/reference/cpdf/functions/cpdf-restore.xml
diff -u phpdoc/it/reference/cpdf/functions/cpdf-restore.xml:1.2 
phpdoc/it/reference/cpdf/functions/cpdf-restore.xml:1.3
--- phpdoc/it/reference/cpdf/functions/cpdf-restore.xml:1.2 Wed Apr 17 03:05:38 
2002
+++ phpdoc/it/reference/cpdf/functions/cpdf-restore.xml Wed May  1 08:26:54 2002
@@ -6,26 +6,26 @@
   

 cpdf_restore
-Restores formerly saved environment
+Ristabilisce le impostazioni salvate in precedenza


-Description
+Descrizione
  
   voidcpdf_restore
-  intpdf document
+  intdocumento pdf
  
 
- The cpdf_restore function restores the
- environment saved with cpdf_save. It works
- like the postscript command grestore. Very useful if you want
- to translate or rotate an object without effecting other objects.
+ La funzione cpdf_restore ristabilisce le
+ impostazioni salvate con cpdf_save. Funziona
+ come il comando postscript grestore. Molto utile se si vuole
+ traslare o ruotare un oggetto senza intaccare gli altri oggetti.
  
-  Save/Restore
+  Salvare/Richiamare
   
 
@@ -33,7 +33,7 @@
  
 
 
- See also cpdf_save.
+ Vedere anche cpdf_save.
 

   
Index: phpdoc/it/reference/cpdf/functions/cpdf-rlineto.xml
diff -u phpdoc/it/reference/cpdf/functions/cpdf-rlineto.xml:1.2 
phpdoc/it/reference/cpdf/functions/cpdf-rlineto.xml:1.3
--- phpdoc/it/reference/cpdf/functions/cpdf-rlineto.xml:1.2 Wed Apr 17 03:05:39 
2002
+++ phpdoc/it/reference/cpdf/functions/cpdf-rlineto.xml Wed May  1 08:26:54 2002
@@ -6,31 +6,31 @@
   

 cpdf_rlineto
-Draws a line
+Disegna una linea


-Description
+Descrizione
  
   voidcpdf_rlineto
-  intpdf document
+  intdocumento pdf
   floatx-coor
   floaty-coor
-  intmode
+  intmodo
  
 
- The cpdf_rlineto function draws a line from
- the current point to the relative point with coordinates
+ La funzione cpdf_rlineto disegna una linea dal
+ punto corrente al punto con coordinate relative
  (x-coor, y-coor).
 
 
- The optional parameter mode determines the unit
- length. If it's 0 or omitted the default unit as specified for the page
- is used. Otherwise the coordinates are measured in postscript points
- disregarding the current unit.
+ Il parametro facoltativo modo determina l'unità
+ di lunghezza. Se è 0 o è omesso viene utilizzata l'unità di 
+default
+ specificata per la pagina. Altrimenti le coordinate sono misurate in
+ punti postscript trascurando l'unità corrente.
 
 
- See also cpdf_moveto,
-  cpdf_rmoveto,
+ Vedere anche cpdf_moveto,
+  cpdf_rmoveto e
   cpdf_curveto.
 

Index: phpdoc/it/reference/cpdf/functions/cpdf-rmoveto.xml
diff -u phpdoc/it/reference/cpdf/functions/cpdf-rmoveto.xml:1.2 
phpdoc/it/reference/cpdf/functions/cpdf-rmoveto.xml:1.3
--- phpdoc/it/reference/cpdf/functions/cpdf-rmoveto.xml:1.2 Wed Apr 17 03:05:39 
2002
+++ phpdoc/it/reference/cpdf/functions/cpdf-rmoveto.xml Wed May  1 08:26:54 2002
@@ -6,30 +6,30 @@
   

 cpdf_rmoveto
-Sets current point
+Setta il punto corrente


-Description
+Descrizione
  
   voidcpdf_rmoveto
-  intpdf document
+  intdocumento pdf
   floatx-coor
   floaty-coor
-  intmode
+  intmodo
  
 
- The cpdf_rmoveto function set the current point
- relative to the coordinates x-coor and
+ La funzione cpdf_rmoveto setta il punto corrente
+ alle coordinate relative x-coor e
  y-coor.
 
 
- The optional parameter mode determines the unit
- length. If it's 0 or omitted the default unit as specified for the page is
- used. Otherwise the coordinates are measured in postscript points
- disregarding the current unit.
+ Il parametro facoltativo modo determina l'unità
+ di lunghezza. Se è 0 o è omesso viene utilizzata l'unità di 
+default
+ specificata per la pagina. Altrimenti le coordinate sono misurate in
+ punti postscript trascurando l'unità corrente.
 
 
- See also cpdf_moveto.
+ Vedere anche cpdf_moveto.
 

   
Index: phpdoc/it/re

Re: [PHP-DOC] php autodetect

2002-05-01 Thread Friedhelm Betz


Hallo Gabor,

Wednesday, May 01, 2002, 12:29:15 PM, you wrote:

> Hi!

> I am not experienced with configure script coding at all,
> but I have tried some methods to make php autodetect work
> on windows, but with no success.

Hm, it worked for me all the time, maybe because the path where php
is installed  is in my path environment variable.
e.g: /cygdrive/c/php:

The output, using cygwin:

$ ./configure
file versions
Makefile.in,v 1.113
configure.in,v 1.145
configure options:

checking for php... /cygdrive/c/php/php
checking php version... 4.1.1 ok
checking for jade... ../phpdoc-tools/jade/jade.exe

It also works specifying manually where the php.exe is located:
e.g.:

$ ./configure --with-php=/cygdrive/c/php/php.exe
file versions
Makefile.in,v 1.113
configure.in,v 1.145
configure options: --with-php=/cygdrive/c/php/php.exe

checking for php... /cygdrive/c/php/php.exe
checking php version... 4.1.1 ok

Maybe you didn't try the somewhat strange cygwin path-natation? :-)


 Friedhelm   




Re: [PHP-DOC] php autodetect

2002-05-01 Thread Gabor Hojtsy

> > I am not experienced with configure script coding at all,
> > but I have tried some methods to make php autodetect work
> > on windows, but with no success.
> 
> Hm, it worked for me all the time, maybe because the path where php
> is installed  is in my path environment variable.
> e.g: /cygdrive/c/php:
> 
> The output, using cygwin:
> 
> $ ./configure
> file versions
> Makefile.in,v 1.113
> configure.in,v 1.145
> configure options:
> 
> checking for php... /cygdrive/c/php/php
> checking php version... 4.1.1 ok
> checking for jade... ../phpdoc-tools/jade/jade.exe
> 
> It also works specifying manually where the php.exe is located:
> e.g.:
> 
> $ ./configure --with-php=/cygdrive/c/php/php.exe
> file versions
> Makefile.in,v 1.113
> configure.in,v 1.145
> configure options: --with-php=/cygdrive/c/php/php.exe
> 
> checking for php... /cygdrive/c/php/php.exe
> checking php version... 4.1.1 ok
> 
> Maybe you didn't try the somewhat strange cygwin path-natation? :-)

Still I would like to see a check for ../phpdoc-tools/php.bat or something
like this, as jade and other things does not need to be on the path,
but they are still found by configure. I feel a bit much to put php
to the path, but I'll do this if I feel to uncomfortable adding the
--with-php=php.bat every time to configure... Thanks for the tip.

Goba





[PHP-DOC] cvs: phpdoc /he/appendices about.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 11:36:22 2002 EDT

  Modified files:  
/phpdoc/he/appendices   about.xml 
  Log:
  I'm done. Somebody review this.
  
Index: phpdoc/he/appendices/about.xml
diff -u phpdoc/he/appendices/about.xml:1.1 phpdoc/he/appendices/about.xml:1.2
--- phpdoc/he/appendices/about.xml:1.1  Tue Apr 30 20:59:11 2002
+++ phpdoc/he/appendices/about.xml  Wed May  1 11:36:21 2002
@@ -17,8 +17,6 @@
   
îãøéê PHP îâéò áîñôø âøñàåú. âøñàåú àìå éëåìåú ìäúçì÷ ìùúé ÷áåöåú:
âøñàåú ùðéúï ì÷øåà áàåôï î÷ååï åçáéìåú ðéúðåú-ìäåøãä.
-   The PHP manual is provided in several formats. These formats can be divided
-   into two groups: online readable formats, and downloadable packages.
   
   

@@ -104,92 +102,86 @@
  
  
  
-  How to find more information about PHP
+  ëéöã ì÷áì îéãò ðåñó àåãåú PHP
   
-   This manual does not attempt to provide instruction about general
-   programming practices. If you are a first-time, or even just a beginning,
-   programmer, you may find it difficult to learn how to program in PHP using
-   just this manual. You may want to seek out a text more oriented towards
-   beginners. You can find a list of PHP-related books at &url.php.books;.
-  
-  
-   There are a number of active mailing lists for discussion of all aspects of
-   programming with PHP. If you find yourself stuck on a problem for which you
-   can't find your own solution, you may be able to get help from someone on
-   these lists. You can find a list of the mailing lists at &url.php.support;, as well as links to the
-   mailing list archives and other online support resources. Furthermore, at
-   &url.php.links; there is a list of
-   websites devoted to PHP articles, forums, and code galleries.
+   îãøéê æä ìà îðñä ìñô÷ äñáøéí àåãåú úøâåìé úëðåú ëììééí.
+   àí àúä îúëðú áôòí äøàùåðä, àå àôéìå ø÷ îúëðú îúçéì, àåìé úîöà
+   ùììîåã úëðåú á-PHP áàîöòåú îãøéê æä éäéä ÷ùä.
+   ëãàé ùúçôù è÷ñè ùîëååï éåúø ìîúçéìéí. àúä éëåì ìîöåà øùéîä ùì
+   ñôøéí ä÷ùåøéí ì-PHP á &url.php.books;.
+  
+  
+   éùðï îñôø øùéîåú ãéååø ôòéìåú ìãéåï ëì ääéáèéí ùì úëðåú òí PHP.
+   àí úú÷ò ôòí ááòéä ùàúä ìà îöìéç ìîöåà ìä ôúøåï, áàôùøåúê ì÷áì òæøä
+   îîéùäå áøùéîåú àìå. ðéúï ìîöåà øùéîä ùì øùéîåú äãéååø á &url.php.support;, ëîå âí ÷éùåøéí
+   ìî÷åøåú úîéëä î÷ååðéí àçøéí. áðåñó, á &url.php.links; éùðä øùéîä ùì àúøéí
+   äîå÷ãùéí ìîàîøéí, ôåøåîéí åâìøéåú ÷åã ùì PHP.
   
  
 
  
-  How to help improve the documentation
+  ëéöã ðéúï ìòæåø ìùéôåø äúéòåã
   
-   There are two ways you can help to improve this documentation.
+   éùðï ùúé ãøëéí ìòæåø ìùéôåø úéòåã æä.
   
   
-   If you find errors in this manual, in any language, please report them
-   using the bug system at &url.php.bugs;.
-   Classify the bug as "Documentation Problem". You can also submit problems
-   related to specific manual formats here.
+   àí àúä îåöà ùâéàåú áîãøéê æä, áëì ùôä, àðà ãååç òìéäï áàîöòåú îòøëú äáàâéí
+   á  &url.php.bugs;.
+   ñååâ àú äáàâ ë"áòééú úéòåã" ("Documentation Problem"). àúä éëåì ìãååç âí òì
+   áòéåú ä÷ùåøåú ìâøñàåú îñåéîåú ùì äúéòåã ëàï.
   
   

-Please don't abuse the bug system by submitting requests for help. Use the
-mailing lists or community sites mentioned earlier, instead.
+àðà àì úùúîù ìøòä áîòøëú äáàâéí ò"é ùìéçú á÷ùåú ìòæøä. äùúîù áøùéîåú äãéååø
+   åáàúøé ä÷äéìä ùöåéðå ÷åãí áî÷åí.

   
   
-   By contributing notes, you can provide additional examples, caveats, and
-   clarifications for other readers. But do not submit bug reports using the
-   annotation system please. You can read more about annotations in the 'About user notes' section of this
-   appendix.
+   òì-éãé äåñôú äòøåú, àúä éëåì ìñô÷ ãåâîàåú ðåñôåú, àæäøåú åäáäøåú ì÷åøàéí
+   äàçøéí. àê áá÷ùä àì úãååç òì áàâéí áàîöòåú îòøëú äôéøåùéí. ðéúï ì÷øåà òåã
+   òì äôéøåùéí áçì÷ 'àåãåú äòøåú äîùúîùéí'
+   ùì ðñôç æä.
   
  
  
  
-  How we generate the formats
+  ëéöã àðå îçåììéí àú äâøñàåú
   
-   This manual is written in XML using the DocBook XML DTD, using XML åîùúîù á DocBook XML DTD, äîùúîù á DSSSL (Document
-   Style and Semantics Specification Language) for formatting, and
-   experimentally the XSLT
+   Style and Semantics Specification Language) ìòéöåá, åáàåôï ðéñéåðé á
+   XSLT
 (Extensible Stylesheet Language Transformations)
-   for maintenance and formatting.
+   ìðéäåì åòéöåá.
   
   
-   Using XML as a source format gives us
-   the ability to generate many output formats from the source
-   files, while only maintaining one source document for all formats.
-   The tools used for formatting HTML and
-   TeX versions are
-   Jade, written by James Clark and XML ëôåøîè î÷åø îàôùø ìðå
+   ìçåìì ôìè áâøñàåú øáåú î÷áöé äî÷åø, úåê ðéäåì îñîê î÷åø
+   àçã òáåø ëì äâøñàåú.
+   äëìéí ìòéöåá âøñàåú ä-HTML åä-TeX
+   äí  Jade, ùðëúá ò"é â'ééîñ ÷ìàø÷ å The Modular DocBook Stylesheets
-   written by Norman Walsh.
-   We use Microsoft HTML Help
-   Workshop to generate the Windows HTML Help format
-   of the manual, a

[PHP-DOC] cvs: phpdoc /he translation.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 11:38:38 2002 EDT

  Modified files:  
/phpdoc/he  translation.xml 
  Log:
  Removed about.xml from work-in-progress
  
Index: phpdoc/he/translation.xml
diff -u phpdoc/he/translation.xml:1.17 phpdoc/he/translation.xml:1.18
--- phpdoc/he/translation.xml:1.17  Tue Apr 30 20:24:52 2002
+++ phpdoc/he/translation.xml   Wed May  1 11:38:36 2002
@@ -22,7 +22,7 @@
   
   
   
- 
+  
  
 
  
@@ -37,7 +37,6 @@
   
   
   
-  
  
 
 





[PHP-DOC] cvs: phpdoc /he/faq general.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 11:52:25 2002 EDT

  Modified files:  
/phpdoc/he/faq  general.xml 
  Log:
  Translated list in general.differences-34
  
Index: phpdoc/he/faq/general.xml
diff -u phpdoc/he/faq/general.xml:1.2 phpdoc/he/faq/general.xml:1.3
--- phpdoc/he/faq/general.xml:1.2   Tue Feb 12 15:50:19 2002
+++ phpdoc/he/faq/general.xml   Wed May  1 11:52:24 2002
@@ -87,26 +87,26 @@
   îäîàôééðéí äçãùéí äçùåáéí éåúø:
   

-Extended API module
+îåãåì API îåøçá


-Generalized build process under UNIX
+úäìéê áðééä îåëìì úçú UNIX


-Generic web server interface that also supports
-multi-threaded web servers
+îîù÷ ùøúéí ëììé ùúåîê âí
+   áùøúé web îøåáé-threads.


-Improved syntax highlighter
+öåáò úçáéø îùåôø

 
-Native HTTP session support
+úîéëä èáòéú á-HTTP sessions


-Output buffering support
+úîéëä áàâéøú ôìè


-More powerful configuration system
+îòøëú äâãøåú çæ÷ä éåúø


 Reference counting





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-getpeername.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 11:52:42 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-getpeername.xml 
  Log:
  - Initial documentation.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-getpeername.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.2Wed Apr 17 
02:44:08 2002
+++ phpdoc/en/reference/sockets/functions/socket-getpeername.xmlWed May  1 
+11:52:41 2002
@@ -1,10 +1,13 @@
 
-
+
 
   

 socket_getpeername
-Given an fd, stores a string representing sa.sin_addr and the value 
of sa.sin_port into addr and port describing the remote side of a socket 
+
+ Queries the local side of the given socket which may either result in host/port
+ or in a UNIX filesystem path, dependent on its type.
+


 Description
@@ -16,7 +19,24 @@
  
  &warn.experimental.func;
 
- &warn.undocumented.func;
+ If the given socket is of type AF_INET,
+ socket_getpeername will return the peers
+ IP address in dotted-quad notation (e.g.
+ 127.0.0.1) in the address
+ parameter and, if the optional port parameter is
+ present, also the associated port.
+
+
+ If the given socket is of type AF_UNIX,
+ socket_getpeername will return the UNIX filesystem
+ path (e.g. /var/run/daemon.sock) in the
+ address parameter.
+
+
+ &return.success; socket_getpeername may also return
+ &false; if the socket type is not any of AF_INET or
+ AF_UNIX, in which case the last socket error code is
+ not updated.
 

   





[PHP-DOC] cvs: phpdoc /he translation.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 11:58:13 2002 EDT

  Modified files:  
/phpdoc/he  translation.xml 
  Log:
  Added work-in-progress on reserved.xml
  
Index: phpdoc/he/translation.xml
diff -u phpdoc/he/translation.xml:1.18 phpdoc/he/translation.xml:1.19
--- phpdoc/he/translation.xml:1.18  Wed May  1 11:38:36 2002
+++ phpdoc/he/translation.xml   Wed May  1 11:58:13 2002
@@ -37,6 +37,7 @@
   
   
   
+  
  
 
 





[PHP-DOC] cvs: phpdoc /he/appendices reserved.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 11:58:42 2002 EDT

  Added files: 
/phpdoc/he/appendices   reserved.xml 
  Log:
  
  


Index: phpdoc/he/appendices/reserved.xml
+++ phpdoc/he/appendices/reserved.xml



 
  List of Reserved Words
  
   The following is a listing of predefined identifiers in PHP. None
   of the identifiers listed here should be used as identifiers in a
   your scripts. These lists include keywords and predefined variable,
   constant, and class names. These lists are neither exhaustive or
   complete.
  

  
  List of Keywords
   
These words have special meaning in PHP. Some of them represent things 
which look like functions, some look like constants, and so on--but 
they're not, really: they are language constructs. You cannot use any
of the following words as constants, class names, or function names. 
Using them as variable names is generally OK, but could lead to confusion.
   

   
PHP Keywords

 
  
   
and
   
   
or
   
   
xor
   
   
__FILE__
   
  
  
   
__LINE__
   
   
array
   
   
as
   
   
break
   
   
case
   
  
  
   
cfunction
   
   
class
   
   
const
   
   
continue
   
   
declare
   
  
  
   
default
   
   
die
   
   
do
   
   
echo
   
   
else
   
  
  
   
elseif
   
   
empty
   
   
enddeclare
   
   
endfor
   
   
endforeach
   
  
  
   
endif
   
   
endswitch
   
   
endwhile
   
   
eval
   
   
exit
   
  
  
   
extends
   
   
for
   
   
foreach
   
   
function
   
   
global
   
  
  
   
if
   
   
include
   
   
include_once
   
   
isset
   
   
list
   
  
  
   
new
   
   
old_function
   
   
print
   
   
require
   
   
require_once
   
  
  
   
return
   
   
static
   
   
switch
   
   
unset
   
   
use
   
  
  
   
var
   
   
while
   
  
 

   
  

  
   Predefined Variables

   
Server variables: $_SERVER

 
  Introduced in 4.1.0. In earlier versions, use
  $HTTP_SERVER_VARS.
 



 $_SERVER is an array containing information
 such as headers, paths, and script locations. The entries in this
 array are created by the webserver. There is no guarantee that
 every webserver will provide any of these; servers may omit some,
 or provide others not listed here. That said, a large number of
 these variables are accounted for in the CGI 1.1 specification, so you should
 be able to expect those.



 This is a 'superglobal', or automatic global, variable. This
 simply means that it is available in all scopes throughout a
 script. You don't need to do a global
 $_SERVER; to access it within functions or methods, as
 you do with $HTTP_SERVER_VARS.



 $HTTP_SERVER_VARS contains the same
 information, but is not an autoglobal. 



 If the register_globals directive
 is set, then these variables will also be made available in the
 global scope of the script; i.e., separate from the
 $_SERVER and $HTTP_SERVER_VARS 
 arrays.  For related information, see the security chapter titled 
 Using Register
  Globals. These individual globals are not autoglobals.



 You may or may not find any of the following elements in
 $_SERVER. Note that few, if any, of these will be available (or
 indeed have any meaning) if running PHP on the command line.



 
  
   'PHP_SELF'
   

 The filename of the currently executing script, relative to
 the document root. For instance,
 $_SERVER['PHP_SELF'] in a script at the
 address http://example.com/test.php/foo.bar
 would be /test.php/foo.bar.


 If PHP is running as a command-line processor, this variable
 is not available.

   
  

  
   'argv'
   

 Array of arguments passed to the script. When the script is
 run on the command line, this gives C-style access to the
 command line parameters. When called via the GET method, this
 wi

[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-getpeername.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:03:36 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-getpeername.xml 
  Log:
  - Stupid me, it's the remote side of course.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-getpeername.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.3 
phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.4
--- phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.3Wed May  1 
11:52:41 2002
+++ phpdoc/en/reference/sockets/functions/socket-getpeername.xmlWed May  1 
+12:03:35 2002
@@ -1,11 +1,11 @@
 
-
+
 
   

 socket_getpeername
 
- Queries the local side of the given socket which may either result in host/port
+ Queries the remote side of the given socket which may either result in host/port
  or in a UNIX filesystem path, dependent on its type.
 

@@ -20,7 +20,7 @@
  &warn.experimental.func;
 
  If the given socket is of type AF_INET,
- socket_getpeername will return the peers
+ socket_getpeername will return the peers (remote)
  IP address in dotted-quad notation (e.g.
  127.0.0.1) in the address
  parameter and, if the optional port parameter is





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-getpeername.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:07:19 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-getpeername.xml 
  Log:
  - Added 'See also'
  
  
Index: phpdoc/en/reference/sockets/functions/socket-getpeername.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.4 
phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.5
--- phpdoc/en/reference/sockets/functions/socket-getpeername.xml:1.4Wed May  1 
12:03:35 2002
+++ phpdoc/en/reference/sockets/functions/socket-getpeername.xmlWed May  1 
+12:07:19 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -37,6 +37,12 @@
  &false; if the socket type is not any of AF_INET or
  AF_UNIX, in which case the last socket error code is
  not updated.
+
+
+ See also
+ socket_getpeername,
+ socket_last_error and
+ socket_strerror.
 

   





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-getsockname.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:07:30 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-getsockname.xml 
  Log:
  - Initial documentation.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-getsockname.xml
diff -u phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-getsockname.xml:1.2Wed Apr 17 
02:44:08 2002
+++ phpdoc/en/reference/sockets/functions/socket-getsockname.xmlWed May  1 
+12:07:30 2002
@@ -1,10 +1,13 @@
 
-
+
 
   

 socket_getsockname
-Given an fd, stores a string representing sa.sin_addr and the value 
of sa.sin_port into addr and port describing the local side of a socket 
+
+ Queries the local side of the given socket which may either result in host/port
+ or in a UNIX filesystem path, dependent on its type.
+


 Description
@@ -16,7 +19,30 @@
  
  &warn.experimental.func;
 
- &warn.undocumented.func;
+ If the given socket is of type AF_INET,
+ socket_getsockname will return the local
+ IP address in dotted-quad notation (e.g.
+ 127.0.0.1) in the address
+ parameter and, if the optional port parameter is
+ present, also the associated port.
+
+
+ If the given socket is of type AF_UNIX,
+ socket_getsockname will return the UNIX filesystem
+ path (e.g. /var/run/daemon.sock) in the
+ address parameter.
+
+
+ &return.success; socket_getsockname may also return
+ &false; if the socket type is not any of AF_INET or
+ AF_UNIX, in which case the last socket error code is
+ not updated.
+
+
+ See also
+ socket_getpeername,
+ socket_last_error and
+ socket_strerror.
 

   





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-listen.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:21:42 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-listen.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-listen.xml
diff -u phpdoc/en/reference/sockets/functions/socket-listen.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-listen.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-listen.xml:1.2 Wed Apr 17 02:44:09 
2002
+++ phpdoc/en/reference/sockets/functions/socket-listen.xml Wed May  1 12:21:42 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -9,35 +9,52 @@

 Description
  
-  intsocket_listen
+  boolsocket_listen
   resourcesocket
-  intbacklog
+  intbacklog
  
  &warn.experimental.func;
 
  After the socket socket has been created
  using socket_create and bound to a name with
  socket_bind, it may be told to listen for incoming
- connections on socket. A maximum of
- backlog incoming connections will be
- queued for processing.
+ connections on socket.
 
 
- socket_listen is applicable only to sockets with
- type SOCK_STREAM or
- SOCK_SEQPACKET.
+ A maximum of backlog incoming connections will be
+ queued for processing. If a connection request arrives with the queue
+ full the client may receive an error with an indication of
+ ECONNREFUSED, or, if the underlying protocol supports
+ retransmission, the request may be ignored so that retries may succeed.
 
+
+ 
+  The maximum number passed to the backlog
+  parameter highly depends on the underlying platform. On linux, it is
+  silently truncated to SOMAXCONN. On win32, if
+  passed SOMAXCONN, the underlying service provider
+  responsible for the socket will set the backlog to a maximum
+  reasonable value. There is no standard provision to
+  find out the actual backlog value on this platform.
+ 
+
 
- Returns zero on success, or a negative error code on
- failure. This code may be passed to socket_strerror
- to get a textual explanation of the error.
+ socket_listen is applicable only to sockets of
+ type SOCK_STREAM or
+ SOCK_SEQPACKET.
 
 
- See also 
+ &return.success; The error code can be retrieved with
+ socket_last_error. This code may be passed to
+ socket_strerror to get a textual explanation of the
+ error.
+
+
+ See also
  socket_accept,
  socket_bind,
  socket_connect,
- socket_create, and
+ socket_create and
  socket_strerror.
 






[PHP-DOC] cvs: phpdoc /he/appendices reserved.xml

2002-05-01 Thread Sagie Maoz

n0nick  Wed May  1 12:24:28 2002 EDT

  Modified files:  
/phpdoc/he/appendices   reserved.xml 
  Log:
  this file's bigger than i originally thought.. translated ~1/4 so far :O
  
Index: phpdoc/he/appendices/reserved.xml
diff -u phpdoc/he/appendices/reserved.xml:1.1 phpdoc/he/appendices/reserved.xml:1.2
--- phpdoc/he/appendices/reserved.xml:1.1   Wed May  1 11:58:41 2002
+++ phpdoc/he/appendices/reserved.xml   Wed May  1 12:24:28 2002
@@ -1,28 +1,25 @@
 
-
+
 
  
-  List of Reserved Words
+  øùéîú îéìéí ùîåøåú
   
-   The following is a listing of predefined identifiers in PHP. None
-   of the identifiers listed here should be used as identifiers in a
-   your scripts. These lists include keywords and predefined variable,
-   constant, and class names. These lists are neither exhaustive or
-   complete.
+   ìäìï øùéîä ùì îæäéí îåâãøéí-îøàù á-PHP. àéï ìäùúîù áàó àçã îäîæäéí
+   äììå ëîæäéí áúåëðéåú ùìê. øùéîåú àìå îëéìåú îéìåú îôúç åîùúðéí, ÷áåòéí
+   åùîåú îçì÷åú ä÷áåòéí-îøàù. äøùéîåú äììå àéðï îîöåú àå îìàåú.
   
 
   
-  List of Keywords
+  øùéîú îéìåú-îôúç

-These words have special meaning in PHP. Some of them represent things 
-which look like functions, some look like constants, and so on--but 
-they're not, really: they are language constructs. You cannot use any
-of the following words as constants, class names, or function names. 
-Using them as variable names is generally OK, but could lead to confusion.
+ìîéìéí äàìå îùîòåú îéåçãú á-PHP. çì÷ï îééöâåú ãáøéí ùðøàéí ëôåð÷öéåú,
+   çì÷í ðøàéí ë÷áåòéí åëåìé -- àê ìîòùä, äï ìà: äï îáðé ùôä. ìà ðéúï
+   ìäùúîù áàó îäîéìéí äáàåú ë÷áåòéí, ùîåú îçì÷ä àå ùîåú ôåð÷öéä.
+   äùéîåù áäí ëùîåú îùúðéí äåà áñãø, àê éëåì ìäåáéì ìáìáåì.

 

-PHP Keywords
+îéìåú îôúç á-PHP
 
  
   
@@ -206,56 +203,54 @@
   
 
   
-   Predefined Variables
+   îùúðéí ÷áåòéí îøàù
 

-Server variables: $_SERVER
+îùúðé ùøú: $_SERVER
 
  
-  Introduced in 4.1.0. In earlier versions, use
+ äåöâ á-4.1.0. áâøñàåú ÷åãîåú, äùúîù á
   $HTTP_SERVER_VARS.
  
 
 
 
- $_SERVER is an array containing information
- such as headers, paths, and script locations. The entries in this
- array are created by the webserver. There is no guarantee that
- every webserver will provide any of these; servers may omit some,
- or provide others not listed here. That said, a large number of
- these variables are accounted for in the CGI 1.1 specification, so you should
- be able to expect those.
+ $_SERVER äåà îòøê äîëéì îéãò ëîå 
+ëåúøåú, ðúéáéí åîé÷åîé úåëðéåú.
+äòøëéí áîòøê æä ðåöøéí òì-éãé äùøú. àéï òøáåú ìëê ùëì ùøú
+éñô÷ àú äòøëéí äììå; ùøúéí òìåìéí ìäùîéè ëîä, àå ìñô÷ àçøéí
+ùìà øùåîéí ëàï. òí æàú, îñôø øá îäîùúðéí äììå îúåàøéí á
+îôøè CGI 1.1, ëê ùúðéúï ìöôåú
+ìäí.
 
 
 
- This is a 'superglobal', or automatic global, variable. This
- simply means that it is available in all scopes throughout a
- script. You don't need to do a global
- $_SERVER; to access it within functions or methods, as
- you do with $HTTP_SERVER_VARS.
+æäå îùúðä 'ñåôø-âìåáàìé', àå âìåáàìé àåèåîèé. îùîò, äåà æîéï
+áëì úçåí ùäåà áúåê úëðéú. àéï öåøê ìòùåú global
+ $_SERVER; ëãé ìâùú àìéå áúåê ôåð÷öéåú àå ùéèåú,
+ëîå á-$HTTP_SERVER_VARS.
 
 
 
- $HTTP_SERVER_VARS contains the same
- information, but is not an autoglobal. 
+ $HTTP_SERVER_VARS îëéì àú àåúå äîéãò, àê
+àéðå âìåáàìé àåèåîèé.
 
 
 
- If the register_globals directive
- is set, then these variables will also be made available in the
- global scope of the script; i.e., separate from the
- $_SERVER and $HTTP_SERVER_VARS 
- arrays.  For related information, see the security chapter titled 
- Using Register
-  Globals. These individual globals are not autoglobals.
+ àí ääðçéä register_globals
+îåâãøú, îùúðéí àìä éäéå æîéðéí âí áúçåí äâìåáàìé ùì äúëðéú;
+îùîò, áðôøã îäîòøëéí $_SERVER å-
+$HTTP_SERVER_VARS. ìîéãò øìååðèé, øàä
+ôø÷ äàáèçä ùùîå ùéîåù
+á-Register Globals. âìåáàìéí áåããéí àìå àéðí âìåáàìéí
+àåèåîèééí.
 
 
 
- You may or may not find any of the following elements in
- $_SERVER. Note that few, if any, of these will be available (or
- indeed have any meaning) if running PHP on the command line.
+
+àúä òìåì ìîöåà àå ìà ìîöåà ëì àçã îäàìîðèéí äáàéí á-$_SERVER.
+ùéí ìá ùø÷ ëîä, àí áëìì, îäîùúðéí äììå éäéå æîéðéí (åúäéä
+ìäí îùîòåú ëìùäé) àí PHP øõ îùåøú äô÷åãä.
 
 
 
@@ -264,15 +259,13 @@
'PHP_SELF'

 
- The filename of the currently executing script, relative to
- the document root. For instance,
- $_SERVER['PHP_SELF'] in a script at the
- address http://example.com/t

[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-read.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:33:46 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-read.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-read.xml
diff -u phpdoc/en/reference/sockets/functions/socket-read.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-read.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-read.xml:1.2   Wed Apr 17 02:44:09 
2002
+++ phpdoc/en/reference/sockets/functions/socket-read.xml   Wed May  1 12:33:46 
+2002
@@ -1,35 +1,49 @@
 
-
+
 
   

 socket_read
-Reads from a socket
+Reads a maximum of length bytes from socket


 Description
  
   stringsocket_read
-  
resourcesocket_des
+  resourcesocket
   intlength
   inttype
  
-   &warn.experimental.func;
+&warn.experimental.func;
 
- The function socket_read reads from socket 
- socket_des created by the
- socket_accept function the number of bytes set by
- length. Otherwise you can use \n, \t or \0 to
-  end reading. Returns data, or FALSE if
- socket_read failed.
+ The function socket_read reads from socket
+ socket created by the
+ socket_accept function the maximum number of bytes set by
+ length. Otherwise you can use \r, \n or \0 to
+  end reading (depending on the type parameter, see
+  below).
 
 
+ Returns the data as string on success, &false; on error. The error code
+ can be retrieved with socket_last_error. This code
+ may be passed to socket_strerror to get a textual
+ explanation of the error.
+
+
+ 
+  socket_read may return a zero length string
+  indicating the end of communication (i.e. the remote end point has
+  closed the connection).
+ 
+
+
  Optional type parameter is a named constant:
  
   

-PHP_BINARY_READ - use the system socket_read
-(Default in PHP >= 4.1.0)
+PHP_BINARY_READ - use the system read() function.
+Safe for reading binary data.  (Default in PHP
+>= 4.1.0)

   
   
@@ -40,13 +54,14 @@
  
 
 
- See also 
+ See also
  socket_accept,
  socket_bind,
  socket_connect,
  socket_listen,
- socket_strerror, and
- socket_write. 
+ socket_last_error,
+ socket_strerror and
+ socket_write.
 

   





[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-write.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 12:55:23 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-write.xml 
  Log:
  - Update docs.
  
  
Index: phpdoc/en/reference/sockets/functions/socket-write.xml
diff -u phpdoc/en/reference/sockets/functions/socket-write.xml:1.2 
phpdoc/en/reference/sockets/functions/socket-write.xml:1.3
--- phpdoc/en/reference/sockets/functions/socket-write.xml:1.2  Wed Apr 17 02:44:11 
2002
+++ phpdoc/en/reference/sockets/functions/socket-write.xml  Wed May  1 12:55:21 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -10,24 +10,53 @@
 Description
  
   intsocket_write
-  
resourcesocket_des
-  string&buffer
-  intlength
+  resourcesocket
+  stringbuffer
+  intlength
  
-   &warn.experimental.func;
+&warn.experimental.func;
 
  The function socket_write writes to the socket 
- socket_des from
- &buffer the number of bytes set by
- length.
+ socket from
+ buffer.
 
 
+ The optional parameter length can specify an
+ alternate length of bytes written to the socket. If this length is
+ greater then the buffer length, it is silently truncated to the length of
+ the buffer.
+
+
+ Returns the number of bytes successfully written to the socket or &false;
+ one error. The error code can be retrieved with
+ socket_last_error. This code may be passed to
+ socket_strerror to get a textual explanation of the
+ error.
+
+
+ 
+  socket_write does not necessarily write all bytes
+  from the given buffer. It's valid that, depending on the network
+  buffers etc., only a certain amount of data, even one byte, is written
+  though your buffer is greater. You have to watch out so you don't
+  unintentionally forget to transmit the rest of your data.
+ 
+
+
+ 
+  It is perfectly valid for socket_write to
+  return zero which means no bytes have been written. Be sure to use the
+  === operator to check for &false; in case of an
+  error.
+ 
+
+
  See also 
  socket_accept,
  socket_bind,
  socket_connect,
  socket_listen,
- socket_read, and
+ socket_read and
  socket_strerror.
 






[PHP-DOC] cvs: phpdoc /en/reference/sockets/functions socket-get-option.xml socket-set-option.xml

2002-05-01 Thread Markus Fischer

mfischerWed May  1 13:08:08 2002 EDT

  Modified files:  
/phpdoc/en/reference/sockets/functions  socket-get-option.xml 
socket-set-option.xml 
  Log:
  - Mention the old function names.
  # Last commit talp, promised ;-)
  
  
Index: phpdoc/en/reference/sockets/functions/socket-get-option.xml
diff -u phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.1 
phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.2
--- phpdoc/en/reference/sockets/functions/socket-get-option.xml:1.1 Wed May  1 
07:16:12 2002
+++ phpdoc/en/reference/sockets/functions/socket-get-option.xml Wed May  1 13:08:05 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -18,6 +18,12 @@
 
  &warn.undocumented.func;
 
+
+ 
+  This function used to be called socket_getopt() prior
+  to PHP 4.3.0
+ 
+

   
 
Index: phpdoc/en/reference/sockets/functions/socket-set-option.xml
diff -u phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.1 
phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.2
--- phpdoc/en/reference/sockets/functions/socket-set-option.xml:1.1 Wed May  1 
07:16:12 2002
+++ phpdoc/en/reference/sockets/functions/socket-set-option.xml Wed May  1 13:08:07 
+2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -19,6 +19,12 @@
 
  &warn.undocumented.func;
 
+
+ 
+  This function used to be called socket_setopt() prior
+  to PHP 4.3.0
+ 
+

   
 





[PHP-DOC] cvs: phpdoc / configure.in

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 13:08:45 2002 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  Adding windows PHP support (using ../phpdoc-tools/php.bat),
  as requested by me, and implemented by Friedhelm Betz.
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.145 phpdoc/configure.in:1.146
--- phpdoc/configure.in:1.145   Wed Apr  3 16:04:06 2002
+++ phpdoc/configure.in Wed May  1 13:08:43 2002
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.145 2002/04/03 21:04:06 hholzgra Exp $
+dnl $Id: configure.in,v 1.146 2002/05/01 17:08:43 goba Exp $
 
 dnl autoconf initialisation
 AC_INIT()
@@ -32,10 +32,22 @@
   AC_MSG_ERROR([$withval: not an executable file])
 fi
   else
-AC_PATH_PROGS(PHP,"php php4",no)
+if test -e ../phpdoc-tools/php.bat ; then
+  AC_MSG_CHECKING([for php])
+  PHP=../phpdoc-tools/php.bat
+  AC_MSG_RESULT($PHP)
+else
+  AC_PATH_PROGS(PHP,"php php4",no)
+fi
   fi
 ],[
-  AC_PATH_PROGS(PHP,"php php4",no)
+  if test -e ../phpdoc-tools/php.bat ; then
+AC_MSG_CHECKING([for php])
+PHP=../phpdoc-tools/php.bat
+AC_MSG_RESULT($PHP)
+  else
+AC_PATH_PROGS(PHP,"php php4",no)
+  fi
 ]
 )
 if test $PHP = "no"; then





[PHP-DOC] cvs: phpdoc / TODO

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 13:09:49 2002 EDT

  Modified files:  
/phpdoc TODO 
  Log:
  PHP detection on windows done
  
  
Index: phpdoc/TODO
diff -u phpdoc/TODO:1.31 phpdoc/TODO:1.32
--- phpdoc/TODO:1.31Wed Apr 17 18:22:39 2002
+++ phpdoc/TODO Wed May  1 13:09:47 2002
@@ -35,7 +35,6 @@
 BUILD SYSTEM:
   - merge ZendAPI into phpdoc proper (imajes)   
   - add translation support for ZendAPI (hartmut)
-  - improve php detection in configure for win (hartmut)
   - finish makefile cleanup (hartmut)
   - support both dsssl and xsl processors with configure/make (hartmut)
 problem: different processors seem to have different ideas on how





[PHP-DOC] cvs: phpdoc /howto howto.html.tar.gz

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 13:21:51 2002 EDT

  Modified files:  
/phpdoc/howto   howto.html.tar.gz 
  Log:
  New PHP support documented for Windows guys
  
  
Index: phpdoc/howto/howto.html.tar.gz





[PHP-DOC] cvs: phpdoc /howto tools.xml

2002-05-01 Thread Gabor Hojtsy

gobaWed May  1 13:22:04 2002 EDT

  Modified files:  
/phpdoc/howto   tools.xml 
  Log:
  New PHP support documented for Windows guys
  
  
Index: phpdoc/howto/tools.xml
diff -u phpdoc/howto/tools.xml:1.6 phpdoc/howto/tools.xml:1.7
--- phpdoc/howto/tools.xml:1.6  Tue Feb 26 16:08:08 2002
+++ phpdoc/howto/tools.xml  Wed May  1 13:22:03 2002
@@ -341,6 +341,19 @@
 
 
 
+ You also need a working copy of PHP 4.x to build the manual.
+ On Windows, you should put a php.bat
+ file to the phpdoc-tools directory, with
+ a PHP calling line. Something like this works (modify this according
+ to your PHP setup directory):
+ 
+  
+   @"E:\Program Files\PHP\php.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9
+  
+ 
+
+
+
  Verify that your directory structure looks like this:
  
   
@@ -363,8 +376,10 @@
+--jade (with jade.exe etc)
|
+--xsl (OPTIONAL!)
-  |
-  +--docbook (etc)
+   |  |
+   |  +--docbook (etc)
+   |
+   +--php.bat
   
  
 
@@ -389,7 +404,9 @@
  If you didn't get any errors, you're ready to rock&roll. 
  Otherwise, you could check out the
  installation appendix
- of "DocBook: The Definitive Guide".
+ of "DocBook: The Definitive Guide". if you think that the problem
+ is in the build system, ask on the
+ mailing list.
 
 






[PHP-DOC] cvs: phpdoc /pt_BR/appendices about.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 14:52:04 2002 EDT

  Added files: 
/phpdoc/pt_BR/appendicesabout.xml 
  Log:
  initial translation
  


Index: phpdoc/pt_BR/appendices/about.xml
+++ phpdoc/pt_BR/appendices/about.xml





 Sobre o manual

 
  Formatos
  
   O manual do PHP é fornecido em vários formatos. Esses formatos podem ser divididos
   em dois grupos: de leitura online e em pacotes para download.
  
  
   
Algumas editoras tornaram disponíveis versões impressas desse manual. Nós
não podemos recomendar nenhum deles, pois eles se tornam desatualizados
rapidamente.
   
  
  
   Você pode ler o manual online em &url.php;
   e em numerosos mirrors. Para melhor performance, escolha o
   mirror localizado mais fisicamente próximo a você. Você pode visualizar o manual no
   formato HTML simples ou em um formato HTML que se assemelha ao próprio
   look and feel do site do PHP
  
  
   A vantagem do manual online para a maioria dos formatos offline é a sua
   integração com os comentários
   dos usuários. A desvantagem óbvia é que você precisa estar online para
   ler o manual.
  
  
   Existem vários formatos offline do manual, e o formato mais apropriado
   para você depende do seu sistema operacional de seu estilo pessoal de
   leitura. Para informações de como esse manual é gerado e quais são esses
   formatos, veja a seção 'Como nós criamos os
   formatos' deste apêndice.
  
  
   As versões mais independentes de plataforma são o HTML e o texto simples.
   O formato HTML é fornecido em um único arquivo e também como
   um pacote de arquivos individuais para cada seção (o que resulta numa
   coleção de vários milhares de arquivos). Os formatos HTML e texto simples
   são condensados com o tar e comprimidos usando o bzip2.
  
  
   Outro formato popular independente de plataforma, e que ainda fornece suporte
   a impressão, é o PDF (também conhecido como Adobe Acrobat). Mas antes de você
   baixar o manual neste formato e apertar o botão Imprimir, esteja avisado que o
   ele tem por volta de 2000 páginas, e está sendo constantemente revisado.
  
  
   
Se você ainda não tem um programa capaz de visualizar arquivos PDF,
você precisará baixar o Adobe
Acrobat Reader.
   
  
  
   For owners of Palm-compatible handhelds, the Palm document and iSilo
   formats are ideal for this platform. You can bring your handheld with you
   on your daily commute and use a DOC
   or iSilo reader to brush up on your
   PHP knowledge, or just use it as a quick reference.
  
  
   Para a plataforma Windows, a versão HTML Help do manual condensa os originais
   no formato HTML para o uso com o HTML Help. Esse
   formato tem busca de textos, índice completo e marcadores. Vários
   ambientes de desenvolvimento populares do PHP em Windows se integram com
   esse formato da documentação para facilitar o acesso a documentação.
  
  
   
O Visual Basic for Linux é um projeto em fase de planejamento, que incluirá
o desenvolvimento de um gerador e visualizador de CHMs para Linux. Acompanhe o 
projeto em sua
página na SourceForge se você estiver
interessado.
   
  
 

 
  Sobre as notas de usuários
  
   Os comentários de usuários são uma importante presença no desenvolvimento
   deste manual. Permitindo aos usuários do manual a contribuir com exemplos
   e outros esclarecimentos através de seus browsers, nós podemos
   incorporar esse feedback no corpo do manual. E até que as
   notas sejam incorporadas, os comentários podem ser visualizados na versão
   online e em alguns formatos offline.
  
  
   
As contribuições dos usuários não são moderadas antes da sua publicação online, 
então
a qualidade desses textos e exemplos ou a veracidade e origem dessas
contribuições não pode ser garantida. (Not that there is any guarantee of
the quality or accuracy of the manual text itself.)
   
  
 

 
  Como encontrar mais informações sobre o PHP
  
   Esse manual não fornece instruções sobre práticas gerais 
   de programação. Se esse é seu primeiro contato, ou se ainda está iniciando em
   programação, você poderá encontrar dificuldade em aprender a programar em PHP apenas
   usando esse manual. Você precisa procurar textos destinados a orientar os
   iniciantes. Você pode encontrar uma lista de livros relacionados ao PHP em &url.php.books;.
  
  
   Há também um grande número de listas de discussão ativas para todos os aspectos da
   programação com o PHP. Se você se deparar com um problema que por si só
   não consegue solucionar, você poderá obter ajuda
   nestas listas. Uma relação dessas listas pode ser encontrada em &url.php.support;, como também links para
   os arquivos dessas listas de discussão e outras fontes de suporte online. Em
   &url.php.links; há uma relação de 
   sites com artigos, fóruns e galerias de código PHP.
  
 

 
  Como ajudar a melhorar a documentação
  
   Há maneiras de você contribuir a melhorar essa documentação.
  
  
   Se você encon

[PHP-DOC] cvs: phpdoc /en/reference/xslt/functions xslt-create.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 15:04:34 2002 EDT

  Modified files:  
/phpdoc/en/reference/xslt/functions xslt-create.xml 
  Log:
  removing dot in refpurpose
  
Index: phpdoc/en/reference/xslt/functions/xslt-create.xml
diff -u phpdoc/en/reference/xslt/functions/xslt-create.xml:1.2 
phpdoc/en/reference/xslt/functions/xslt-create.xml:1.3
--- phpdoc/en/reference/xslt/functions/xslt-create.xml:1.2  Wed Apr 17 02:45:21 
2002
+++ phpdoc/en/reference/xslt/functions/xslt-create.xml  Wed May  1 15:04:33 2002
@@ -1,10 +1,10 @@
 
-
+
 
   

 xslt_create
-Create a new XSLT processor.
+Create a new XSLT processor


 Description





[PHP-DOC] cvs: phpdoc /it/reference/xslt/functions xslt-create.xml xslt-error.xml xslt-free.xml xslt-process.xml xslt-set-base.xml xslt-set-encoding.xml xslt-set-error-handler.xml xslt-set-log.xml xslt-set-sax-handler.xml xslt-set-sax-handlers.xml xslt-set-scheme-handler.xml xslt-set-scheme-handlers.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 15:16:19 2002 EDT

  Modified files:  
/phpdoc/it/reference/xslt/functions xslt-create.xml xslt-error.xml 
xslt-free.xml xslt-process.xml 
xslt-set-base.xml 
xslt-set-encoding.xml 
xslt-set-error-handler.xml 
xslt-set-log.xml 
xslt-set-sax-handler.xml 
xslt-set-sax-handlers.xml 
xslt-set-scheme-handler.xml 
xslt-set-scheme-handlers.xml 
  Log:
  sorry, last commit had DOS newline
  sorry, sorry, sorry
  
  

Index: phpdoc/it/reference/xslt/functions/xslt-create.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-create.xml:1.3 
phpdoc/it/reference/xslt/functions/xslt-create.xml:1.4
--- phpdoc/it/reference/xslt/functions/xslt-create.xml:1.3  Wed May  1 15:06:23 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-create.xml  Wed May  1 15:16:18 2002
@@ -1,40 +1,40 @@
-
-
-  
-   
-xslt_create
-Crea un nuovo processore XSLT
-   
-   
-Descrizione
- 
-  resourcexslt_create
-  
- 
-
- Crea e restituisce un nuovo processore XSLT risorsa per la modifica dalle
- altre funzioni XSLT.
-
-   
-  
-  
-
+
+
+  
+   
+xslt_create
+Crea un nuovo processore XSLT
+   
+   
+Descrizione
+ 
+  resourcexslt_create
+  
+ 
+
+ Crea e restituisce un nuovo processore XSLT risorsa per la modifica dalle
+ altre funzioni XSLT.
+
+   
+  
+  
+
Index: phpdoc/it/reference/xslt/functions/xslt-error.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-error.xml:1.3 
phpdoc/it/reference/xslt/functions/xslt-error.xml:1.4
--- phpdoc/it/reference/xslt/functions/xslt-error.xml:1.3   Wed May  1 15:06:23 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-error.xml   Wed May  1 15:16:18 2002
@@ -1,65 +1,65 @@
-
-
-  
-   
-xslt_error
-Restituisce una stringa di errore
-   
-   
-Descrizione
- 
-  mixedxslt_error
-   resourcexh
- 
-
- Restituisce una stringa che descrive l'ultimo errore restituito dal
- processore XSLT indicato.
-
-
- 
-  
-  Gli errori di Handling usano le funzioni xslt_error e 
-  xslt_errno.
-  
-  
-
-  
- 
-
-   
-  
-
-
+
+
+  
+   
+xslt_error
+Restituisce una stringa di errore
+   
+   
+Descrizione
+ 
+  mixedxslt_error
+   resourcexh
+ 
+
+ Restituisce una stringa che descrive l'ultimo errore restituito dal
+ processore XSLT indicato.
+
+
+ 
+  
+  Gli errori di Handling usano le funzioni xslt_error e 
+  xslt_errno.
+  
+  
+
+  
+ 
+
+   
+  
+
+
Index: phpdoc/it/reference/xslt/functions/xslt-free.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-free.xml:1.3 
phpdoc/it/reference/xslt/functions/xslt-free.xml:1.4
--- phpdoc/it/reference/xslt/functions/xslt-free.xml:1.3Wed May  1 15:06:23 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-free.xmlWed May  1 15:16:18 2002
@@ -1,39 +1,39 @@
-
-
-  
-   
-xslt_free
-Libera un processore XSLT
-   
-   
-Descrizione
- 
-  voidxslt_free
-   resourcexh
- 
-
- Libera il processore XSLT identificato dall'handle dato.
-
-   
-  
-
-
+
+
+  
+   
+xslt_free
+Libera un processore XSLT
+   
+   
+Descrizione
+ 
+  voidxslt_free
+   resourcexh
+ 
+
+ Libera il processore XSLT identificato dall'handle dato.
+
+   
+  
+
+
Index: phpdoc/it/reference/xslt/functions/xslt-process.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-process.xml:1.3 
phpdoc/it/reference/xslt/functions/xslt-process.xml:1.4
--- phpdoc/it/reference/xslt/functions/xslt-process.xml:1.3 Wed May  1 15:06:23 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-process.xml Wed May  1 15:16:18 2002
@@ -1,178 +1,178 @@
-
-
-  
-   
-xslt_process
-Esegue una trasformazione XSLT
-   
-   
-Descrizione
- 
-  mixedxslt_process
-   resourcexh
-   stringxml
-   stringxsl
-   stringresult
-   arrayarguments
-   arrayparameters
- 
-
- La funzione xslt_process() è una delle più importanti della nuova estensione 
XSLT.
- Permette di eseguire una trasformazione XSLT usando quasi ogni tipo di
- fonte per l'input. Questa è un completamento mediante l'uso dell'argomento
- buffers -- un concetto preso dal processore XSLT Sablotron
- (attualmente l'unico processore XSLT supportato da questa estensione).
-
-
- Il più semplice tipo di trasformazione con la funzione 
xslt_process
- è la trasformazione di un file XML con un file XSLT, mettendo il
- risultato in un terzo file contenente un nuovo document

[PHP-DOC] cvs: phpdoc /it/reference/xslt/functions xslt-create.xml xslt-errno.xml xslt-error.xml xslt-free.xml xslt-process.xml xslt-set-base.xml xslt-set-encoding.xml xslt-set-error-handler.xml xslt-set-log.xml xslt-set-sax-handler.xml xslt-set-sax-handlers.xml xslt-set-scheme-handler.xml xslt-set-scheme-handlers.xml

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 15:06:23 2002 EDT

  Modified files:  
/phpdoc/it/reference/xslt/functions xslt-create.xml xslt-errno.xml 
xslt-error.xml xslt-free.xml 
xslt-process.xml 
xslt-set-base.xml 
xslt-set-encoding.xml 
xslt-set-error-handler.xml 
xslt-set-log.xml 
xslt-set-sax-handler.xml 
xslt-set-sax-handlers.xml 
xslt-set-scheme-handler.xml 
xslt-set-scheme-handlers.xml 
  Log:
  general update to current EN
  

Index: phpdoc/it/reference/xslt/functions/xslt-create.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-create.xml:1.2 
phpdoc/it/reference/xslt/functions/xslt-create.xml:1.3
--- phpdoc/it/reference/xslt/functions/xslt-create.xml:1.2  Wed Apr 17 03:09:01 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-create.xml  Wed May  1 15:06:23 2002
@@ -1,43 +1,40 @@
-
-
-
-
-
-  
-   
-xslt_create
-Crea un nuovo processore XSLT.
-   
-   
-Descrizione
- 
-  resourcexslt_create
-  
- 
-
- Crea e restituisce un nuovo processore XSLT riorsa per la modifica dalle
- altre funzioni XSLT.
-
-   
-  
-
-
+
+
+  
+   
+xslt_create
+Crea un nuovo processore XSLT
+   
+   
+Descrizione
+ 
+  resourcexslt_create
+  
+ 
+
+ Crea e restituisce un nuovo processore XSLT risorsa per la modifica dalle
+ altre funzioni XSLT.
+
+   
+  
+  
+
Index: phpdoc/it/reference/xslt/functions/xslt-errno.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.2 
phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.3
--- phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.2   Wed Apr 17 03:09:01 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-errno.xml   Wed May  1 15:06:23 2002
@@ -1,8 +1,5 @@
 
-
-
 
-
   

 xslt_errno
Index: phpdoc/it/reference/xslt/functions/xslt-error.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-error.xml:1.2 
phpdoc/it/reference/xslt/functions/xslt-error.xml:1.3
--- phpdoc/it/reference/xslt/functions/xslt-error.xml:1.2   Wed Apr 17 03:09:01 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-error.xml   Wed May  1 15:06:23 2002
@@ -1,68 +1,65 @@
-
-
-
-
-
-  
-   
-xslt_error
-Restituisce una stringa di errore
-   
-   
-Descrizione
- 
-  mixedxslt_error
-   resourcexh
- 
-
- Restituisce una stringa che descrive l'ultimo errore successo sul
- processore XSLT indicato.
-
-
- 
-  
-  Gli errori di Handling usano le funzioni xslt_error e 
-  xslt_errno.
-  
-  
-
-  
- 
-
-   
-  
-
-
+
+
+  
+   
+xslt_error
+Restituisce una stringa di errore
+   
+   
+Descrizione
+ 
+  mixedxslt_error
+   resourcexh
+ 
+
+ Restituisce una stringa che descrive l'ultimo errore restituito dal
+ processore XSLT indicato.
+
+
+ 
+  
+  Gli errori di Handling usano le funzioni xslt_error e 
+  xslt_errno.
+  
+  
+
+  
+ 
+
+   
+  
+
+
Index: phpdoc/it/reference/xslt/functions/xslt-free.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-free.xml:1.2 
phpdoc/it/reference/xslt/functions/xslt-free.xml:1.3
--- phpdoc/it/reference/xslt/functions/xslt-free.xml:1.2Wed Apr 17 03:09:03 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-free.xmlWed May  1 15:06:23 2002
@@ -1,42 +1,39 @@
-
-
-
-
-
-  
-   
-xslt_free
-Processore XSLT libero
-   
-   
-Descrizione
- 
-  voidxslt_free
-   resourcexh
- 
-
- Libera il processore XSLT identificato dall'handle dato.
-
-   
-  
-
-
+
+
+  
+   
+xslt_free
+Libera un processore XSLT
+   
+   
+Descrizione
+ 
+  voidxslt_free
+   resourcexh
+ 
+
+ Libera il processore XSLT identificato dall'handle dato.
+
+   
+  
+
+
Index: phpdoc/it/reference/xslt/functions/xslt-process.xml
diff -u phpdoc/it/reference/xslt/functions/xslt-process.xml:1.2 
phpdoc/it/reference/xslt/functions/xslt-process.xml:1.3
--- phpdoc/it/reference/xslt/functions/xslt-process.xml:1.2 Wed Apr 17 03:09:04 
2002
+++ phpdoc/it/reference/xslt/functions/xslt-process.xml Wed May  1 15:06:23 2002
@@ -1,181 +1,178 @@
-
-
-
-
-
-  
-   
-xslt_process
-Esegue una trasformazione XSLT
-   
-   
-Descrizione
- 
-  mixedxslt_process
-   resourcexh
-   stringxml
-   stringxsl
-   stringresult
-   arrayarguments
-   arrayparameters
- 
-
- La funzione xslt_process() è una delle più importanti della nuova estensione 
XSLT.
- Permette di eseguire una trasformazione XSLT usando quasi ogni tipo di
-   

[PHP-DOC] Re: [PHP-DEV] CVS Account Request: peter

2002-05-01 Thread Markus Fischer

Hi,

I've documented the major functions now for ext/sockets, but
there's still a bunch to do. I'm not going to do more
documentation on sockets anytime soon as my spare time is
too limited. Feel free to enhance the existing documentation
and/or add the new ones.

- Markus

ps: btw, I didn't paid much attention to what the API was <
4.3 as this extension is still marked experimental so it's
simply not necessary and I suggest going for CVS HEAD too so
we have a stable sockets with 4.3 and the documentation too.

On Fri, Apr 19, 2002 at 07:52:05PM +1000, Peter wrote : 
> Hello Marcus,
> PHP functions regularly change from the old system of returning a negative value to 
>using false. The PHP 
> documentation for sockets show all the sockets functions using a negative number. In 
>4.1.12 there are at least two 
> functions changed to return false for an error. I could update those pages now as I 
>worked on sockets with 4.1.2 today.
> 
> I might test the same code with RC4 on Sunday. Either way, some pages would be 
>updated and gain examples.
> 
> Peter
> 
> 
> 4/19/02 4:25:40 PM, Markus Fischer <[EMAIL PROTECTED]> wrote:
> 
> >On Fri, Apr 19, 2002 at 05:43:13AM -, Peter Moulding wrote : 
> >> The documentation seems to be behind 4.1.2 and lacking a few
> >> examples I could provide. If you want help updating the
> >> documentation and expanding the examples, I can contribute the
> >> odd hour some weeks. I have several pages of updates to
> >> contribute for sockets based on PHP 4.1.2.
> >
> >Based on 4.1.2 ? Updating the docs then would not be a good
> >idea. They changed quite a lot since 4.1.2 and some
> >parameters/return values in current CVS HEAD are already
> >different (the joy of development ...)
> >
> >[sorry if I maybe missunderstood the sockets thing
> >completely].
> >
> >Er, anyway, contributors are always welcome ;-)
> >
> >- Markus
> >
> >-- 
> >Please always Cc to me when replying to me on the lists.
> >GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> >"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"
> >
> 
> 
> 
> 
> -- 
> PHP Development Mailing List 
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"



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

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 19:12:32 2002 EDT

  Modified files:  
/phpdoc/it  translation.xml 
  Log:
  adding 2 new WIP by alan_dangelo
  
Index: phpdoc/it/translation.xml
diff -u phpdoc/it/translation.xml:1.79 phpdoc/it/translation.xml:1.80
--- phpdoc/it/translation.xml:1.79  Mon Apr 29 08:42:27 2002
+++ phpdoc/it/translation.xml   Wed May  1 19:12:32 2002
@@ -82,6 +82,8 @@
   
   
   
+  
+  
  
 
 





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

2002-05-01 Thread Simone Cortesi

cortesi Wed May  1 19:20:08 2002 EDT

  Modified files:  
/phpdoc/it  translation.xml 
  Log:
  adding new translator/translation
  
Index: phpdoc/it/translation.xml
diff -u phpdoc/it/translation.xml:1.80 phpdoc/it/translation.xml:1.81
--- phpdoc/it/translation.xml:1.80  Wed May  1 19:12:32 2002
+++ phpdoc/it/translation.xml   Wed May  1 19:20:08 2002
@@ -46,6 +46,7 @@
   
   

+   
  
  
  
@@ -82,8 +83,11 @@
   
   
   
-  
-  
+  
+  
+  
+  
+  
  
 
 





[PHP-DOC] cvs: phpdoc /pt_BR translation.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:12:10 2002 EDT

  Modified files:  
/phpdoc/pt_BR   translation.xml 
  Log:
  progress in appendices
  
Index: phpdoc/pt_BR/translation.xml
diff -u phpdoc/pt_BR/translation.xml:1.7 phpdoc/pt_BR/translation.xml:1.8
--- phpdoc/pt_BR/translation.xml:1.7Sun Apr 28 22:12:23 2002
+++ phpdoc/pt_BR/translation.xmlWed May  1 22:12:09 2002
@@ -22,6 +22,6 @@



-   
+   

 





[PHP-DOC] cvs: phpdoc /pt_BR/appendices about.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:13:32 2002 EDT

  Modified files:  
/phpdoc/pt_BR/appendicesabout.xml 
  Log:
  en-sync
  
Index: phpdoc/pt_BR/appendices/about.xml
diff -u phpdoc/pt_BR/appendices/about.xml:1.1 phpdoc/pt_BR/appendices/about.xml:1.2
--- phpdoc/pt_BR/appendices/about.xml:1.1   Wed May  1 14:52:02 2002
+++ phpdoc/pt_BR/appendices/about.xml   Wed May  1 22:13:32 2002
@@ -1,5 +1,5 @@
 
-
+
 
 

[PHP-DOC] cvs: phpdoc /pt_BR/chapters intro.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:14:08 2002 EDT

  Modified files:  
/phpdoc/pt_BR/chapters  intro.xml 
  Log:
  typo
  
Index: phpdoc/pt_BR/chapters/intro.xml
diff -u phpdoc/pt_BR/chapters/intro.xml:1.7 phpdoc/pt_BR/chapters/intro.xml:1.8
--- phpdoc/pt_BR/chapters/intro.xml:1.7 Tue Apr 30 10:53:05 2002
+++ phpdoc/pt_BR/chapters/intro.xml Wed May  1 22:14:08 2002
@@ -84,7 +84,7 @@
e principal campo de atuação do PHP. Você precisa de três coisas
para seu trabalho. O interpretador do PHP (como CGI ou módulo),
um servidor web e um browser. Basta 
-   rodar o servidor web onectado a um PHP instalado.
+   rodar o servidor web conectado a um PHP instalado.
Você pode acessar os resultados de seu programa PHP com um browser,
visualizando a página PHP através do servidor web. Veja as
instruções de instalação





[PHP-DOC] cvs: phpdoc /pt_BR/appendices about.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:30:49 2002 EDT

  Modified files:  
/phpdoc/pt_BR/appendicesabout.xml 
  Log:
  ooops...
  
Index: phpdoc/pt_BR/appendices/about.xml
diff -u phpdoc/pt_BR/appendices/about.xml:1.2 phpdoc/pt_BR/appendices/about.xml:1.3
--- phpdoc/pt_BR/appendices/about.xml:1.2   Wed May  1 22:13:32 2002
+++ phpdoc/pt_BR/appendices/about.xml   Wed May  1 22:30:48 2002
@@ -200,7 +200,7 @@
  
 
  
-  Translations
+  Traduções
   
O manual do PHP não está disponível apenas em vários formatos,
mas também em várias línguas. O texto do





[PHP-DOC] cvs: phpdoc /pt_BR/appendices commandline.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:32:38 2002 EDT

  Added files: 
/phpdoc/pt_BR/appendicescommandline.xml 
  Log:
  initial translation
  


Index: phpdoc/pt_BR/appendices/commandline.xml
+++ phpdoc/pt_BR/appendices/commandline.xml




 Usando o PHP na linha de comando
 
  As opções de linha de comando para o executável do PHP são úteis
  se você deseja debugar ou testar a instalação do PHP, mas
  pode ser mais que isso, se você precisa utilizar o PHP para um
  propósito diferente do script para Web.
 
 
  Note que você sempre pode direcionar a saída do executável do PHP
  para um arquivo externo com o caracter >,
  então php -q test.php > test.html
  enviará todo a saída de test.php
  sem os headers HTTP para o arquivo test.html
  no mesmo diretório.
 
 
  Você só pode utilizar essas opções de linha de comando se você tiver
  o PHP executável. Se você compilou a versão módulo
  e não possui a versão CGI disponível em sua
  máquina, então você não poderá usar essas opções.
  Para os usuários Windows, tanto a versão executável e módulo do PHP
  então na distribuição binária, onde o executável é
  chamado php.exe.
 
 
  A seguinte lista das opções de linha de comando está atualizada para o PHP 4.0.6.
  Você pode obter a lista atualizada e algumas descrições com o opcional
  -h. A saída de
   php -h deverá ser algo como isso:
  

  
 
 
  Esta é a lista das mais importantes opções de linha de comando
  com explicações detalhadas.
 
 
  
   Opções de linha de comando
   

 
  Opção
  Descrição
 


 
  -q
  
   Suprime os headers HTTP na saída. Normalmente o PHP imprime
   headers HTTP para o programa chamador (normalmente o servidor web)
   para encaminhar para o browser. Escrevendo aplicações
   para a linha de comando esses headers são desnecessários.
  
 
 
  -s
  
   Exibe o código fonte com destaque de cores para o arquivo
   interpretado com essa opção. Tem o mesmo efeito de você
   exibir código fonte utilizando a função
   highlight_file num
   script PHP.
  
 
 
  -f
  
   Interpreta o arquivo informado, e procura por erros de sintaxe ou
   fatais. Essa opção implica em -q. Utilize para
   debugar.
  
 
 
  -v
  
   Chamando o PHP com essa opção, ele exibe
   o número da sua versão, por exemplo, 4.0.6.
  
 
 
  -C
  
   Normalmente o PHP altera o diretório de trabalho para
   o diretório de execução do script. Esta opção torna possível,
   por exemplo, abrir arquivos no mesmo diretório,
   apenas especificando o nome do arquivo. Se você
   deseja desativar essa modificação de diretório, basta
   usar a opção.
  
 
 
  -c
  
   Utilizando essa opção, você pode especificar um caminho alternativo
   para o &php.ini;, então o PHP
   procurará por seu arquivo de configurações neste caminho
   em vez de seu default.
  
 
 
  -d
  
   Com essa opção, você pode configurar diretivas individuais do
   &php.ini; para
   execução de um script.
  
 
 
  -l
  
   Verifica o arquivo informado apenas para erros de sintaxe. Esta
   opção implica em -q. Utilize para debugar.
   Esta opção não verifica erros fatais (como funções
   não definidas). Utilize -f para testar 
   erros fatais também.
  
 
 
  -m
  
   Utilizando esta opção, o PHP imprime a lista dos módulos PHP e Zend
   compilados (e carregados), as versões do PHP e
   Zend e uma pequena informação de copyright
   da Zend.
  
 
 
  -i
  
   Esta opção chama a função
   phpinfo e imprime
   seus resultados. Se o PHP não estiver funcionando bem,
   é interessante que você faça um php -i
   e você verá qualquer mensagem de erro exibida
   antes da tabela de informações.
  
 
 
  -h
  
   Com essa opção você pode obter informações sobre
   a atual lista de opções de linha de comando e
   pequenas descrições dessas opções.
  
 

   
  
 
 
  O PHP executável pode ser utilizando para rodar scripts PHP absolutamente
  independente de um servidor web. Se você está num sistema Unix,
  você pode acrescentar uma linha especial ao início de seu script e
  torná-lo executável, então o sistema operacional saberá que programa
  deverá rodar o script. Na plataforma Windows, você pode associar
  php.exe -q com o clique duplo em arquivos
  .php ou fazer um arquivo batch
  para rodar seus scripts através do PHP. A primeira linha acrescentada ao
  script nos Unix não funcionam no Windows, por isso você não pode escrever
  programas independentes de plataforma desse jeito. Um exemplo simples de como 
escrever
  um programa para a linha de comando segue abaixo:
 
 
  Um script para rodar na linha de comando (script.php)
  

  

[PHP-DOC] cvs: phpdoc /pt_BR/appendices about.xml

2002-05-01 Thread André Luis Ferreira da Silva Bacci

andre_aeWed May  1 22:54:26 2002 EDT

  Modified files:  
/phpdoc/pt_BR/appendicesabout.xml 
  Log:
  ooops2: the mission
  
Index: phpdoc/pt_BR/appendices/about.xml
diff -u phpdoc/pt_BR/appendices/about.xml:1.3 phpdoc/pt_BR/appendices/about.xml:1.4
--- phpdoc/pt_BR/appendices/about.xml:1.3   Wed May  1 22:30:48 2002
+++ phpdoc/pt_BR/appendices/about.xml   Wed May  1 22:54:26 2002
@@ -69,7 +69,7 @@
Para proprietários de handhelds compatíveis com o Palm, os formatos DOC e iSilo
são ideias para esta plataforma. Você pode ter no seu handheld de seu
uso diário um visualizador DOC
-   ou  para aumentar seu conhecimento
+   ou iSilo para aumentar seu conhecimento
em PHP, ou apenas como referência rápida.
   
   





[PHP-DOC] cvs: phpdoc /it/appendices migration.xml

2002-05-01 Thread Maxim Maletsky

maxim   Thu May  2 00:35:23 2002 EDT

  Modified files:  
/phpdoc/it/appendices   migration.xml 
  Log:
  Newly translated. Has some TODO still.
  

Index: phpdoc/it/appendices/migration.xml
diff -u /dev/null phpdoc/it/appendices/migration.xml:1.3
--- /dev/null   Thu May  2 00:35:23 2002
+++ phpdoc/it/appendices/migration.xml  Thu May  2 00:35:22 2002
@@ -0,0 +1,401 @@
+
+
+
+
+ Migrazione da PHP/FI 2 a PHP 3
+
+ 
+  Incompatibilià in 3.0
+
+  
+   PHP 3.0 è rescritto da terra in su. Ha un proprio parser che è
+   molto più robusto è consistente della 2.0. 3.0 che è anche significativamente
+   più veloce ed usa meno memoria. Tuttavia, alcuni di questi miglioramenti
+   non sarebbero resi possibili senza i cambiamenti delle compatibilità,
+   sia in sintassi che nelle funzionalità.
+  
+
+  
+   In più, gli sviluppatori di PHP hanno cercato di pulire sia sintassi del PHP
+   che la semantica nella versione 3.0, e questo ha anche causato alcune
+   incompatibilità. A lungo termine, crediamo che questi cambiamenti siano
+   per il migliore.
+ 
+
+  
+   Questo capitolo proverà a guidarti tra le incompatibilità che potresti trovare
+   passando da PHP/FI 2.0 a PHP 3.0 ed auitarti a resolverli. Almeno dove è
+   necessario, le nuove funzionalità non vi sono accennate.
+  
+
+  
+   Un programma di conversione che può convertire automaticamente i vostri
+   vecchi script di PHP/FI 2.0 esiste già.  Può essere trovato in
+   convertor sottodirectory della
+   distribuzione di PHP 3.0. Questo programma, comunque, interferisce soltanto
+   sui cambiamenti di sintassi, per ciò bisogna legere questo capitolo lo stesso. 
+  
+ 
+
+ 
+  Inizio/fine tags di PHP
+
+  
+   La prima cosa che probabilmente noterete è la modificha dei tag
+   del inizio e della fine di PHP.  Il vecchio 
+   è stato sostituito da tre nuove forme possibili: 
+   
+Migrazione: vecchio inizio/fine tag
+
+
+
+   
+   La versione 2.0, PHP/FI supporta anche questa variazione:
+   
+Migrazione: primo nuovo inizio/fine tag
+
+
+
+   
+
+   Nota che il tag della fine ora consiste di un punto interrogativo
+   e di un superiore-che carattere anziché solamente un superiore-che.
+   Comunque, se pensate di usare XML sul vostro server, avrete dei problemi
+   con la prima nuova variazione perché PHP potrebbe provare ad eseguire
+   il XML markup nei documenti XML come un codice PHP. Per questa
+   raggione, la seguente variazione è stata introdotta:
+
+   
+Migrazione: secondo nuovo inizio/fine tag
+
+
+
+   
+
+   Alcune persone hanno avuto dei problemi con gli editor che
+   non capiscono affatto i tag di istruzione del processo.
+   Microsoft FrontPage è un tale editor. Per evitare un suo
+   comportamento scoretto la seguente variazione è anche stata
+   introdotta:
+
+   
+Migrazione: terzo nuovo inizio/fine tag
+
+
+
+   
+  
+ 
+
+ 
+  Sintassi di if..endif
+
+  
+   Un modo `alternativo' di scrivere le istruzioni if/elseif/else usando
+   if(); elseif(); else; endif; non può essere implementato efficientemente
+   senza aggiungere una gran parte di complessità nel parser 3.0.
+   Per questo, la sintassi è stata cambiata:
+   
+Migrazione: vecchia sintassi di if..endif
+
+
+
+   
+   
+Migrazione: nuova sintassi di if..endif
+
+
+
+   
+   Nota che il punto e virgola e stata sostituita dai due punti in tutte
+   le istruzioni tranne quella che termina l'espressione (endif).
+  
+ 
+
+ 
+  Sintassi di while
+  
+   Stesso come con if..endif, la sintassi di while..endwhile è anche cambiata:
+   
+Migrazione: vecchia sintassi di while..endwhile
+
+
+
+   
+   
+Migrazione: nuova sintassi di while..endwhile
+
+
+
+   
+  
+  
+   
+Usando la vecchia sintassi di while..endwhile in PHP 3.0,
+   otterreste un ciclo infinito.
+   
+  
+ 
+
+ 
+  Tipi di espressione
+  
+   PHP/FI 2.0 usava il lato sinistro delle espressioni per
+   determinare che tipo il risultato dovrebbe essere. PHP 3.0
+   prende entrambi i lati in considerazione quando determina
+   i tipi del risultato, e questo può causare un comportamento
+   inaspettato dei script 2.0 in versione 3.0.
+  
+  
+   Considera questo exampio:
+   
+
+
+
+   
+
+   In PHP/FI 2.0, questo visualizzerebbe entrambi gli indici di $a.
+   In PHP 3.0, invece, non visualizzerebbe nulla. Il motivo è che in
+   PHP 2.0, siccome il tipo del'argomento sinistro è una stringa, è stato
+   fatto una paragono tra le stringhe, ed infatti, ""
+   non è uguale a "0", per ciò il ciclo è continuato.
+   In PHP 3.0, quando una stringa è paragonata ad un intero,
+   viene fatto un paragone fra gli interi (la stringa è convertita in intero).
+   Ciò provoca una confrontazione di atoi("") che è
+   0, e variablelist che è anche 
+   0, e siccome 0==0, il ciclo non
+   passa neanche una volta.
+  
+  
+   La soluzione è semplice.  Sostituisci l'espressione while con:
+   
+
+
+

[PHP-DOC] cvs: phpdoc /it/appendices migration.xml

2002-05-01 Thread Maxim Maletsky

maxim   Thu May  2 00:53:05 2002 EDT

  Modified files:  
/phpdoc/it/appendices   migration.xml 
  Log:
  Fixed a small wording conflict for the PHP versions between 2 sentences
  
Index: phpdoc/it/appendices/migration.xml
diff -u phpdoc/it/appendices/migration.xml:1.3 phpdoc/it/appendices/migration.xml:1.4
--- phpdoc/it/appendices/migration.xml:1.3  Thu May  2 00:35:22 2002
+++ phpdoc/it/appendices/migration.xml  Thu May  2 00:53:05 2002
@@ -20,7 +20,7 @@
 
   
PHP 3.0 è rescritto da terra in su. Ha un proprio parser che è
-   molto più robusto è consistente della 2.0. 3.0 che è anche significativamente
+   molto più robusto è consistente della 2.0. PHP 3.0 è anche significativamente
più veloce ed usa meno memoria. Tuttavia, alcuni di questi miglioramenti
non sarebbero resi possibili senza i cambiamenti delle compatibilità,
sia in sintassi che nelle funzionalità.





[PHP-DOC] Bug #14965 Updated: Sablotron XLST encoding error

2002-05-01 Thread tim

 ID:   14965
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Documentation problem
 Operating System: Windows 2000
 PHP Version:  4.1.1
 New Comment:

To get this to work under Win2K and PHP 4.2.0, you must put have
"file://" prefixed to every parameter that requires a file.  This
includes the xml, xsl and the output files.

This does NOT however require to upgrade you php_xslt dll to the
version suggested by the person in bug 14499.


Previous Comments:


[2002-04-26 05:23:39] [EMAIL PROTECTED]

Hi, the same problem here on PWS on winodws ME, the code is 

returned
Warning: sablotron error on line 1, unknown encoding...

using this code the problem was completely solved...


thank u,



[2002-01-18 17:25:52] [EMAIL PROTECTED]

Hi folks (please be gentle, my first post to bugs.php.net).

I've got exactly the same mayhem happening on my machine too.  Running
with Apache 1.3.22, and php as a cgi binary.

Here's the example code, commented, shows all that I've found this
evening.  Basically the only way I can get xslt_process() to work is
using the arguments array, putting file names in with getcwd(),
file://, include path just doesn't work :o(

Read file';

// Get the contents of the files, 
// Both calls work ok.
$xslData = implode('',file($xslFile));
$xmlData = implode('',file($xmlFile));

echo 'Create parser';

$hXslt = xslt_create();

echo 'Process with filenames (no path)';

// This gives me a error:
// Warning: Sablotron error on line none: cannot open file 
// 'd:/program files/php/Php.XPathDocumentation.xml' 
// in e:\cvs\php.xpath\xpath-develop\doc\Php.XPathDocumentation.php on
line 79
// $result contains nothing
$result = xslt_process($hXslt, $xslFile, $xmlFile);
echo $result;

echo 'Get current working directory';

// This returns e:\cvs\php.xpath\xpath-develop\doc
echo getcwd();

echo 'Use getcwd() and with filenames (no path)';

// Warning: Sablotron error on line 1: unknown encoding '' in 
// e:\cvs\php.xpath\xpath-develop\doc\Php.XPathDocumentation.php on
line 82
// $result contains nothing
$result = xslt_process($hXslt, getcwd().'\\'.$xslFile,
getcwd().'\\'.$xmlFile);
echo $result;

echo 'Use file:// getcwd and with filenames (no path)';

// This call succeeds with no error.
// $result contains the entire xml file unprocessed (whitespace
trimmed).
$result = xslt_process($hXslt, 'file://'.getcwd().'/'.$xslFile,
'file://'.getcwd().'/'.$xmlFile);
echo $result;

echo 'Use the xml and xsl as arguments';

// But this works fine and produces the transformation as I expect
$arguments = array(
 '/_xml' => $xmlData,
 '/_xsl' => $xslData
);
$result = xslt_process($hXslt, 'arg:/_xml', 'arg:/_xsl', NULL,
$arguments);

if ($result) {
echo $result;
} else {
echo "There was an error that occurred in the XSL
transformation...\n";
echo "\tError number: " . xslt_errno() . "\n";
echo "\tError string: " . xslt_error() . "\n";
exit;
}

echo '';

xslt_free($hXslt);

?>

If you want any copies of the files that I've been using, drop me a
mail.  I feel fairly confident that these bugs occur regardless of the
xml and xsl file, given that the final version produces exactly the
expected transformed output. 

Nigel



[2002-01-14 13:17:46] [EMAIL PROTECTED]

Unless the below is a typo, it's quite logical:
while (!feof ($xmlfile)) {
$xml_file_contents = fgets($xmlfile, 4096);
//echo $xml_file_contents;
}

should read:
while (!feof ($xmlfile)) {
/notice the dot
$xml_file_contents .= fgets($xmlfile, 4096);
//echo $xml_file_contents;
}
Unless you have an xmlfile, consisting of 1 line, smaller that 4096
bytes, $xml_file_contents, will consist of the last line only.



[2002-01-14 08:21:44] [EMAIL PROTECTED]

Hi,

I can confrim Feddy's code works fine on Windows 2000 (thanks Freddy
:), however the code I submitted earlier still produces the error so
using either file or HTTP with fopen and using the array arguments of
xslt_process function still produces the error.

Andrew



[2002-01-14 07:32:41] [EMAIL PROTECTED]

On Windows 98, Apache 1.3.22, PHP 4.1.1, Sablotron 0.71, I experienced
the same problem with 'xslt_process()', which I was able to solve using
the 'file://' specifier:

   $result = xslt_process($xh,
  'file://E:/Web/test.xml',
  'file://E:/Web/test.xsl');

Strange enough, since the command:

   $result = xslt_process($xh, 'test.xml', 'test.xsl');

runs just fine on FreeBSD 4.4, Apache 1.3.22, PHP 4.1.1, Sablotron
0

[PHP-DOC] Build broken because of my socket commits

2002-05-01 Thread Markus Fischer

Hi,

the build of en manual is currently broken causes of my
socket commits yesterday. Since my local copy works and my
knowledge is not in-depth with the doc generation I'm unable
to fix this:

[...]
>>> running make test_man_gen ... 
touch .manual.xml
CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status
config.status: creating manual.xml
/usr/bin/nsgmls -wno-idref -i lang-en -D . -s 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
>>> running make mirror-files ... 
/usr/bin/jade -D . -wno-idref  -d dsssl/phpweb.dsl -V use-output-dir -t sgml 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
/usr/bin/jade -D . -wno-idref  -d dsssl/html.dsl -V use-output-dir -t sgml 
/local/mirror/phpdoc/dtds/dbxml-4.1.2/phpdocxml.dcl manual.xml
/usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:9:1:E: general 
entity "reference.sockets.functions.socket-get-option" not defined and no default 
entity
/usr/bin/jade:/local/mirror/phpdoc/en/reference/sockets/functions.xml:30:1:E: general 
entity "reference.sockets.functions.socket-set-option" not defined and no default 
entity
make: *** [html/index.html] Error 1
[...]

thanks,

- Markus (and sorry for breaking it)

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
"Mind if I MFH ?" "What QA did you do on it?" "the usual?" "ah... none :)"