[PHP-DOC] cvs: phpdoc /pl translation.xml
leszek Mon Dec 17 23:11:20 2001 EDT Added files: /phpdoc/pl translation.xml Log: Initial release. Index: phpdoc/pl/translation.xml +++ phpdoc/pl/translation.xml The Polish translation of the PHP Documentation is managed by Leon. There is a separate website for the translators. See http://faq.pl/php/ for more information.
[PHP-DOC] cvs: phpdoc /pl/faq migration4.xml
leszek Mon Dec 17 23:11:15 2001 EDT Modified files: /phpdoc/pl/faq migration4.xml Log: Updated to 1.8 Index: phpdoc/pl/faq/migration4.xml diff -u phpdoc/pl/faq/migration4.xml:1.6 phpdoc/pl/faq/migration4.xml:1.7 --- phpdoc/pl/faq/migration4.xml:1.6Wed Dec 12 15:56:08 2001 +++ phpdoc/pl/faq/migration4.xmlMon Dec 17 23:11:15 2001 @@ -1,5 +1,6 @@ - + + Migracja z PHP 3 na PHP 4 Migracja z PHP 3 na PHP 4 @@ -58,7 +59,7 @@ sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t -indent-tabs-mode:nil +indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil
[PHP-DOC] cvs: phpdoc /pl/faq migration.xml
leszek Mon Dec 17 23:11:13 2001 EDT Modified files: /phpdoc/pl/faq migration.xml Log: Updated to 1.9 Index: phpdoc/pl/faq/migration.xml diff -u phpdoc/pl/faq/migration.xml:1.4 phpdoc/pl/faq/migration.xml:1.5 --- phpdoc/pl/faq/migration.xml:1.4 Wed Dec 12 15:56:07 2001 +++ phpdoc/pl/faq/migration.xml Mon Dec 17 23:11:13 2001 @@ -1,5 +1,6 @@ - + + Migracja z PHP 2 na PHP 3 Migracja z PHP 2 na PHP 3
[PHP-DOC] cvs: phpdoc /pl/appendices reserved.xml
leszek Mon Dec 17 23:11:11 2001 EDT Modified files: /phpdoc/pl/appendices reserved.xml Log: Added comments for revcheck Index: phpdoc/pl/appendices/reserved.xml diff -u phpdoc/pl/appendices/reserved.xml:1.4 phpdoc/pl/appendices/reserved.xml:1.5 --- phpdoc/pl/appendices/reserved.xml:1.4 Sun Dec 16 23:00:44 2001 +++ phpdoc/pl/appendices/reserved.xml Mon Dec 17 23:11:11 2001 @@ -1,5 +1,6 @@ - + + S³owa zarezerwowane w PHP
[PHP-DOC] cvs: phpdoc /pl/appendices aliases.xml
leszek Mon Dec 17 23:11:08 2001 EDT Modified files: /phpdoc/pl/appendices aliases.xml Log: Added comments for revcheck Index: phpdoc/pl/appendices/aliases.xml diff -u phpdoc/pl/appendices/aliases.xml:1.5 phpdoc/pl/appendices/aliases.xml:1.6 --- phpdoc/pl/appendices/aliases.xml:1.5Sun Dec 16 23:00:42 2001 +++ phpdoc/pl/appendices/aliases.xmlMon Dec 17 23:11:07 2001 @@ -1,5 +1,6 @@ - + + Lista aliasów
[PHP-DOC] cvs: phpdoc /pl/appendices regexp.xml
leszek Mon Dec 17 23:11:05 2001 EDT Modified files: /phpdoc/pl/appendices regexp.xml Log: Updated to 1.7 Index: phpdoc/pl/appendices/regexp.xml diff -u phpdoc/pl/appendices/regexp.xml:1.4 phpdoc/pl/appendices/regexp.xml:1.5 --- phpdoc/pl/appendices/regexp.xml:1.4 Wed Dec 12 15:56:01 2001 +++ phpdoc/pl/appendices/regexp.xml Mon Dec 17 23:11:05 2001 @@ -1,5 +1,6 @@ - + +
[PHP-DOC] cvs: phpdoc /pl/appendices http-stuff.xml
leszek Mon Dec 17 23:11:02 2001 EDT Modified files: /phpdoc/pl/appendices http-stuff.xml Log: Updated to 1.7 Index: phpdoc/pl/appendices/http-stuff.xml diff -u phpdoc/pl/appendices/http-stuff.xml:1.4 phpdoc/pl/appendices/http-stuff.xml:1.5 --- phpdoc/pl/appendices/http-stuff.xml:1.4 Wed Dec 12 15:56:01 2001 +++ phpdoc/pl/appendices/http-stuff.xml Mon Dec 17 23:11:02 2001 @@ -1,5 +1,6 @@ - + +
[PHP-DOC] cvs: phpdoc /pl/appendices escaping.xml
leszek Mon Dec 17 23:11:00 2001 EDT Modified files: /phpdoc/pl/appendices escaping.xml Log: Updated to 1.7 Index: phpdoc/pl/appendices/escaping.xml diff -u phpdoc/pl/appendices/escaping.xml:1.4 phpdoc/pl/appendices/escaping.xml:1.5 --- phpdoc/pl/appendices/escaping.xml:1.4 Wed Dec 12 15:56:00 2001 +++ phpdoc/pl/appendices/escaping.xml Mon Dec 17 23:11:00 2001 @@ -1,5 +1,6 @@ - + +
[PHP-DOC] cvs: phpdoc /pl/pear about.xml
leszek Mon Dec 17 23:10:57 2001 EDT Modified files: /phpdoc/pl/pear about.xml Log: Added comments for revcheck Index: phpdoc/pl/pear/about.xml diff -u phpdoc/pl/pear/about.xml:1.4 phpdoc/pl/pear/about.xml:1.5 --- phpdoc/pl/pear/about.xml:1.4Wed Dec 12 15:56:23 2001 +++ phpdoc/pl/pear/about.xmlMon Dec 17 23:10:57 2001 @@ -1,5 +1,6 @@ - + + O PEAR @@ -58,7 +59,6 @@ sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t -indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil
[PHP-DOC] cvs: phpdoc /pl/language variables.xml
leszek Mon Dec 17 23:10:55 2001 EDT Modified files: /phpdoc/pl/language variables.xml Log: Added comments for revcheck Index: phpdoc/pl/language/variables.xml diff -u phpdoc/pl/language/variables.xml:1.1 phpdoc/pl/language/variables.xml:1.2 --- phpdoc/pl/language/variables.xml:1.1Fri Dec 14 00:10:34 2001 +++ phpdoc/pl/language/variables.xmlMon Dec 17 23:10:54 2001 @@ -1,5 +1,6 @@ - + + Zmienne
[PHP-DOC] cvs: phpdoc /pl/language operators.xml
leszek Mon Dec 17 23:10:52 2001 EDT Modified files: /phpdoc/pl/language operators.xml Log: Added comments for revcheck Index: phpdoc/pl/language/operators.xml diff -u phpdoc/pl/language/operators.xml:1.5 phpdoc/pl/language/operators.xml:1.6 --- phpdoc/pl/language/operators.xml:1.5Sun Dec 16 23:00:38 2001 +++ phpdoc/pl/language/operators.xmlMon Dec 17 23:10:52 2001 @@ -1,5 +1,6 @@ - + + Operatory
[PHP-DOC] cvs: phpdoc /pl/language constants.xml
leszek Mon Dec 17 23:10:46 2001 EDT Modified files: /phpdoc/pl/language constants.xml Log: Added comments for revcheck Index: phpdoc/pl/language/constants.xml diff -u phpdoc/pl/language/constants.xml:1.7 phpdoc/pl/language/constants.xml:1.8 --- phpdoc/pl/language/constants.xml:1.7Sun Dec 16 23:00:24 2001 +++ phpdoc/pl/language/constants.xmlMon Dec 17 23:10:46 2001 @@ -1,5 +1,6 @@ - + + Sta³e
[PHP-DOC] cvs: phpdoc /pl/language basic-syntax.xml
leszek Mon Dec 17 23:10:44 2001 EDT Modified files: /phpdoc/pl/language basic-syntax.xml Log: Added comments for revcheck Index: phpdoc/pl/language/basic-syntax.xml diff -u phpdoc/pl/language/basic-syntax.xml:1.5 phpdoc/pl/language/basic-syntax.xml:1.6 --- phpdoc/pl/language/basic-syntax.xml:1.5 Sun Dec 16 23:00:20 2001 +++ phpdoc/pl/language/basic-syntax.xml Mon Dec 17 23:10:44 2001 @@ -1,5 +1,6 @@ - + + Podstawowa sk³adnia
[PHP-DOC] cvs: phpdoc /pl/functions math.xml
leszek Mon Dec 17 23:10:41 2001 EDT Modified files: /phpdoc/pl/functionsmath.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/math.xml diff -u phpdoc/pl/functions/math.xml:1.3 phpdoc/pl/functions/math.xml:1.4 --- phpdoc/pl/functions/math.xml:1.3Sun Dec 16 23:00:05 2001 +++ phpdoc/pl/functions/math.xmlMon Dec 17 23:10:40 2001 @@ -1,9 +1,6 @@ - - + + Funkcje Matematyczne Math
[PHP-DOC] cvs: phpdoc /pl/functions filesystem.xml
leszek Mon Dec 17 23:10:36 2001 EDT Modified files: /phpdoc/pl/functionsfilesystem.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/filesystem.xml diff -u phpdoc/pl/functions/filesystem.xml:1.4 phpdoc/pl/functions/filesystem.xml:1.5 --- phpdoc/pl/functions/filesystem.xml:1.4 Sun Dec 16 22:59:53 2001 +++ phpdoc/pl/functions/filesystem.xml Mon Dec 17 23:10:36 2001 @@ -1,5 +1,6 @@ - + + Funkcje systemu plików System plików
[PHP-DOC] cvs: phpdoc /pl/functions url.xml
leszek Mon Dec 17 23:10:32 2001 EDT Modified files: /phpdoc/pl/functionsurl.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/url.xml diff -u phpdoc/pl/functions/url.xml:1.6 phpdoc/pl/functions/url.xml:1.7 --- phpdoc/pl/functions/url.xml:1.6 Sun Dec 16 22:59:51 2001 +++ phpdoc/pl/functions/url.xml Mon Dec 17 23:10:32 2001 @@ -1,5 +1,6 @@ - + + Funkcje URL URLs
[PHP-DOC] cvs: phpdoc /pl/functions mysql.xml
leszek Mon Dec 17 23:10:29 2001 EDT Modified files: /phpdoc/pl/functionsmysql.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/mysql.xml diff -u phpdoc/pl/functions/mysql.xml:1.7 phpdoc/pl/functions/mysql.xml:1.8 --- phpdoc/pl/functions/mysql.xml:1.7 Sun Dec 16 22:59:47 2001 +++ phpdoc/pl/functions/mysql.xml Mon Dec 17 23:10:29 2001 @@ -1,19 +1,20 @@ - + + Funkcje MySQL MySQL Funkcje te umo¿liwiaj± dostêp do serwerów baz danych MySQL. Aby je -uaktywniæ musisz skompilowaæ php z obs³ug± MySQL u¿ywaj±c opcji +uaktywniæ musisz skompilowaæ PHP z obs³ug± MySQL u¿ywaj±c opcji --with-mysql. Je¶li u¿yjesz tej opcji -bez podania ¶cie¿ki do MySQL, php wykorzysta w³asne biblioteki klienta. +bez podania ¶cie¿ki do MySQL, PHP wykorzysta w³asne biblioteki klienta. U¿ytkownicy, którzy uruchamiaj± inne aplikacje korzystaj±ce z MySQL -(na przyk³ad równocze¶nie php3 i php4 jako modu³y apache, lub modu³ +(na przyk³ad równocze¶nie PHP3 i PHP4 jako modu³y apache, lub modu³ auth-mysql) powinni zawsze podawaæ ¶cie¿kê do MySQL: --with-mysql=/sciezka/do/mysql. To -wymusi na php u¿ycie bibliotek zainstalowanych przez MySQL, co pozwoli +wymusi na PHP u¿ycie bibliotek zainstalowanych przez MySQL, co pozwoli unikn±æ konfliktów. @@ -30,31 +31,36 @@ Wykorzystanie funkcji MySQL -
[PHP-DOC] cvs: phpdoc /pl/functions mail.xml
leszek Mon Dec 17 23:10:25 2001 EDT Modified files: /phpdoc/pl/functionsmail.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/mail.xml diff -u phpdoc/pl/functions/mail.xml:1.4 phpdoc/pl/functions/mail.xml:1.5 --- phpdoc/pl/functions/mail.xml:1.4Sun Dec 16 22:59:42 2001 +++ phpdoc/pl/functions/mail.xmlMon Dec 17 23:10:25 2001 @@ -1,5 +1,6 @@ - + + Funkcje obs³ugi poczty elektronicznej Mail
[PHP-DOC] cvs: phpdoc /pl/functions http.xml
leszek Mon Dec 17 23:10:22 2001 EDT Modified files: /phpdoc/pl/functionshttp.xml Log: Added comments for revcheck Index: phpdoc/pl/functions/http.xml diff -u phpdoc/pl/functions/http.xml:1.6 phpdoc/pl/functions/http.xml:1.7 --- phpdoc/pl/functions/http.xml:1.6Sun Dec 16 22:59:39 2001 +++ phpdoc/pl/functions/http.xmlMon Dec 17 23:10:22 2001 @@ -1,5 +1,6 @@ - + + Funkcje obs³ugi HTTP HTTP
[PHP-DOC] cvs: phpdoc /pl/features safe-mode.xml
leszek Mon Dec 17 23:10:19 2001 EDT Modified files: /phpdoc/pl/features safe-mode.xml Log: Updated to 1.17 Added comments for revcheck Index: phpdoc/pl/features/safe-mode.xml diff -u phpdoc/pl/features/safe-mode.xml:1.6 phpdoc/pl/features/safe-mode.xml:1.7 --- phpdoc/pl/features/safe-mode.xml:1.6Sun Dec 16 22:59:37 2001 +++ phpdoc/pl/features/safe-mode.xmlMon Dec 17 23:10:18 2001 @@ -1,5 +1,6 @@ - + + Tryb bezpieczny @@ -14,12 +15,14 @@ Dykertywy konfiguracyjne odpowiadaj±ce za tryb bezpieczny: -safe_mode = Off -open_basedir = -safe_mode_exec_dir = -safe_mode_allowed_env_vars = PHP_ -safe_mode_protected_env_vars = LD_LIBRARY_PATH -disable_functions = + @@ -28,47 +31,61 @@ operowaæ i w³a¶cicielem uruchamianego skryptu jest ten sam u¿ytkownik. Na przyk³ad: --rw-rw-r--1 rasmus rasmus 33 Jul 1 19:20 script.php --rw-r--r--1 root root 1116 May 26 18:01 /etc/passwd + - Uruchomienie script.php + Uruchomienie script.php - + z uruchomionym trybem bezpiecznym spowoduje wy¶wietlenie b³êdu: - + + + Je¶li zamiast w³±czaæ opcjê safe_mode ustawisz katalog open_basedir, wtedy wszystkie operacje plikowe bed± ograniczone do tego katalogu. Na przyk³ad (dla httpd.conf Apache'a): --php_admin_value open_basedir /docroot - + Uruchomienie tego samego skryptu script.php z ustawionym katalogiem open_basedir spowoduje wy¶wietlenie: - -Warning: open_basedir restriction in effect. File is in wrong directory in -/docroot/script.php on line 2 - + + + Mo¿esz tak¿e wy³±czyæ pojedyncze funkcje. Je¶li do pliku php.ini dodasz: -disable_functions readfile,system + po uruchomieniu skryptu otrzymasz: - -Warning: readfile() has been disabled for security reasons in -/docroot/script.php on line 2 - + + + @@ -280,6 +297,7 @@ sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t +indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil
[PHP-DOC] cvs: phpdoc /pl/features http-auth.xml
leszek Mon Dec 17 23:10:15 2001 EDT Modified files: /phpdoc/pl/features http-auth.xml Log: Updated to 1.19 Added comments for revcheck Index: phpdoc/pl/features/http-auth.xml diff -u phpdoc/pl/features/http-auth.xml:1.6 phpdoc/pl/features/http-auth.xml:1.7 --- phpdoc/pl/features/http-auth.xml:1.6Sun Dec 16 22:59:34 2001 +++ phpdoc/pl/features/http-auth.xmlMon Dec 17 23:10:15 2001 @@ -1,5 +1,6 @@ - + + Autoryzacja HTTP w PHP @@ -19,17 +20,19 @@ Autoryzacja HTTP -
[PHP-DOC] cvs: phpdoc /pl/features persistent-connections.xml
leszek Mon Dec 17 23:10:12 2001 EDT Modified files: /phpdoc/pl/features persistent-connections.xml Log: Added comments for revcheck Index: phpdoc/pl/features/persistent-connections.xml diff -u phpdoc/pl/features/persistent-connections.xml:1.5 phpdoc/pl/features/persistent-connections.xml:1.6 --- phpdoc/pl/features/persistent-connections.xml:1.5 Sun Dec 16 22:59:32 2001 +++ phpdoc/pl/features/persistent-connections.xml Mon Dec 17 23:10:12 2001 @@ -1,5 +1,6 @@ - + + Sta³e po³±czenia z bazami danych
[PHP-DOC] cvs: phpdoc /pl/features images.xml
leszek Mon Dec 17 23:10:09 2001 EDT Modified files: /phpdoc/pl/features images.xml Log: Updated to 1.15 Added comments for revcheck Index: phpdoc/pl/features/images.xml diff -u phpdoc/pl/features/images.xml:1.5 phpdoc/pl/features/images.xml:1.6 --- phpdoc/pl/features/images.xml:1.5 Sun Dec 16 22:59:21 2001 +++ phpdoc/pl/features/images.xml Mon Dec 17 23:10:08 2001 @@ -1,5 +1,6 @@ - + + Tworzenie i manipulacja obrazkami @@ -18,7 +19,8 @@ Tworzenie orazka PNG za pomoc± PHP -
[PHP-DOC] cvs: phpdoc /pl/features cookies.xml
leszek Mon Dec 17 23:10:06 2001 EDT Modified files: /phpdoc/pl/features cookies.xml Log: Updated to 1.11 Added comments for revcheck Index: phpdoc/pl/features/cookies.xml diff -u phpdoc/pl/features/cookies.xml:1.4 phpdoc/pl/features/cookies.xml:1.5 --- phpdoc/pl/features/cookies.xml:1.4 Wed Dec 12 15:56:09 2001 +++ phpdoc/pl/features/cookies.xml Mon Dec 17 23:10:05 2001 @@ -1,5 +1,6 @@ - + + Ciasteczka (cookies)
[PHP-DOC] cvs: phpdoc /pl/chapters config.xml
leszek Mon Dec 17 23:10:02 2001 EDT Modified files: /phpdoc/pl/chapters config.xml Log: Updated to 1.32 Index: phpdoc/pl/chapters/config.xml diff -u phpdoc/pl/chapters/config.xml:1.8 phpdoc/pl/chapters/config.xml:1.9 --- phpdoc/pl/chapters/config.xml:1.8 Wed Dec 12 15:56:03 2001 +++ phpdoc/pl/chapters/config.xml Mon Dec 17 23:10:02 2001 @@ -1,5 +1,6 @@ - + + Konfiguracja
[PHP-DOC] cvs: phpdoc /it/chapters intro.xml
cortesi Mon Dec 17 21:47:21 2001 EDT Modified files: /phpdoc/it/chapters intro.xml Log: resolving build problems Index: phpdoc/it/chapters/intro.xml diff -u phpdoc/it/chapters/intro.xml:1.9 phpdoc/it/chapters/intro.xml:1.10 --- phpdoc/it/chapters/intro.xml:1.9Wed Dec 12 15:51:41 2001 +++ phpdoc/it/chapters/intro.xmlMon Dec 17 21:47:21 2001 @@ -137,7 +137,7 @@ programming, or a mixture of them. Although not every standard OOP feature is realized in the current version of PHP, many code libraries and large applications (including the -PEAR library) are written only +PEAR library) are written only using OOP code.
[PHP-DOC] cvs: phpdoc /it preface.xml
cortesi Mon Dec 17 21:40:01 2001 EDT Modified files: /phpdoc/it preface.xml Log: updated Index: phpdoc/it/preface.xml diff -u phpdoc/it/preface.xml:1.16 phpdoc/it/preface.xml:1.17 --- phpdoc/it/preface.xml:1.16 Wed Dec 12 15:51:35 2001 +++ phpdoc/it/preface.xml Mon Dec 17 21:40:01 2001 @@ -1,5 +1,5 @@ - + Prefazione @@ -9,37 +9,25 @@ PHP, che sta per "PHP: Hypertext Preprocessor", è un linguaggio di script immerso nel HTML. Molta della sua sintassi è presa in prestito dai linguaggi C, Java e Perl, a cui sono state aggiunte alcune -specifiche caratteristiche del PHP. L'obiettivo del linguaggio è di +specifiche caratteristiche del PHP. L'obiettivo principale del linguaggio è di semplificare il lavoro dei webmaster nella realizzazione di pagine -dinamiche. Con il PHP si può fare questo ed altro. Leggendo questo manuale -scoprirete come. +dinamiche. Con il PHP si può fare questo ed altro. - - Informazioni sul Manuale - -Questo manuale cerca di fornire una panoramica delle -capacità del PHP, le funzioni fornite e l'uso -dell'istruzioni nella risoluzione di problemi comuni. -L'obiettivo principale di questo manuale è di fornire una guida -delle funzioni, in modo da facilitare li reperimento delle informazioni sulla sintassi -e fornire esempi d'uso. In questo manuale vengono fornite anche informazioni -sulle parti componenti il PHP. - - -Il manuale è fornito in diversi formati e in diverse lingue. -Per avere maggiori informazioni sui formati e le modalità per -generarli leggere l'appendice Informazioni sul -Manuale. In questa sezione si possono trovare informazioni -sulle convenzioni utilizzate e suggerimenti per eventuali approfondimenti. - - -La versione aggiornata del manuale è prelevabile nei vari -formati presso &url.php.docs;. -I manuali sono aggiornati se ne cambia il contenuto. - - + + Questo manuale consiste principalmente in un elenco commentato di funzioni ma +contiene anche + una guida al linguaggio, spiegazione delle maggiori caratteristiche del PHP e altre + informazioni aggiuntive. + + + + Il manuale è fornito in diversi formati qui: &url.php.docs;. I file sono aggiornati ogni volta + che i contenuti cambiano. Maggiori informazioni su come questo manuale viene +sviluppato + possono essere trovate nell'appendice 'Informazioni sul + Manuale'. +
[PHP-DOC] Bug #14571: setcookie behavoir changed in 4.1 from previous versions
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Documentation problem Bug description: setcookie behavoir changed in 4.1 from previous versions The behavoir of the setcookie function changed in 4.1.0 even though no such change was documented in the changelog. This had the effect of disabling an application of mine until I figured out what happened. In PHP <4.1.0, the code: setcookie("cookiename",""); would delete the cookie 'cookiename'. In PHP 4.1.0, this function created a cookie with a null value named cookiename. I know this is a rather silly change, and you wouldn't expect someone to ever specify a blank value in the second argument, but it did cause a short downtime in our website software. I posted this on the setcookie() manual page but it was rejected on grounds that it was more of a bug report than anything, so I thought I'd post it here. Thanks Sean -- Edit bug report at: http://bugs.php.net/?id=14571&edit=1
[PHP-DOC] cvs: phpdoc /it bookinfo.xml
cortesi Mon Dec 17 21:18:52 2001 EDT Modified files: /phpdoc/it bookinfo.xml Log: adding Giacomo Tesio Index: phpdoc/it/bookinfo.xml diff -u phpdoc/it/bookinfo.xml:1.19 phpdoc/it/bookinfo.xml:1.20 --- phpdoc/it/bookinfo.xml:1.19 Wed Dec 12 15:51:34 2001 +++ phpdoc/it/bookinfo.xml Mon Dec 17 21:18:51 2001 @@ -74,7 +74,10 @@ Sergio Marchesini -Alan D'Angelo +Alan D'Angelo + + +Giacomo Tesio
[PHP-DOC] cvs: phpdoc /it/functions exec.xml
cortesi Mon Dec 17 21:17:55 2001 EDT Modified files: /phpdoc/it/functionsexec.xml Log: update to EN 1.24 Index: phpdoc/it/functions/exec.xml diff -u phpdoc/it/functions/exec.xml:1.9 phpdoc/it/functions/exec.xml:1.10 --- phpdoc/it/functions/exec.xml:1.9Mon Dec 17 07:41:30 2001 +++ phpdoc/it/functions/exec.xmlMon Dec 17 21:17:55 2001 @@ -1,12 +1,12 @@ - + Funzioni per l'esecuzione di programmi Esecuzione di programmi -Queste funzioni permettono l'esecuzione di comandi sul sistema stasso, +Queste funzioni permettono l'esecuzione di comandi sul sistema stesso, e rendono sicuri tali comandi. Queste funzioni sono anche strettamente correlate al operatore backtick. @@ -16,8 +16,7 @@ escapeshellarg -Estrae una stringa da usare come un argomento della shell. - escape a string to be used as a shell argument +estrae una stringa da usare come un argomento della shell Descrizione @@ -31,8 +30,8 @@ escapeshellarg aggiunge le virgolette singole attorno ad una stringa ed elude ogni virgoletta semplice per permetterti di passare una stringa direttamente ad una funzione della shell a che questa -veng trattata come un singolo argomento. -Questa funzione può essere usata per eludere argomenti individuali per funzioni +venga trattata come un singolo argomento. +Questa funzione dovrebbe essere usata per eludere argomenti individuali per +funzioni della shell che giungano dall'input del utente. Le funzioni della shell includono exec, system e l'operatore backtick. @@ -70,13 +69,13 @@ escapeshellcmd elude ogni carattere di una stringa che -potrebbe essere usata per ingannare un comando shell ad eseguire comandi +potrebbe essere usata per indurre un comando shell ad eseguire comandi arbitrari. Questa funzione dovrebbe essere usata per assicurarsi che ogni dato -che giunga dall'input dell utente sia elusa prima che tali dati vengano passati +che giunga dall'input dell utente venga nutralizzato prima prima di venir +passato a funzioni come exec o system, o al operatore backtick - . Un utilizzo frequente sarebbe: + . Un modello d'utilizzo potrebbe essere: @@ -120,13 +119,13 @@ exec esegue il comando passato da - command, sebbene esso non restituisca nulla in output -Ritorna semplicemente l'ultima linea dal risultato del comando. + command, sebbene esso non invii nulla in output +Restituisce semplicemente l'ultima linea dal risultato del comando. Se hai bisogno di eseguire un comando ed avere tutti i dati dal comando passato direttamente senza alcuna interferenza, usa la funzione passthru. - Se l'argomento array è presente, allora il vettore specificato + Se l'argomento array è presente, allora tale vettore +specificato verrà riempito con ogni linea del output del comando. Nota che se il vettore contiene già degli elementi, exec li aggiungerà in coda vettore. @@ -143,12 +142,12 @@ Osserva che se intendi allocare dati che giungano dal utente per essere passate a questa funzione, dovresti usare escapeshellcmd per assicurarti che l'utente - non possa ingannare il sistema per eseguire comandi arbitrari. + non possa forzare il sistema ad eseguire comandi arbitrari. Nota anche che se inizi un programma usando questa funzione e lo vuoi lasciare in esecuzione in sottofondo, devi assicurarti che l'output del programa venga rediretto -ad un file o a qualche altro flusso di output, altrimenti PHP attendera la fine +ad un file o a qualche altro flusso di output, altrimenti PHP attendera fino +alla fine fine dell'esecuzione del programma. @@ -186,7 +185,7 @@ Unix verrà posto lì. Questa funzione deve essere usata al posto di exec o di system quando l'output del comando Unix consiste in dati binari da passare direttamente al browser. -Un suo uso frequente è di eseguire qualcosa come le utility +Un suo uso frequente consiste nel eseguire, ad esempio, le utility pbmplus che possono restituire un flusso diretto all'immagine. Impostado il tipo di contenuto a image/gif e successivamente chiamando un programma pbmplus per generare una gif puoi realizzare uno script @@ -241,7 +240,7 @@ La chiamata a system tenta anche di ripulire automaticamente -il buffer di output del web server dopo che ogni linea di output se PHP +il buffer di output del web server dopo ogni linea di output se PHP gira come un modulo server. @@ -262,6 +261,27 @@ + + +shell_exec + + Esegue
[PHP-DOC] cvs: phpdoc /it translation.xml /it/features error-handling.xml
cortesi Mon Dec 17 21:01:45 2001 EDT Modified files: /phpdoc/it translation.xml /phpdoc/it/features error-handling.xml Log: update of error-handling Index: phpdoc/it/translation.xml diff -u phpdoc/it/translation.xml:1.3 phpdoc/it/translation.xml:1.4 --- phpdoc/it/translation.xml:1.3 Mon Dec 17 13:07:48 2001 +++ phpdoc/it/translation.xml Mon Dec 17 21:01:42 2001 @@ -44,13 +44,9 @@ - - - - Index: phpdoc/it/features/error-handling.xml diff -u phpdoc/it/features/error-handling.xml:1.6 phpdoc/it/features/error-handling.xml:1.7 --- phpdoc/it/features/error-handling.xml:1.6 Wed Dec 12 15:51:44 2001 +++ phpdoc/it/features/error-handling.xml Mon Dec 17 21:01:45 2001 @@ -1,139 +1,301 @@ - - Gestione degli errori + + + Gestione degli errori - - In PHP sono presenti diversi tipi di errori e avvertimenti (warning): + + In PHP sono presenti diversi tipi di errori e avvertimenti (warning): + + +PHP - Tipi di errore + + + + valore + simbolo + descrizione + note + + + + + 1 + E_ERROR + Errore run-time fatale + + + + 2 + E_WARNING + Warning run-time(errore non fatale) + + + + 4 + E_PARSE + Errore nel parsing in compilazione + + + + 8 + E_NOTICE + +Notifiche run-time (meno serie dei warning) + + + + + 16 + E_CORE_ERROR + Errore fatale nella fase di startup inizale di PHP + Solo PHP 4 + + + 32 + E_CORE_WARNING + + Warning (errore non fatale) nella fase di startup inizale di +PHP + + Solo PHP 4 + + + 64 + E_COMPILE_ERROR + Errore fatale in fase di compilazione + Solo PHP 4 + + + 128 + E_COMPILE_WARNING + Warning (errore non fatale) in fase di compilazione + Solo PHP 4 + + + 256 + E_USER_ERROR + Messagio di errore generato dall'utente + Solo PHP 4 + + + 512 + E_USER_WARNING + Messaggio di avvertimento (warning) generato dall'utente + Solo PHP 4 + + + 1024 + E_USER_NOTICE + Messagio di notifica generato dall'utente + Solo PHP 4 + + + + E_ALL + Tutti i precedenti + Solo PHP 4 + + + + + + + + I valori presenti nella tabella (sia numerici che simbolici) sono utilizzati + per creare delle bitmask per specificare quali errori segnalare. Si possono + usare gli operatori sui bit +'|','&' e '~' per combinare questi valori e + mascherare certi tipi di errori. Nota che + solo '|', '~', '!', e '&' verranno interpretati correttamente all'interno del + file php.ini e che gli operatori sui bit non + saranno interpretati nel file php3.ini. + + + Nel PHP 4 la configurazione predefinita di error_reporting è + E_ALL & ~E_NOTICE che fa si che vengano visualizzati tutti +gli errori + e avvertimenti che non siano di livello E_NOTICE. Nel PHP 3 la configurazione +predefinita + è (E_ERROR | E_WARNING | E_PARSE), + che ha lo stesso effetto. Si noti che, dato che le costanti non sono + supportate nel file php3.ini presente nel PHP 3, la +configurazione di error_reporting va effettuata usando un valore + numerico, ad esempio 7. + - -PHP - Tipi di errore - - - - valore - simbolo - descrizione - note - - - - - 1 - E_ERROR - Errore run-time fatale - - - - 2 - E_WARNING - Warning run-time(errore non fatale) - - - - 4 - E_PARSE - Errore nel parsing in compilazione - - - - 8 - E_NOTICE - -Notifiche run-time(meno seri dei warning) - - - - - 16 - E_CORE_ERROR - Errore fatale nella fase di startup inizale di PHP - Solo PHP 4 - - - 32 - E_CORE_WARNING - Warning (errore non fatale) nella fase di startup inizale di PHP - Solo PHP 4
[PHP-DOC] cvs: phpdoc /en/functions session.xml
jimwMon Dec 17 20:06:29 2001 EDT Modified files: /phpdoc/en/functionssession.xml Log: session_get_cookie_params: document when 'secure' was added Index: phpdoc/en/functions/session.xml diff -u phpdoc/en/functions/session.xml:1.63 phpdoc/en/functions/session.xml:1.64 --- phpdoc/en/functions/session.xml:1.63Mon Dec 17 18:33:49 2001 +++ phpdoc/en/functions/session.xml Mon Dec 17 20:06:29 2001 @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -739,6 +739,7 @@ "secure" - The cookie should only be sent over secure connections. +(This item was added in PHP 4.0.4.)
[PHP-DOC] cvs: phpdoc /en/appendices http-stuff.xml regexp.xml
jimwMon Dec 17 19:11:12 2001 EDT Removed files: /phpdoc/en/appendices http-stuff.xml regexp.xml Log: remove unused files
[PHP-DOC] function index
Hi, http://www.php.net/manual/en/index.functions.php The order of the function index seems to be broken; looks funny :-) so long Friedhelm
[PHP-DOC] cvs: phpdoc /en/functions session.xml
jimwMon Dec 17 18:33:50 2001 EDT Modified files: /phpdoc/en/functionssession.xml Log: session_get_cookie_params: document 'secure' Index: phpdoc/en/functions/session.xml diff -u phpdoc/en/functions/session.xml:1.62 phpdoc/en/functions/session.xml:1.63 --- phpdoc/en/functions/session.xml:1.62Sat Dec 15 09:50:25 2001 +++ phpdoc/en/functions/session.xml Mon Dec 17 18:33:49 2001 @@ -1,5 +1,5 @@ - + Session handling functions Sessions @@ -734,6 +734,11 @@ "domain" - The domain of the cookie. + + + + +"secure" - The cookie should only be sent over secure connections.
[PHP-DOC] cvs: phpdoc /en/functions ibase.xml
jimwMon Dec 17 18:17:40 2001 EDT Modified files: /phpdoc/en/functionsibase.xml Log: ibase_num_fields: it is implemented in php 4. Index: phpdoc/en/functions/ibase.xml diff -u phpdoc/en/functions/ibase.xml:1.39 phpdoc/en/functions/ibase.xml:1.40 --- phpdoc/en/functions/ibase.xml:1.39 Mon Dec 17 15:25:30 2001 +++ phpdoc/en/functions/ibase.xml Mon Dec 17 18:17:40 2001 @@ -1,5 +1,5 @@ - + InterBase functions InterBase @@ -679,12 +679,6 @@ See also: ibase_field_info. - - - ibase_num_fields is currently not functional - in PHP 4. - -
[PHP-DOC] cvs: phpdoc /en/functions oracle.xml
jimwMon Dec 17 18:15:09 2001 EDT Modified files: /phpdoc/en/functionsoracle.xml Log: ora_parse: incorporate note, returns true and false Index: phpdoc/en/functions/oracle.xml diff -u phpdoc/en/functions/oracle.xml:1.25 phpdoc/en/functions/oracle.xml:1.26 --- phpdoc/en/functions/oracle.xml:1.25 Wed Dec 12 15:47:11 2001 +++ phpdoc/en/functions/oracle.xml Mon Dec 17 18:15:09 2001 @@ -1,5 +1,5 @@ - + Oracle functions Oracle @@ -646,8 +646,7 @@ associates it with the given cursor. - Returns 0 on success or -1 on - error. + &return.success; See also ora_exec,
[PHP-DOC] Revcheck and charset
If it's possible, I would like to see revcheck generating html with a charset meta tag that corresponds to language-code. slawek-
[PHP-DOC] cvs: phpdoc /de Translators
samesch Mon Dec 17 18:01:23 2001 EDT Modified files: /phpdoc/de Translators Log: keeping in sync (regex.xml) Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.223 phpdoc/de/Translators:1.224 --- phpdoc/de/Translators:1.223 Mon Dec 17 06:42:55 2001 +++ phpdoc/de/Translators Mon Dec 17 18:01:22 2001 @@ -130,7 +130,7 @@ pspell.xml readline.xmlFriedhelm Betz fertig (bis V. 1.9) recode.xml Stefan Saasen fertig (Rev. 1.16) -regex.xml Martin Samesch fertig (Rev. 1.34) +regex.xml Martin Samesch fertig (Rev. 1.35) satellite.xml Stefan Saasen fertig (Rev 1.18) sem.xml Hartmut Holzgraefe fertig sesam.xml Martin Kraemer fertig (Rev. 1.6)
[PHP-DOC] cvs: phpdoc /en/language control-structures.xml
jimwMon Dec 17 18:00:19 2001 EDT Modified files: /phpdoc/en/language control-structures.xml Log: don't use .inc extension in examples Index: phpdoc/en/language/control-structures.xml diff -u phpdoc/en/language/control-structures.xml:1.46 phpdoc/en/language/control-structures.xml:1.47 --- phpdoc/en/language/control-structures.xml:1.46 Wed Dec 12 15:47:37 2001 +++ phpdoc/en/language/control-structures.xml Mon Dec 17 18:00:19 2001 @@ -1,5 +1,5 @@ - + Control Structures @@ -1033,7 +1033,7 @@ @@ -1130,7 +1130,7 @@ @@ -1235,7 +1235,7 @@ @@ -1258,7 +1258,7 @@ The above parse error is a result of the fact that the return statement is enclosed in a non-function - block within test.inc. When the return is + block within test.php. When the return is moved outside of the block, the output is: Before the return @@ -1336,9 +1336,9 @@ For example, if you create the following 2 include files - utils.inc and foolib.inc + utils.php and foolib.php - utils.inc + utils.php - By modifying foolib.inc and + By modifying foolib.php and cause_errror_require.php to use require_once instead of require and renaming the last one to avoid_error_require_once.php, we have: - foolib.inc (fixed) + foolib.php (fixed) @@ -1437,8 +1437,8 @@
[PHP-DOC] cvs: phpdoc /de/functions regex.xml
samesch Mon Dec 17 17:59:33 2001 EDT Modified files: /phpdoc/de/functionsregex.xml Log: In sync with english rev. 1.35 Index: phpdoc/de/functions/regex.xml diff -u phpdoc/de/functions/regex.xml:1.22 phpdoc/de/functions/regex.xml:1.23 --- phpdoc/de/functions/regex.xml:1.22 Sun Dec 16 07:45:45 2001 +++ phpdoc/de/functions/regex.xml Mon Dec 17 17:59:33 2001 @@ -498,8 +498,9 @@ Siehe auch: preg_split, - spliti, explode und - implode. + spliti, explode, + implode, chunk_split + und wordwrap.
[PHP-DOC] cvs: phpdoc /en/functions exec.xml
jimwMon Dec 17 17:53:19 2001 EDT Modified files: /phpdoc/en/functionsexec.xml Log: format notes using and as appropriate Index: phpdoc/en/functions/exec.xml diff -u phpdoc/en/functions/exec.xml:1.24 phpdoc/en/functions/exec.xml:1.25 --- phpdoc/en/functions/exec.xml:1.24 Sat Dec 15 09:35:26 2001 +++ phpdoc/en/functions/exec.xmlMon Dec 17 17:53:19 2001 @@ -1,5 +1,5 @@ - + Program Execution functions Program Execution @@ -139,19 +139,23 @@ return status of the executed command will be written to this variable. - - Note that if you are going to allow data coming from user input - to be passed to this function, then you should be using - escapeshellcmd to make sure that users - cannot trick the system into executing arbitrary commands. - - - Note also that if you start a program using this function and - want to leave it running in the background, you have to make - sure that the output of that program is redirected to a file or - some other output stream or else PHP will hang until the - execution of the program ends. - + + + If you are going to allow data coming from user input to be passed to + this function, then you should be using + escapeshellarg or + escapeshellcmd to make sure that users cannot trick + the system into executing arbitrary commands. + + + + + If you start a program using this function and want to leave it running + in the background, you have to make sure that the output of that program + is redirected to a file or some other output stream or else PHP will + hang until the execution of the program ends. + + See also system, passthru, popen, @@ -192,14 +196,25 @@ pbmplus utilities that can output an image stream directly. By setting the Content-type to image/gif and then calling a pbmplus program to output a gif, you can create - PHP scripts that output images directly. - - Note that if you start a program using this function and want to - leave it running in the background, you have to make sure that the - output of that program is redirected to a file or some other - output stream or else PHP will hang until the execution of the - program ends. + PHP scripts that output images directly. + + + If you are going to allow data coming from user input to be passed to + this function, then you should be using + escapeshellarg or + escapeshellcmd to make sure that users cannot trick + the system into executing arbitrary commands. + + + + + If you start a program using this function and want to leave it running + in the background, you have to make sure that the output of that program + is redirected to a file or some other output stream or else PHP will + hang until the execution of the program ends. + + See also exec, system, popen, escapeshellcmd, @@ -233,20 +248,23 @@ status code of the executed command will be written to this variable. - - Note, that if you are going to allow data coming from user input - to be passed to this function, then you should be using the - escapeshellcmd function to make sure that - users cannot trick the system into executing arbitrary - commands. - - - Note also that if you start a program using this function and want - to leave it running in the background, you have to make sure that - the output of that program is redirected to a file or some other - output stream or else PHP will hang until the execution of the - program ends. - + + + If you are going to allow data coming from user input to be passed to + this function, then you should be using + escapeshellarg or + escapeshellcmd to make sure that users cannot trick + the system into executing arbitrary commands. + + + + + If you start a program using this function and want to leave it running + in the background, you have to make sure that the output of that program + is redirected to a file or some other output stream or else PHP will + hang until the execution of the program ends. + + The system call also tries to automatically flush the web server's output buffer after each line of output if
[PHP-DOC] cvs: phpdoc /en/functions image.xml
jimwMon Dec 17 17:46:09 2001 EDT Modified files: /phpdoc/en/functionsimage.xml Log: *ttf*: document odd (and inconsistent?) way that gd library handles specification of font. it would be nice if this behaved sanely. c'est la vie. Index: phpdoc/en/functions/image.xml diff -u phpdoc/en/functions/image.xml:1.67 phpdoc/en/functions/image.xml:1.68 --- phpdoc/en/functions/image.xml:1.67 Mon Dec 17 05:28:42 2001 +++ phpdoc/en/functions/image.xml Mon Dec 17 17:46:07 2001 @@ -1,5 +1,5 @@ - + Image functions Image @@ -3023,7 +3023,10 @@ - The name of the TrueType font file. (Can also be an URL.) + The name of the TrueType font file. (Can also be an URL.) Depending on + which version of the GD library that PHP is using, it may attempt to + search for files that do not begin with a leading '/' by appending + '.ttf' to the filename and searching along a library-defined font path. @@ -3145,10 +3148,14 @@ ImageTTFText draws the string text in the image identified by im, starting at coordinates - x, y (top left is - 0, 0), at an angle of angle in color - col, using the TrueType font file - identified by fontfile. + x, y (top left is 0, 0), at + an angle of angle in color + col, using the TrueType font file identified by + fontfile. Depending on which version of the GD + library that PHP is using, when fontfile does not + begin with a leading '/', '.ttf' will be appended to the filename and + the the library will attempt to search for that filename along a + library-defined font path. The coordinates given by x,
[PHP-DOC] cvs: phpdoc /en/functions strings.xml
jimwMon Dec 17 17:29:42 2001 EDT Modified files: /phpdoc/en/functionsstrings.xml Log: htmlentites,htmlspecialchars: document version third argument was added Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.142 phpdoc/en/functions/strings.xml:1.143 --- phpdoc/en/functions/strings.xml:1.142 Mon Dec 17 14:49:37 2001 +++ phpdoc/en/functions/strings.xml Mon Dec 17 17:29:42 2001 @@ -1,5 +1,5 @@ - + String functions Strings @@ -754,11 +754,6 @@ The content of $original would be: "Hallo && Krämer". - - - This function was added in PHP 4.0. - - See also: htmlspecialchars, @@ -914,12 +909,13 @@ At present, the ISO-8859-1 character set is used as default. - Note that the optional second argument was added in PHP 3.0.17 - and PHP 4.0.3. + Support for the optional second argument was added in PHP 3.0.17 and PHP + 4.0.3. Like htmlspecialchars, it takes an optional third argument which defines character set used in conversion. + Support for this argument was added in PHP 4.1.0. See also htmlspecialchars and @@ -1012,12 +1008,13 @@ Note that this function does not translate anything beyond what is listed above. For full entity translation, see - htmlentities. Also note that the optional + htmlentities. Support for the optional second argument was added in PHP 3.0.17 and PHP 4.0.3. The third argument defines character set used in conversion. The - default character set is ISO-8859-1. + default character set is ISO-8859-1. Support for this third argument was + added in PHP 4.1.0. See also htmlentities and
[PHP-DOC] cvs: phpdoc /en/functions info.xml
jimwMon Dec 17 17:14:19 2001 EDT Modified files: /phpdoc/en/functionsinfo.xml Log: get_cfg_var: see also ini_get; ini_get: see also get_cfg_var Index: phpdoc/en/functions/info.xml diff -u phpdoc/en/functions/info.xml:1.80 phpdoc/en/functions/info.xml:1.81 --- phpdoc/en/functions/info.xml:1.80 Thu Dec 13 05:27:12 2001 +++ phpdoc/en/functions/info.xmlMon Dec 17 17:14:18 2001 @@ -1,5 +1,5 @@ - + PHP options & information PHP options/info @@ -303,6 +303,9 @@ setting. If this is available, a configuration file is being used. + + See also ini_get. + @@ -905,7 +908,8 @@ an empty string on failure. - See also ini_get_all, + See also get_cfg_var, + ini_get_all, ini_alter, ini_restore, ini_set
[PHP-DOC] Bug #6180 Updated: missing operators in docu
ID: 6180 Updated by: eschmid Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Documentation problem Operating System: * PHP Version: 4.0 Latest CVS (15/08/2000) New Comment: Here docs are in the manual. Previous Comments: [2000-09-03 07:40:24] [EMAIL PROTECTED] note: andi mentioned, that {} should *not* be used to access array elements. [2000-08-17 10:37:06] [EMAIL PROTECTED] () has the highest precedence, eg. $a = 1 && $b = 2; ($a = 1) && ($b = 3); It was a bug report that made me thinking it should be added. {} well, I don´t know why it works, but it works like [] echo $x{1}='test2'; var_dump($x); // results in an arry !== you´re right, did not see <<< well and here-docs seem to have the hightest precedence too, similar to new $x=1; $a=1; $x=!$a=<
[PHP-DOC] cvs: phpdoc /en preface.xml
jimwMon Dec 17 16:45:22 2001 EDT Modified files: /phpdoc/en preface.xml Log: tighten up the preface text even more. Index: phpdoc/en/preface.xml diff -u phpdoc/en/preface.xml:1.23 phpdoc/en/preface.xml:1.24 --- phpdoc/en/preface.xml:1.23 Mon Dec 17 14:13:59 2001 +++ phpdoc/en/preface.xml Mon Dec 17 16:45:16 2001 @@ -1,5 +1,5 @@ - + Preface @@ -11,31 +11,22 @@ language. Much of its syntax is borrowed from C, Java and Perl with some unique features thrown in. The main goal of the language is to allow web developers to write dynamically -generated pages quickly. You can do many more with PHP. Read -on, and see. +generated pages quickly, but you can do much more with PHP. - This manual tries to give you an overview of PHP's - capabilites, the functions provided, and features - instructions about how to solve some common problems. - The main focus of this manual is to give a reference - for functions, so you can easily find syntax information - and usage examples. We also provide details about the - building blocks of PHP. - - - We provide this manual is several formats and languages. - To read more about the formats, and how we generate them, - read the appendix titled 'About the - manual'. You can find information about used - conventions, and further suggested reading in that part. + This manual consists primarily of a function reference, but also contains a + language reference, explanations of some of PHP's major features, and other + supplemental information. + - You can download actual versions of this manual in several - formats at &url.php.docs;. - The downloads are updated as the content changes. + You can download this manual in several formats at &url.php.docs;. The downloads are updated as + the content changes. More information about how this manual is developed + can be found in the 'About the manual' + appendix.
[PHP-DOC] Bug #13950 Updated: fgetcsv misinterprets fields containing double-quotes
ID: 13950 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Documentation problem Operating System: Sun (SPARC) Solaris 2.6 PHP Version: 4.0.6 / 4.20cvs Old Assigned To: jeroen Assigned To: New Comment: Closing due to no feedback Previous Comments: [2001-11-08 17:01:30] [EMAIL PROTECTED] "It's important to note that while just about everyone thinks they know what the CSV file format is, there is actually no formal definition of the format and there are many subtle differences. Here's one description of a CSV file: http://www.whatis.com/csvfile.htm " Source: http://dbi.symbolstone.org/cgi/summarydump?module=DBD::CSV That whatis link is broken, see http://whatis.techtarget.com/definition/0,,sid9_gci213871,00.html On several sites I encoutered the same (incomplete and vague) BNF definition, original source unknown: ::= { } ::= { "," } ::= ( { } | ) That's all I think... and there is some problem with this format: different database systems have different definitions of the term :) [Found, amongst others, on http://myfileformats.com/search.php?name=CSV] Changed status again because of accidentel cross-update, and assigning to myself. [2001-11-08 16:32:55] [EMAIL PROTECTED] What output did you expect then from your example? Derick [2001-11-08 16:32:16] [EMAIL PROTECTED] The CSV format prescribes that fields may be enclosed in double quotes, to make it possible to have the delimiter itself part of a field. try google on CSV, to find a definition. If you find one, we'd appreciate it if you entered a link here, so we can make the documentation better. Changing to documentation bug (indeed, the docs aren't clear about this) [2001-11-08 16:22:46] [EMAIL PROTECTED] How is this /not/ a bug? It does the same thing indepentdent of delimiter. If I have a CSV file that looks like one,"two" three,four one,two" three",four one,two,three,four one,two "three" four,five and it gets read in as ('one', 'two', 'four') ('one',' two "three"', 'four') ('one', 'two', 'three', 'four') ('one', 'two "three" four', 'five') That behavoir does not match the function definition of fgetcsv in the manual. it is mishandling the data. "fgetcsv -- Gets line from file pointer and parse for CSV fields Description array fgetcsv (int fp, int length, string [delimiter]) Similar to fgets() except that fgetcsv() parses the line it reads for fields in CSV format and returns an array containing the fields read. The field delimiter is a comma, unless you specify another delimiter with the optional third parameter. " How can that possibly mean "strips off double quotes and removes subsequent data"? I'd expect it to split on the delimiter specified, and to file the resulting information into the array. [2001-11-08 15:33:14] [EMAIL PROTECTED] This is exactly what fgetcsv is for (interpreting the double quotes in CSV files). Use explode if you simply want to split on tabs. No bug. --Jeroen The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=13950 Edit this bug report at http://bugs.php.net/?id=13950&edit=1
[PHP-DOC] Bug #6180 Updated: missing operators in docu
ID: 6180 Updated by: derick Reported By: [EMAIL PROTECTED] Old Status: Analyzed Status: Open Bug Type: Documentation problem Operating System: * PHP Version: 4.0 Latest CVS (15/08/2000) Old Assigned To: jeroen Assigned To: Previous Comments: [2000-08-17 10:37:06] [EMAIL PROTECTED] () has the highest precedence, eg. $a = 1 && $b = 2; ($a = 1) && ($b = 3); It was a bug report that made me thinking it should be added. {} well, I don´t know why it works, but it works like [] echo $x{1}='test2'; var_dump($x); // results in an arry !== you´re right, did not see <<< well and here-docs seem to have the hightest precedence too, similar to new $x=1; $a=1; $x=!$a=<
[PHP-DOC] cvs: phpdoc / html-common.dsl
jimwMon Dec 17 16:38:40 2001 EDT Modified files: /phpdoc html-common.dsl Log: format editors just like authors in html versions. Index: phpdoc/html-common.dsl diff -u phpdoc/html-common.dsl:1.18 phpdoc/html-common.dsl:1.19 --- phpdoc/html-common.dsl:1.18 Sun Nov 18 18:28:22 2001 +++ phpdoc/html-common.dsl Mon Dec 17 16:38:40 2001 @@ -1,6 +1,6 @@ ;; -*- Scheme -*- ;; -;; $Id: html-common.dsl,v 1.18 2001/11/18 23:28:22 hholzgra Exp $ +;; $Id: html-common.dsl,v 1.19 2001/12/17 21:38:40 jimw Exp $ ;; ;; Returns the depth of the auto-generated TOC (table of @@ -333,7 +333,19 @@ attributes: (list (list "CLASS" (gi))) (literal author-name)) (process-node-list author-affil -) + + (element editor +(let ((editor-name (author-string))) + (make sequence +(if (first-sibling?) +(make element gi: "H2" + attributes: (list (list "CLASS" "EDITEDBY")) + (literal (gentext-edited-by))) +(empty-sosofo)) +(make element gi: "DIV" + attributes: (list (list "CLASS" (gi))) + (literal editor-name) +) ;; Put version info where the refname part in the refnamediv is
Re: [PHP-DOC] cvs: phpdoc /en/functions xslt.xml
> Modified files: > /phpdoc/en/functions xslt.xml > Log: > added skeletons for missing functions In this case, the one xml file by function approach would even be better, as there is not too much point in copying all the undocumented func skeletons in translations, but this way translations can really get behind, with these functions "truly" undocumented. Are there any test to make the one xml file per function thing work, or is there any estimate when we can see that thing at least in a separate branch in CVS? Is there any place where you need help preparing for this change? Goba
Re: [PHP-DOC] cvs: phpdoc /en/appendices about.xml
> >> Nice work :) A note on the main title. I titled it "More about the > > manual", > >> because there IS an "About the manual" titled part at the begining. I > > think > >> it would confuse people to have two quite different sections titled "about > >> the manual"... > > > > I have eliminated this problem, so no action is required on your part. > > actually, i hadn't noticed the 'about the manual' section in the front > of the manual. this is where this stuff should be (based on nearly every > computer book i've ever used), so if i get around to writing the stuff > about the typographic conventions, i'll fold it all into the preface. I thought about the linear readers we have. Introduction of PHP, and the conceptions seemed more appropriate at the begining, than the technical details of the manual, so this is why I made this a separate appendix. Goba
[PHP-DOC] cvs: phpdoc /en/functions xslt.xml
hholzgraMon Dec 17 16:07:17 2001 EDT Modified files: /phpdoc/en/functionsxslt.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/xslt.xml diff -u phpdoc/en/functions/xslt.xml:1.28 phpdoc/en/functions/xslt.xml:1.29 --- phpdoc/en/functions/xslt.xml:1.28 Wed Dec 12 15:47:33 2001 +++ phpdoc/en/functions/xslt.xmlMon Dec 17 16:07:17 2001 @@ -1,5 +1,5 @@ - + XSLT functions XSLT @@ -543,6 +543,53 @@ + + + +xslt_set_sax_handlers + + Set the SAX handlers to be called when the XML document gets processed + + + +Description + + + void xslt_set_sax_handlers + resource processor + array handlers + + + + &warn.undocumented.func; + + + + + + + + +xslt_set_scheme_handlers + + Set the scheme handlers for the XSLT processor + + + +Description + + + void xslt_set_scheme_handlers + resource processor + array handlers + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions xml.xml
hholzgraMon Dec 17 16:04:55 2001 EDT Modified files: /phpdoc/en/functionsxml.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/xml.xml diff -u phpdoc/en/functions/xml.xml:1.23 phpdoc/en/functions/xml.xml:1.24 --- phpdoc/en/functions/xml.xml:1.23Wed Dec 12 15:47:33 2001 +++ phpdoc/en/functions/xml.xml Mon Dec 17 16:04:54 2001 @@ -1,5 +1,5 @@ - + XML parser functions XML @@ -2125,6 +2125,77 @@ + + + +xml_parser_create_ns + + Create an XML parser + + + +Description + + + int xml_parser_create_ns + string encoding + string sep + + + + &warn.undocumented.func; + + + + + + + + +xml_set_end_namespace_decl_handler + + Set up character data handler + + + +Description + + + int xml_set_end_namespace_decl_handler + int pind + string hdl + + + + &warn.undocumented.func; + + + + + + + + +xml_set_start_namespace_decl_handler + + Set up character data handler + + + +Description + + + int xml_set_start_namespace_decl_handler + int pind + string hdl + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions fbsql.xml
hholzgraMon Dec 17 15:27:17 2001 EDT Modified files: /phpdoc/en/functionsfbsql.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/fbsql.xml diff -u phpdoc/en/functions/fbsql.xml:1.33 phpdoc/en/functions/fbsql.xml:1.34 --- phpdoc/en/functions/fbsql.xml:1.33 Wed Dec 12 15:46:46 2001 +++ phpdoc/en/functions/fbsql.xml Mon Dec 17 15:27:17 2001 @@ -1,5 +1,5 @@ - + FrontBase Functions FrontBase @@ -2389,6 +2389,149 @@ + + + +fbsql_database + + No description given yet + + + +Description + + + string fbsql_database + resource link_identifier + string database + + + + &warn.undocumented.func; + + + + + + + + +fbsql_get_autostart_info + + No description given yet + + + +Description + + + array fbsql_get_autostart_info + resource +link_identifier + + + + &warn.undocumented.func; + + + + + + + + +fbsql_hostname + + No description given yet + + + +Description + + + string fbsql_hostname + resource link_identifier + string +host_name + + + + &warn.undocumented.func; + + + + + + + + +fbsql_password + + No description given yet + + + +Description + + + string fbsql_password + resource link_identifier + string password + + + + &warn.undocumented.func; + + + + + + + + +fbsql_set_transaction + + Set the transaction locking and isolation + + + +Description + + + void fbsql_set_transaction + resource link_identifier + int Locking + int Isolation + + + + &warn.undocumented.func; + + + + + + + + +fbsql_username + + No description given yet + + + +Description + + + string fbsql_username + resource link_identifier + string username + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions domxml.xml
hholzgraMon Dec 17 15:26:17 2001 EDT Modified files: /phpdoc/en/functionsdomxml.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.27 phpdoc/en/functions/domxml.xml:1.28 --- phpdoc/en/functions/domxml.xml:1.27 Mon Dec 17 05:33:30 2001 +++ phpdoc/en/functions/domxml.xml Mon Dec 17 15:26:17 2001 @@ -1,5 +1,5 @@ - + DOM XML functions DOM XML @@ -858,6 +858,69 @@ See also + + + + + + +domxml_node + + Creates node + + + +Description + + + object domxml_node + string name + + + + &warn.undocumented.func; + + + + + + +domxml_node_set_content + + Sets content of a node + + + +Description + + + bool domxml_node_set_content + string content + + + + &warn.undocumented.func; + + + + + + +domxml_node_unlink_node + + Deletes node + + + +Description + + + object domxml_node_unlink_node + + + + + &warn.undocumented.func;
[PHP-DOC] cvs: phpdoc /en/functions ibase.xml
hholzgraMon Dec 17 15:25:30 2001 EDT Modified files: /phpdoc/en/functionsibase.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/ibase.xml diff -u phpdoc/en/functions/ibase.xml:1.38 phpdoc/en/functions/ibase.xml:1.39 --- phpdoc/en/functions/ibase.xml:1.38 Wed Dec 12 15:46:51 2001 +++ phpdoc/en/functions/ibase.xml Mon Dec 17 15:25:30 2001 @@ -1,5 +1,5 @@ - + InterBase functions InterBase @@ -604,13 +604,13 @@ defaults to IBASE_TIMESTAMP for backwards compatibility. - + @@ -656,23 +656,23 @@ set. - + @@ -687,6 +687,191 @@ + + + +ibase_blob_add + + Add data into created blob + + + +Description + + + int ibase_blob_add + int blob_id + string data + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_cancel + + Cancel creating blob + + + +Description + + + int ibase_blob_cancel + int blob_id + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_close + + Close blob + + + +Description + + + int ibase_blob_close + int blob_id + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_create + + Create blob for adding data + + + +Description + + + int ibase_blob_create + int +link_identifier + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_echo + + Output blob contents to browser + + + +Description + + + int ibase_blob_echo + string blob_id_str + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_get + + Get len bytes data from open blob + + + +Description + + + string ibase_blob_get + int blob_id + int len + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_info + + Return blob length and other useful info + + + +Description + + + object ibase_blob_info + string blob_id_str + + + + &warn.undocumented.func; + + + + + + + + +ibase_blob_open + + Open blob for retriving data parts + + + +Description + + + int ibase_blob_open + string blob_id + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions mssql.xml
hholzgraMon Dec 17 15:22:09 2001 EDT Modified files: /phpdoc/en/functionsmssql.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/mssql.xml diff -u phpdoc/en/functions/mssql.xml:1.23 phpdoc/en/functions/mssql.xml:1.24 --- phpdoc/en/functions/mssql.xml:1.23 Wed Dec 12 15:47:07 2001 +++ phpdoc/en/functions/mssql.xml Mon Dec 17 15:22:09 2001 @@ -1,5 +1,5 @@ - + Microsoft SQL Server functions MS SQL Server @@ -728,6 +728,175 @@ + + + +mssql_bind + + Adds a parameter to a stored procedure or a remote stored procedure + + + +Description + + + int mssql_bind + int stmt + string param_name + mixed var + int type + int is_output + int is_null + int maxlen + + + + &warn.undocumented.func; + + + + + + + + +mssql_execute + + Executes a stored procedure on a MS-SQL server database + + + +Description + + + int mssql_execute + int stmt + + + + &warn.undocumented.func; + + + + + + + + +mssql_fetch_assoc + + Returns an associative array of the current row in the result set specified by +result_id + + + +Description + + + array mssql_fetch_assoc + int result_id + int result_type + + + + &warn.undocumented.func; + + + + + + + + +mssql_fetch_batch + + Returns the next batch of records + + + +Description + + + int mssql_fetch_batch + string result_index + + + + &warn.undocumented.func; + + + + + + + + +mssql_guid_string + + Converts a 16 byte binary GUID to a string + + + +Description + + + string mssql_guid_string + string binary + int +short_format + + + + &warn.undocumented.func; + + + + + + + + +mssql_init + + Initializes a stored procedure or a remote stored procedure + + + +Description + + + int mssql_init + string sp_name + int conn_id + + + + &warn.undocumented.func; + + + + + + + + +mssql_rows_affected + + Returns the number of records affected by the query + + + +Description + + + int mssql_rows_affected + int conn_id + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions ldap.xml
hholzgraMon Dec 17 15:20:36 2001 EDT Modified files: /phpdoc/en/functionsldap.xml Log: added skeletons for missing functions Index: phpdoc/en/functions/ldap.xml diff -u phpdoc/en/functions/ldap.xml:1.38 phpdoc/en/functions/ldap.xml:1.39 --- phpdoc/en/functions/ldap.xml:1.38 Wed Dec 12 15:46:59 2001 +++ phpdoc/en/functions/ldap.xmlMon Dec 17 15:20:36 2001 @@ -1,5 +1,5 @@ - + LDAP functions LDAP @@ -1697,6 +1697,226 @@ directory. + + + +ldap_8859_to_t61 + + Translate 8859 characters to t61 characters + + + +Description + + + string ldap_8859_to_t61 + string value + + + + &warn.undocumented.func; + + + + + + + + +ldap_first_reference + + Return first reference + + + +Description + + + int ldap_first_reference + int link + int result + + + + &warn.undocumented.func; + + + + + + + + +ldap_next_reference + + Get next reference + + + +Description + + + int ldap_next_reference + int link + int entry + + + + &warn.undocumented.func; + + + + + + + + +ldap_parse_reference + + Extract information from reference entry + + + +Description + + + boolean ldap_parse_reference + int link + int entry + array referrals + + + + &warn.undocumented.func; + + + + + + + + +ldap_parse_result + + Extract information from result + + + +Description + + + boolean ldap_parse_result + int link + int result + int errcode + string matcheddn + string errmsg + array referrals + + + + &warn.undocumented.func; + + + + + + + + +ldap_set_rebind_proc + + Set a callback function to do re-binds on referral chasing. + + + +Description + + + int ldap_set_rebind_proc + int link + string callback + + + + &warn.undocumented.func; + + + + + + + + +ldap_sort + + Sort LDAP result entries + + + +Description + + + int ldap_sort + int link + int result + string sortfilter + + + + &warn.undocumented.func; + + + + + + + + +ldap_start_tls + + Start TLS + + + +Description + + + int ldap_start_tls + int link + + + + &warn.undocumented.func; + + + + + + + + +ldap_t61_to_8859 + + Translate t61 characters to 8859 characters + + + +Description + + + string ldap_t61_to_8859 + string value + + + + &warn.undocumented.func; + + + + + +
[PHP-DOC] cvs: phpdoc /en/functions mnogosearch.xml
hholzgraMon Dec 17 15:09:06 2001 EDT Modified files: /phpdoc/en/functionsmnogosearch.xml Log: added prototypes for missing functions Index: phpdoc/en/functions/mnogosearch.xml diff -u phpdoc/en/functions/mnogosearch.xml:1.30 phpdoc/en/functions/mnogosearch.xml:1.31 --- phpdoc/en/functions/mnogosearch.xml:1.30Wed Dec 12 15:47:06 2001 +++ phpdoc/en/functions/mnogosearch.xml Mon Dec 17 15:08:59 2001 @@ -1,5 +1,5 @@ - + mnoGoSearch Functions mnoGoSearch @@ -1270,6 +1270,128 @@ + + + +udm_check_charset + + Check if the given charset is known to mnogosearch + + + +Description + + + int udm_check_charset + int agent + string charset + + + + &warn.undocumented.func; + + + + + + + + +udm_check_stored + + Open connection to stored + + + +Description + + + int udm_check_stored + int agent + int link + string doc_id + + + + &warn.undocumented.func; + + + + + + + + +udm_close_stored + + Open connection to stored + + + +Description + + + int udm_close_stored + int agent + int link + + + + &warn.undocumented.func; + + + + + + + + +udm_crc32 + + Return CRC32 checksum of gived string + + + +Description + + + int udm_crc32 + int agent + string str + + + + &warn.undocumented.func; + + + + + + + + +udm_open_stored + + Open connection to stored + + + +Description + + + int udm_open_stored + int agent + string storedaddr + + + + &warn.undocumented.func; + + + + + +
[PHP-DOC] cvs: phpdoc /en/functions pgsql.xml
hholzgraMon Dec 17 14:58:31 2001 EDT Modified files: /phpdoc/en/functionspgsql.xml Log: another buncht of skeletons for yet undocumented functions Index: phpdoc/en/functions/pgsql.xml diff -u phpdoc/en/functions/pgsql.xml:1.60 phpdoc/en/functions/pgsql.xml:1.61 --- phpdoc/en/functions/pgsql.xml:1.60 Sun Dec 16 20:36:02 2001 +++ phpdoc/en/functions/pgsql.xml Mon Dec 17 14:58:30 2001 @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -1875,6 +1875,313 @@ + + + +pg_cancel_query + + Cancel request + + + +Description + + + bool pg_cancel_query + resource connection + + + + &warn.undocumented.func; + + + + + + + + +pg_connection_busy + + Get connection is busy or not + + + +Description + + + bool pg_connection_busy + resource connection + + + + &warn.undocumented.func; + + + + + + + + +pg_connection_reset + + Reset connection (reconnect) + + + +Description + + + bool pg_connection_reset + resource connection + + + + &warn.undocumented.func; + + + + + + + + +pg_connection_status + + Get connection status + + + +Description + + + int pg_connection_status + resource connnection + + + + &warn.undocumented.func; + + + + + + + + +pg_copy_from + + No description given yet + + + +Description + + + int pg_copy_from + int connection + string table_name + array rows + string +delimiter + string null_as + + + + &warn.undocumented.func; + + + + + + + + +pg_copy_to + + Send null-terminated string to backend server + + + +Description + + + int pg_copy_to + int connection + string table_name + string +delimiter + string null_as + + + + &warn.undocumented.func; + + + + + + + + +pg_escape_bytea + + Escape binary for bytea type + + + +Description + + + string pg_escape_bytea + string data + + + + &warn.undocumented.func; + + + + + + + + +pg_escape_string + + Escape string for text/char type + + + +Description + + + string pg_escape_string + string data + + + + &warn.undocumented.func; + + + + + + + + +pg_lo_close + + Close a large object + + + +Description + + + bool pg_lo_close + resource large_object + + + + &warn.undocumented.func; + + + + + + + + +pg_lo_seek + + Seeks position of large object + + + +Description + + + bool pg_lo_seek + resource large_object + int offset + int whence + + + + &warn.undocumented.func; + + + + + + + + +pg_lo_tell + + Returns current position of large object + + + +Description + + + int pg_lo_tell + resource large_object + + + + &warn.undocumented.func; + + + + + + + + +pg_result_error + + Get error message associated with result + + + +Description + + + string pg_result_error + resource result + + + + &warn.undocumented.func; + + + + + + + + +pg_result_status + + Get status of query result + + + +Description + + + int pg_result_status + resource result + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc /en/functions strings.xml
hholzgraMon Dec 17 14:49:49 2001 EDT Modified files: /phpdoc/en/functionsstrings.xml Log: added skeleton for missing function Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.141 phpdoc/en/functions/strings.xml:1.142 --- phpdoc/en/functions/strings.xml:1.141 Sun Dec 16 15:38:08 2001 +++ phpdoc/en/functions/strings.xml Mon Dec 17 14:49:37 2001 @@ -1,5 +1,5 @@ - + String functions Strings @@ -4291,6 +4291,26 @@ + + +nl_langinfo + + Query language and locale information + + + +Description + + + string nl_langinfo + int item + + + + &warn.undocumented.func; + + +
[PHP-DOC] cvs: phpdoc /en/functions regex.xml
zak Mon Dec 17 14:35:00 2001 EDT Modified files: /phpdoc/en/functionsregex.xml Log: Added chunk_split() and wordwrap() to the see also block for split() and spliti(). Index: phpdoc/en/functions/regex.xml diff -u phpdoc/en/functions/regex.xml:1.34 phpdoc/en/functions/regex.xml:1.35 --- phpdoc/en/functions/regex.xml:1.34 Wed Dec 12 15:47:23 2001 +++ phpdoc/en/functions/regex.xml Mon Dec 17 14:34:59 2001 @@ -1,5 +1,5 @@ - + Regular Expression Functions (POSIX Extended) Regexps @@ -451,7 +451,9 @@ preg_split, spliti, explode, - and implode. + implode, + chunk_split and + wordwrap.
[PHP-DOC] cvs: phpdoc /en/appendices aliases.xml debugger.xml migration.xml phpdevel.xml reserved.xml resources.xml
jimwMon Dec 17 14:33:05 2001 EDT Modified files: /phpdoc/en/appendices aliases.xml debugger.xml migration.xml phpdevel.xml reserved.xml resources.xml Log: make the appendix titles not be lame. Index: phpdoc/en/appendices/aliases.xml diff -u phpdoc/en/appendices/aliases.xml:1.15 phpdoc/en/appendices/aliases.xml:1.16 --- phpdoc/en/appendices/aliases.xml:1.15 Wed Dec 12 15:46:25 2001 +++ phpdoc/en/appendices/aliases.xmlMon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - Aliases list + List of Function Aliases Here is the aliases list. All aliases are listed here. It is usually a bad idea to use aliases, are they may be bound to obsolescence or Index: phpdoc/en/appendices/debugger.xml diff -u phpdoc/en/appendices/debugger.xml:1.15 phpdoc/en/appendices/debugger.xml:1.16 --- phpdoc/en/appendices/debugger.xml:1.15 Wed Dec 12 15:46:26 2001 +++ phpdoc/en/appendices/debugger.xml Mon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - The PHP Debugger + Debugging PHP 3 About the debugger Index: phpdoc/en/appendices/migration.xml diff -u phpdoc/en/appendices/migration.xml:1.15 phpdoc/en/appendices/migration.xml:1.16 --- phpdoc/en/appendices/migration.xml:1.15 Wed Dec 12 15:46:26 2001 +++ phpdoc/en/appendices/migration.xml Mon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - Migrating from PHP/FI 2.0 to PHP 3.0 + Migrating from PHP/FI 2 to PHP 3 About the incompatibilities in 3.0 Index: phpdoc/en/appendices/phpdevel.xml diff -u phpdoc/en/appendices/phpdevel.xml:1.15 phpdoc/en/appendices/phpdevel.xml:1.16 --- phpdoc/en/appendices/phpdevel.xml:1.15 Wed Dec 12 15:46:27 2001 +++ phpdoc/en/appendices/phpdevel.xml Mon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - PHP development + Extending PHP 3 Index: phpdoc/en/appendices/reserved.xml diff -u phpdoc/en/appendices/reserved.xml:1.12 phpdoc/en/appendices/reserved.xml:1.13 --- phpdoc/en/appendices/reserved.xml:1.12 Wed Dec 12 15:46:28 2001 +++ phpdoc/en/appendices/reserved.xml Mon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - PHP reserved words + List of Reserved Words Here is the list of PHP reserved words, usually constants and Index: phpdoc/en/appendices/resources.xml diff -u phpdoc/en/appendices/resources.xml:1.21 phpdoc/en/appendices/resources.xml:1.22 --- phpdoc/en/appendices/resources.xml:1.21 Wed Dec 12 15:46:30 2001 +++ phpdoc/en/appendices/resources.xml Mon Dec 17 14:33:05 2001 @@ -1,7 +1,7 @@ - + - PHP Resource Types + List of Resource Types The following is a list of functions which create, use or destroy PHP resources. The function is_resource can be
Re: [PHP-DOC] cvs: phpdoc /en/appendices about.xml
Gabor Hojtsy <[EMAIL PROTECTED]> wrote: >> Nice work :) A note on the main title. I titled it "More about the > manual", >> because there IS an "About the manual" titled part at the begining. I > think >> it would confuse people to have two quite different sections titled "about >> the manual"... > > I have eliminated this problem, so no action is required on your part. actually, i hadn't noticed the 'about the manual' section in the front of the manual. this is where this stuff should be (based on nearly every computer book i've ever used), so if i get around to writing the stuff about the typographic conventions, i'll fold it all into the preface. jim
[PHP-DOC] cvs: phpdoc /en/appendices migration4.xml
jimwMon Dec 17 14:27:31 2001 EDT Modified files: /phpdoc/en/appendices migration4.xml Log: s/([34]).0/$1/, mostly. this section could really use a polish. Index: phpdoc/en/appendices/migration4.xml diff -u phpdoc/en/appendices/migration4.xml:1.16 phpdoc/en/appendices/migration4.xml:1.17 --- phpdoc/en/appendices/migration4.xml:1.16Wed Dec 12 15:46:26 2001 +++ phpdoc/en/appendices/migration4.xml Mon Dec 17 14:27:31 2001 @@ -1,16 +1,16 @@ - + - Migrating from PHP 3.0 to PHP 4.0 + Migrating from PHP 3 to PHP 4 - What has changed in PHP 4.0 + What has changed in PHP 4 -PHP 4.0 and the integrated Zend engine have greatly inproved PHPs +PHP 4 and the integrated Zend engine have greatly inproved PHPs performance and capabilities, but great care has been taken to break as little existing code as possible. So migrating your code -from PHP 3.0 to 4.0 should be much easier than migrating from -PHP/FI 2.0 to PHP 3.0. A lot of existing PHP 3.0 code should be +from PHP 3 to 4 should be much easier than migrating from +PHP/FI 2 to PHP 3. A lot of existing PHP 3 code should be ready to run without changes, but you should still know about the few differences and take care to test your code before switching versions in production environments. The following should give you @@ -112,7 +112,7 @@ Standard values (or flags) cannot control certain PHP directives, for example - safe mode (if you could override safe mode settings in .htaccess files, it would defeat safe-mode's purpose). In contrast, Admin values can modify the value of any PHP directive. -To make the transition process easier, PHP 4.0 is bundled with scripts that automatically convert your Apache configuration and .htaccess files to work with both PHP 3.0 and PHP 4.0. These scripts do NOT convert the mime type lines! You have to convert these yourself. +To make the transition process easier, PHP 4 is bundled with scripts that +automatically convert your Apache configuration and .htaccess files to work with both +PHP 3 and PHP 4. These scripts do NOT convert the mime type lines! You have to +convert these yourself. To convert your Apache configuration files, run the apconf-conv.sh script (available in the scripts/apache/ directory). For example: @@ -177,7 +177,7 @@ considered as very bad style anyway. -Another thing no longer possible, though rarely seen in PHP 3.0 +Another thing no longer possible, though rarely seen in PHP 3 code is returning values from a required file. Returning a value from an included file is still possible. @@ -189,17 +189,16 @@ Configuration changes - With PHP 3.0 the error reporting level was set as a simple + With PHP 3 the error reporting level was set as a simple numeric value formed by summing up the numbers related to different error levels. Usual values where 15 for reporting all errors and warnings or 7 for reporting everything but simple notice messages reporting bad style and things like that. - PHP 4.0 now has a greater set of different error and warning - levels and comes with a configuration parser that now allows for - symbolic constants to be used for setting up the intended - behavior. + PHP 4 has a larger set of error and warning levels and comes with a + configuration parser that now allows for symbolic constants to be used + for setting the intended behavior. Error reporting level should now be configured by explicitly @@ -243,24 +242,24 @@ Additional warning messages - A lot of existing PHP 3.0 code uses language constructs that + A lot of existing PHP 3 code uses language constructs that should be considered as very bad style as this code, while doing the intended thing now, could easily be broken by changes in - other places. PHP 4.0 will output a lot of notice messages in - such situations where PHP 3.0 didn't. The easy fix is to just + other places. PHP 4 will output a lot of notice messages in + such situations where PHP 3 didn't. The easy fix is to just turn off E_NOTICE messages, but it is usually a good idea to fix the code instead. The most common case that will now produce notice messages is the - use of unquoted string constants as array indices. Both PHP 3.0 - and 4.0 will fall back to interprete theese as strings if no + use of unquoted string constants as array indices. Both PHP 3 + and 4 will fall back to interprete theese as strings if no keyword or constant is known by that name, but whenever a constant by that name had been defined anywhere else in the code it might break your script. This can even become a security risk if some intruder manages to redefine string
[PHP-DOC] cvs: phpdoc / manual.xml.in
jimwMon Dec 17 14:18:41 2001 EDT Modified files: /phpdoc manual.xml.in Log: move zendapi above faq, and reorder appendices a little. Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.98 phpdoc/manual.xml.in:1.99 --- phpdoc/manual.xml.in:1.98 Mon Dec 17 13:48:58 2001 +++ phpdoc/manual.xml.inMon Dec 17 14:18:41 2001 @@ -188,6 +188,8 @@ --> + &zend.api; + &FAQ; &FAQabbrev; @@ -206,19 +208,17 @@ &faq.misc; - &zend.api; - &Appendixes; - &appendices.migration; + &appendices.history; + &appendices.commandline; &appendices.migration4; - &appendices.phpdevel; + &appendices.migration; &appendices.debugger; + &appendices.phpdevel; + &appendices.aliases; &appendices.reserved; &appendices.resources; - &appendices.aliases; - &appendices.commandline; - &appendices.history; &appendices.about; &global.function-index;
Re: [PHP-DOC] cvs: phpdoc /en/appendices about.xml
> > jimw Sun Dec 16 17:17:40 2001 EDT > > > > Modified files: > > /phpdoc/en/appendices about.xml > > Log: > > clean up. > > Nice work :) A note on the main title. I titled it "More about the manual", > because there IS an "About the manual" titled part at the begining. I think > it would confuse people to have two quite different sections titled "about > the manual"... I have eliminated this problem, so no action is required on your part. Goba
[PHP-DOC] cvs: phpdoc /en preface.xml
gobaMon Dec 17 14:13:59 2001 EDT Modified files: /phpdoc/en preface.xml Log: separate WS only fix (get the tags and text one space closer) Index: phpdoc/en/preface.xml diff -u phpdoc/en/preface.xml:1.22 phpdoc/en/preface.xml:1.23 --- phpdoc/en/preface.xml:1.22 Mon Dec 17 14:13:17 2001 +++ phpdoc/en/preface.xml Mon Dec 17 14:13:59 2001 @@ -1,5 +1,5 @@ - + Preface @@ -16,27 +16,27 @@ - -This manual tries to give you an overview of PHP's -capabilites, the functions provided, and features -instructions about how to solve some common problems. -The main focus of this manual is to give a reference -for functions, so you can easily find syntax information -and usage examples. We also provide details about the -building blocks of PHP. - - -We provide this manual is several formats and languages. -To read more about the formats, and how we generate them, -read the appendix titled 'About the -manual'. You can find information about used -conventions, and further suggested reading in that part. - - -You can download actual versions of this manual in several -formats at &url.php.docs;. -The downloads are updated as the content changes. - + + This manual tries to give you an overview of PHP's + capabilites, the functions provided, and features + instructions about how to solve some common problems. + The main focus of this manual is to give a reference + for functions, so you can easily find syntax information + and usage examples. We also provide details about the + building blocks of PHP. + + + We provide this manual is several formats and languages. + To read more about the formats, and how we generate them, + read the appendix titled 'About the + manual'. You can find information about used + conventions, and further suggested reading in that part. + + + You can download actual versions of this manual in several + formats at &url.php.docs;. + The downloads are updated as the content changes. +
[PHP-DOC] cvs: phpdoc /en preface.xml
gobaMon Dec 17 14:13:17 2001 EDT Modified files: /phpdoc/en preface.xml Log: Change about link wording Index: phpdoc/en/preface.xml diff -u phpdoc/en/preface.xml:1.21 phpdoc/en/preface.xml:1.22 --- phpdoc/en/preface.xml:1.21 Mon Dec 17 14:07:51 2001 +++ phpdoc/en/preface.xml Mon Dec 17 14:13:17 2001 @@ -1,5 +1,5 @@ - + Preface @@ -28,8 +28,8 @@ We provide this manual is several formats and languages. To read more about the formats, and how we generate them, -read the About the manual -appendix. You can find information about used +read the appendix titled 'About the +manual'. You can find information about used conventions, and further suggested reading in that part.
[PHP-DOC] cvs: phpdoc /en/chapters intro.xml
gobaMon Dec 17 14:11:48 2001 EDT Modified files: /phpdoc/en/chapters intro.xml Log: No more PEAR, can't provide inline link to it Index: phpdoc/en/chapters/intro.xml diff -u phpdoc/en/chapters/intro.xml:1.26 phpdoc/en/chapters/intro.xml:1.27 --- phpdoc/en/chapters/intro.xml:1.26 Sat Dec 15 11:45:45 2001 +++ phpdoc/en/chapters/intro.xmlMon Dec 17 14:11:48 2001 @@ -1,5 +1,5 @@ - + Introduction @@ -137,8 +137,7 @@ programming, or a mixture of them. Although not every standard OOP feature is realized in the current version of PHP, many code libraries and large applications (including the -PEAR library) are written only -using OOP code. +PEAR library) are written only using OOP code. With PHP you are not limited to output HTML. PHP's abilities
[PHP-DOC] cvs: phpdoc /en/appendices about.xml
gobaMon Dec 17 14:10:03 2001 EDT Modified files: /phpdoc/en/appendices about.xml Log: So this is the about appendix and not the moreabout appendix, so name ID's as such. There are no links to this section now, nor any user notes, so there would be no problem modifying the IDs. Index: phpdoc/en/appendices/about.xml diff -u phpdoc/en/appendices/about.xml:1.6 phpdoc/en/appendices/about.xml:1.7 --- phpdoc/en/appendices/about.xml:1.6 Sun Dec 16 17:17:40 2001 +++ phpdoc/en/appendices/about.xml Mon Dec 17 14:10:03 2001 @@ -1,5 +1,5 @@ - + - + About the manual - + Formats The PHP manual is provided in several formats. These formats can be divided @@ -34,7 +34,7 @@ An advantage of the online manual over most of the offline formats is the - integration of user-contributed + integration of user-contributed notes. An obvious disadvantage is that you have to be online to view the manual in the online formats. @@ -42,7 +42,7 @@ There are several offline formats of the manual, and the most appropriate format for you depends on what operating system you use and your personal reading style. For information on how the manual is generated in so many - formats, read the 'How we generate the + formats, read the 'How we generate the formats' section of this appendix. @@ -90,7 +90,7 @@ - + About user notes The user-contributed notes play an important role in the development of @@ -110,7 +110,7 @@ - + How to find more information about PHP This manual does not attempt to provide instruction about general @@ -132,7 +132,7 @@ - + How to help improve the documentation There are two ways you can help to improve this documentation. @@ -153,12 +153,12 @@ 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 + linkend="about.notes">'About user notes' section of this appendix. - + How we generate the formats This manual is written in XML using the
[PHP-DOC] cvs: phpdoc /en preface.xml
gobaMon Dec 17 14:07:51 2001 EDT Modified files: /phpdoc/en preface.xml Log: No more about the manual section, it is in the appendix now, let text be part of the preface, where it belongs... Index: phpdoc/en/preface.xml diff -u phpdoc/en/preface.xml:1.20 phpdoc/en/preface.xml:1.21 --- phpdoc/en/preface.xml:1.20 Wed Dec 12 15:46:25 2001 +++ phpdoc/en/preface.xml Mon Dec 17 14:07:51 2001 @@ -1,5 +1,5 @@ - + Preface @@ -16,8 +16,6 @@ - - About this Manual This manual tries to give you an overview of PHP's capabilites, the functions provided, and features @@ -30,8 +28,8 @@ We provide this manual is several formats and languages. To read more about the formats, and how we generate them, -read the More about this -Manual appendix. You can find information about used +read the About the manual +appendix. You can find information about used conventions, and further suggested reading in that part. @@ -39,7 +37,6 @@ formats at &url.php.docs;. The downloads are updated as the content changes. -
[PHP-DOC] cvs: phpdoc /hu translation.xml
gobaMon Dec 17 13:49:14 2001 EDT Modified files: /phpdoc/hu translation.xml Log: New translation started Index: phpdoc/hu/translation.xml diff -u phpdoc/hu/translation.xml:1.1 phpdoc/hu/translation.xml:1.2 --- phpdoc/hu/translation.xml:1.1 Sat Dec 15 09:08:45 2001 +++ phpdoc/hu/translation.xml Mon Dec 17 13:49:14 2001 @@ -30,6 +30,7 @@ +
[PHP-DOC] cvs: phpdoc / manual.xml.in
gobaMon Dec 17 13:48:58 2001 EDT Modified files: /phpdoc manual.xml.in Log: As Martin Jansen (the maintainer of the PEAR manual) agreed, and nobody complained, comment out the PEAR part here. It is not that drastical as removing it completely, so now we will wait for the mails coming, "hey where is the PEAR part"... I can't think of an appropriate place in the manual to put a note that the PEAR manual is a separate project now... Index: phpdoc/manual.xml.in diff -u phpdoc/manual.xml.in:1.97 phpdoc/manual.xml.in:1.98 --- phpdoc/manual.xml.in:1.97 Sun Dec 16 05:27:02 2001 +++ phpdoc/manual.xml.inMon Dec 17 13:48:58 2001 @@ -178,16 +178,15 @@ &functions.zlib; + +--> &FAQ;
[PHP-DOC] cvs: phpdoc /it translation.xml
cortesi Mon Dec 17 13:07:49 2001 EDT Modified files: /phpdoc/it translation.xml Log: starting to use the new system assigning long due translation to me more to come tomorrow Index: phpdoc/it/translation.xml diff -u phpdoc/it/translation.xml:1.2 phpdoc/it/translation.xml:1.3 --- phpdoc/it/translation.xml:1.2 Mon Dec 17 12:01:36 2001 +++ phpdoc/it/translation.xml Mon Dec 17 13:07:48 2001 @@ -44,6 +44,7 @@ +
[PHP-DOC] cvs: phpdoc /it Translators translation.xml
cortesi Mon Dec 17 12:01:38 2001 EDT Modified files: /phpdoc/it Translators translation.xml Log: updating email and some minor error Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.118 phpdoc/it/Translators:1.119 --- phpdoc/it/Translators:1.118 Mon Dec 17 10:00:50 2001 +++ phpdoc/it/Translators Mon Dec 17 12:01:35 2001 @@ -20,7 +20,7 @@ giacomoGiacomo Tesio [EMAIL PROTECTED] marchesini Sergio Marchesini [EMAIL PROTECTED] marco Marco De Nittis [EMAIL PROTECTED] -milanesi Marco Milanesi [EMAIL PROTECTED] +milanesi Marco Milanesi [EMAIL PROTECTED] perugini Luca Perugini [EMAIL PROTECTED] [EMAIL PROTECTED] sartorelli Mariarosa Sartorelli[EMAIL PROTECTED] valenteCarlo Valente [EMAIL PROTECTED] Index: phpdoc/it/translation.xml diff -u phpdoc/it/translation.xml:1.1 phpdoc/it/translation.xml:1.2 --- phpdoc/it/translation.xml:1.1 Mon Dec 17 10:01:50 2001 +++ phpdoc/it/translation.xml Mon Dec 17 12:01:36 2001 @@ -11,10 +11,10 @@ - + - + @@ -25,10 +25,11 @@ + - + @@ -36,7 +37,7 @@ - + @@ -54,7 +55,6 @@ -
[PHP-DOC] cvs: phpdoc /it translation.xml
cucinatoMon Dec 17 10:01:53 2001 EDT Added files: /phpdoc/it translation.xml Log: Added to give more info in revcheck.html status file Index: phpdoc/it/translation.xml +++ phpdoc/it/translation.xml The Italian translation of the PHP Documentation is managed by Luca Perugini and Simone Cortesi, and the other contributors with a CVS user.
[PHP-DOC] cvs: phpdoc /it Translators
cucinatoMon Dec 17 10:00:50 2001 EDT Modified files: /phpdoc/it Translators Log: updated Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.117 phpdoc/it/Translators:1.118 --- phpdoc/it/Translators:1.117 Mon Dec 17 09:45:02 2001 +++ phpdoc/it/Translators Mon Dec 17 10:00:50 2001 @@ -84,7 +84,7 @@ remote-files.xml marco T1.12 safe-mode.xml peruginiW1.16 --- functions --- -apache.xml +apache.xml cucinatoA1.20 array.xml cucinatoT1.129 aspell.xml cucinatoT1.21 bc.xml cucinatoT1.18
[PHP-DOC] cvs: phpdoc /it Translators /it/functions dir.xml math.xml
cortesi Mon Dec 17 09:45:03 2001 EDT Modified files: /phpdoc/it Translators /phpdoc/it/functionsdir.xml math.xml Log: in sync with EN tree Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.116 phpdoc/it/Translators:1.117 --- phpdoc/it/Translators:1.116 Mon Dec 17 08:42:25 2001 +++ phpdoc/it/Translators Mon Dec 17 09:45:02 2001 @@ -104,7 +104,7 @@ dbm.xml dbplus.xml dbx.xml -dir.xmlcortesi T1.26 +dir.xmlcortesi T1.28 domxml.xml errorfunc.xml exec.xml giacomo T1.22 @@ -131,7 +131,7 @@ java.xml ldap.xml sartorelli A mail.xml fabio T1.15 -math.xml cortesi T1.59 +math.xml cortesi T1.63 mbstring.xml mcal.xml mcrypt.xml @@ -175,7 +175,7 @@ url.xmlbenni A1.19 var.xmlmarchesini T1.23 wddx.xml -xml.xmlmilanesiA +xml.xml xslt.xml marchesini A1.24 yaz.xml zip.xml Index: phpdoc/it/functions/dir.xml diff -u phpdoc/it/functions/dir.xml:1.11 phpdoc/it/functions/dir.xml:1.12 --- phpdoc/it/functions/dir.xml:1.11Wed Dec 12 15:51:51 2001 +++ phpdoc/it/functions/dir.xml Mon Dec 17 09:45:03 2001 @@ -1,5 +1,5 @@ - + Funzioni per le directory Directory @@ -80,28 +80,34 @@ Un meccanismo pseudo orientato agli oggetti per leggere una directory. La - directory data è aperta. Due proprietà - sono disponibili nonappena la directory è stata aperta. La + directory data è aperta. Due proprietà + sono disponibili nonappena la directory è stata aperta. La proprietà handle può essere usata in congiunzione ad altre funzioni relative alle directory, quali readdir, rewinddir e - closedir. La proprietà path è impostata alla - directory che è stata aperta. Sono disponibili tre metodi: + closedir. La proprietà path è impostata alla + directory che è stata aperta. Sono disponibili tre metodi: read (leggi), rewind (riavvolgi) e close (chiudi). esempio dir + + + L'ordine nel quale vengono restituiti i dati dal metodo read è dipendente + dal sistema usato. + + Index: phpdoc/it/functions/math.xml diff -u phpdoc/it/functions/math.xml:1.18 phpdoc/it/functions/math.xml:1.19 --- phpdoc/it/functions/math.xml:1.18 Wed Dec 12 15:51:54 2001 +++ phpdoc/it/functions/math.xmlMon Dec 17 09:45:03 2001 @@ -1,5 +1,5 @@ - + Funzioni Matematiche Mat @@ -585,6 +585,29 @@ + + +expm1 + + Restituisce exp(numero) - 1, computato in maniera tale da essere accurato anche +se + il valore del numero è vicino a zero + + + +Description + + + float expm1 + float number + + + &warn.experimental.func; + + &warn.undocumented.func; + + + + floor @@ -605,6 +628,15 @@ float, poiché la gamma di valori del tipo float è solitamente più grande di quella del tipo int. + + Esempi di floor + + + + Vedere anche ceil e round. @@ -681,6 +713,29 @@ + + +hypot + + Restituisce sqrt( num1*num1 + num2*num2) + + + +Descrizione + + + float hypot + float num1 + float num2 + + +&warn.experimental.func; + + &warn.undocumented.func; + + + + lcg_value @@ -737,6 +792,29 @@ Restituisce il logaritmo in base-10 di arg. + + + + + + +log1p + + Restituisce log(1 + numero), computato in maniera tale da essere accurato anche +se + il valore del numero è vicino a zero + + + +Description + + + float log1p + float number + + +&warn.experimental.func; + + &warn.undocumented.func;
[PHP-DOC] cvs: phpdoc /it Translators /it/functions ccvs.xml
cucinatoMon Dec 17 08:42:26 2001 EDT Modified files: /phpdoc/it Translators /phpdoc/it/functionsccvs.xml Log: Added IT translation for CCVS Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.115 phpdoc/it/Translators:1.116 --- phpdoc/it/Translators:1.115 Mon Dec 17 07:52:44 2001 +++ phpdoc/it/Translators Mon Dec 17 08:42:25 2001 @@ -90,7 +90,7 @@ bc.xml cucinatoT1.18 bzip2.xml cucinatoT1.13 calendar.xmlcucinato T1.19 -ccvs.xml cucinatoA1.9 +ccvs.xml cucinatoT1.9 classobj.xml darvin A1.28 com.xml cpdf.xml Index: phpdoc/it/functions/ccvs.xml diff -u /dev/null phpdoc/it/functions/ccvs.xml:1.3 --- /dev/null Mon Dec 17 08:42:26 2001 +++ phpdoc/it/functions/ccvs.xmlMon Dec 17 08:42:26 2001 @@ -0,0 +1,419 @@ + + + + + + Funzioni API CCVS + CCVS + + + +Queste funzioni si interfacciano con le API CCVS, permettendo di +lavorare direttamente con CCVS dagli script PHP. CCVS è la soluzione di +RedHat per il "mediatore" +nella gestione dei pagamenti con carta di credito. Permette di comunicare +direttamente +con le società di autorizzazione di transazione attraverso una *nix box e +un modem. Usando +il modulo CCVS per PHP, è possibile procesare direttamente le carte di +credito +attraverso gli script PHP. Le seguenti informazioni +esemplificheranno il processo. + + +Per abilitare il supporto CCVS in PHP, occorre innanzitutto verificare la +directory +dell'installazione CCVS. Occorrerà poi configurare PHP con l'opzione +--with-ccvs. Se si usa questa +opzione senza specificare il percorso all'installazaione CCVS, il PHP +cercherà nel percorso di installazione di CCVS di default +(/usr/local/ccvs). Se il CCVS è in un percorso non standard, eseguire +configure con: --with-ccvs=$ccvs_path, dove $ccvs_path +è il percorso dell'installazione di CCVS. Si noti che il supporto CCVS +richiede che $ccvs_path/lib e $ccvs_path/include esistano, +e include cv_api.h nella directory include e libccvs.a +nella directory lib. + + +Inoltre, un processo ccvsd deve essere attivato con le +configurazioni che si vogliono utilizzare negli script PHP. Si +dovrà anche assicurarsi che i processi PHP siano eseguiti con +lo stesso utente del CCVS (es. se CCVS è installato +come utente 'ccvs', i processi PHP devono pure essere eseguiti come utente +'ccvs'.) + + +Additional information about CCVS can be found at &url.redhat.ccvs;. + + +Questa sezione di documentazione è ancora in sviluppo. Nel frattempo, +RedHat +mantiene della documentazione leggermente datata ma comunque utile +press &url.redhat.support;. + + + + + +ccvs_init +Inizializza CCVS per il successivo utilizzo + + +Descrizione + + + string ccvs_init + string nome + + + + &warn.undocumented.func; + + + + + + +ccvs_done +Ferma il processo CCVS e ripulisce gli oggetti creati + + +Descrizione + + + string ccvs_done + string sessione + + + + &warn.undocumented.func; + + + + + + +ccvs_new +Crea una nuova transazione, vuota + + +Descrizione + + + string ccvs_new + string sessione + string fattura + + + + &warn.undocumented.func; + + + + + + +ccvs_add +Aggiunge dati ad una transazione + + +Descrizione + + + string ccvs_add + string sessione + string fattura + string tipo_arg + string valore_arg + + + + &warn.undocumented.func; + + + + + + +ccvs_delete +Cancella una transazione + + +Descrizione + + + string ccvs_delete + string sessione + string fattura + + + + &warn.undocumented.func; + + + + + + +ccvs_auth + + Esegue un test di autorizzazione al credito su una transazione + + + +Descrizione + + + string ccvs_auth + string sessione + string fattura + + + + &warn.undocumented.func; + + + + + + +ccvs_return + + Trasferisce fondi dal merchant al titolare della carta di credito + + + +Descrizione + + + string ccvs_return + string sessione + string fattura + + + + &warn.undocumented.func; + + + + + + +ccvs_reverse + + Esegue uno storno su un'autorizzazione già processata + + + +Descrizione + + + string ccvs_reverse + string sessione + string fattura + + + + &war
[PHP-DOC] cvs: phpdoc /it/functions filesystem.xml
cortesi Mon Dec 17 08:22:34 2001 EDT Modified files: /phpdoc/it/functionsfilesystem.xml Log: missing ...sorry Index: phpdoc/it/functions/filesystem.xml diff -u phpdoc/it/functions/filesystem.xml:1.11 phpdoc/it/functions/filesystem.xml:1.12 --- phpdoc/it/functions/filesystem.xml:1.11 Mon Dec 17 07:40:12 2001 +++ phpdoc/it/functions/filesystem.xml Mon Dec 17 08:22:34 2001 @@ -2502,7 +2502,7 @@ numero dei blocchi allocati * - valida solo su sistemi che supportano il tipo st_blksize--altri sistemi -(ad esempio Windows) ritornano -1. +(ad esempio Windows) ritornano -1. I risultati di questa funzione vengono memorizzati nella cache. Vedi clearstatcache per maggiori informazioni.
Re: [PHP-DOC] cvs: phpdoc /en/appendices about.xml
> jimw Sun Dec 16 17:17:40 2001 EDT > > Modified files: > /phpdoc/en/appendices about.xml > Log: > clean up. Nice work :) A note on the main title. I titled it "More about the manual", because there IS an "About the manual" titled part at the begining. I think it would confuse people to have two quite different sections titled "about the manual"... Goba
[PHP-DOC] cvs: phpdoc /it Translators
cortesi Mon Dec 17 07:52:45 2001 EDT Modified files: /phpdoc/it Translators Log: assigning control-structures (previously mine) adding Giacomo Tesio as new translator and assigning to him 2 translations Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.114 phpdoc/it/Translators:1.115 --- phpdoc/it/Translators:1.114 Mon Dec 17 07:02:49 2001 +++ phpdoc/it/Translators Mon Dec 17 07:52:44 2001 @@ -2,7 +2,7 @@ the PHP manual: alan_dangelo Alan D'Angelo [EMAIL PROTECTED] [EMAIL PROTECTED] -airl Marco Spisto[EMAIL PROTECTED] +spisto Marco Spisto[EMAIL PROTECTED] baldo Gianluca Baldo [EMAIL PROTECTED] benni Luca Benni [EMAIL PROTECTED] calderaUmberto Caldera [EMAIL PROTECTED] [EMAIL PROTECTED] @@ -17,6 +17,7 @@ donelliEnrico Donelli [EMAIL PROTECTED] ettaro Massimo Ettaro [EMAIL PROTECTED] fabio Fabio Gandola [EMAIL PROTECTED] +giacomoGiacomo Tesio [EMAIL PROTECTED] marchesini Sergio Marchesini [EMAIL PROTECTED] marco Marco De Nittis [EMAIL PROTECTED] milanesi Marco Milanesi [EMAIL PROTECTED] @@ -46,7 +47,7 @@ language -- basic-syntax.xml peruginiT1.19 constants.xml cortesi T1.22 -control-structures.xml cortesi W1.45 +control-structures.xml spisto W1.45 expressions.xml functions.xml oop.xmlalan_dangeloT1.31 @@ -106,11 +107,11 @@ dir.xmlcortesi T1.26 domxml.xml errorfunc.xml -exec.xml +exec.xml giacomo T1.22 fbsql.xml fdf.xml filepro.xml -filesystem.xml airlA1.92 +filesystem.xml giacomo T1.83 ftp.xmlcolombo A1.27 funchand.xml gettext.xml
[PHP-DOC] cvs: phpdoc /it/functions exec.xml
cortesi Mon Dec 17 07:41:30 2001 EDT Modified files: /phpdoc/it/functionsexec.xml Log: adding italian version of exec in sync with EN 1.22 Index: phpdoc/it/functions/exec.xml diff -u /dev/null phpdoc/it/functions/exec.xml:1.9 --- /dev/null Mon Dec 17 07:41:30 2001 +++ phpdoc/it/functions/exec.xmlMon Dec 17 07:41:30 2001 @@ -0,0 +1,285 @@ + + + + Funzioni per l'esecuzione di programmi + Esecuzione di programmi + + + +Queste funzioni permettono l'esecuzione di comandi sul sistema stasso, + e rendono sicuri tali comandi. Queste funzioni sono anche strettamente + correlate al +operatore backtick. + + + + + +escapeshellarg +Estrae una stringa da usare come un argomento della shell. + escape a string to be used as a shell argument + + +Descrizione + + + string escapeshellarg + string arg + + + + escapeshellarg aggiunge le virgolette singole +attorno ad una stringa ed elude ogni virgoletta semplice per permetterti di +passare una stringa direttamente ad una funzione della shell a che questa +veng trattata come un singolo argomento. +Questa funzione può essere usata per eludere argomenti individuali per +funzioni +della shell che giungano dall'input del utente. Le funzioni della shell +includono +exec, system e +l'operatore backtick. + Un utilizzo standard sarebbe: + + + + + + + + + Vedi anche exec, popen, + system e l'operatore backtick. + + + + + + + +escapeshellcmd +elude i metacaratteri della shell + + +Descrizione + + + string escapeshellcmd + string command + + + + escapeshellcmd elude ogni carattere di una stringa che +potrebbe essere usata per ingannare un comando shell ad eseguire comandi +arbitrari. Questa funzione dovrebbe essere usata per assicurarsi che ogni dato +che giunga dall'input dell utente sia elusa prima che tali dati vengano +passati +a funzioni come exec o + system, o al operatore backtick + . Un utilizzo frequente sarebbe: + + + + + + + + + Vedi anche escapeshellarg, exec, + popen, system e l'operatore backtick. + + + + + + + +exec +Esegue un programma esterno + + +Descrizione + + + string exec + string command + string + array + + + int + return_var + + + + + exec esegue il comando passato da + command, sebbene esso non restituisca nulla in output +Ritorna semplicemente l'ultima linea dal risultato del comando. +Se hai bisogno di eseguire un comando ed avere tutti i dati dal comando +passato +direttamente senza alcuna interferenza, usa la funzione +passthru. + + + Se l'argomento array è presente, allora il vettore +specificato + verrà riempito con ogni linea del output del comando. +Nota che se il vettore contiene già degli elementi, + exec li aggiungerà in coda vettore. +Se non vuoi che la funzione aggiunga elementi, esegui un + unset sul vettore prima di passarlo ad + exec. + + + Se viene passato l'argomento return_var + assieme all'argomento array, allora lo stato +del comando eseguito verra scitto in questa variabile. + + + Osserva che se intendi allocare dati che giungano dal utente +per essere passate a questa funzione, dovresti usare + escapeshellcmd per assicurarti che l'utente + non possa ingannare il sistema per eseguire comandi arbitrari. + + + Nota anche che se inizi un programma usando questa funzione e lo vuoi lasciare +in esecuzione in sottofondo, devi assicurarti che l'output del programa venga +rediretto +ad un file o a qualche altro flusso di output, altrimenti PHP attendera la +fine +fine dell'esecuzione del programma. + + + Vedi anche system, + passthru, popen, + escapeshellcmd e l'operatore backtick. + + + + + + +passthru + + Esegue un programma esterno e mostra l'output non elaborato + + + +Descrizione + + + void passthru + string command + int + return_var + + + + + La funzione passthru è simile alla funzione + exec inquanto esegue + command. Se il parametro + return_var è specificato, lo stato ritornato dal comando +Unix verrà posto lì. Questa funzione deve essere usata al posto di +exec +o di system quando l'output del comando Unix consiste +in dati binari da passare direttamente al browser. +Un suo uso frequente è di eseguire qualcosa come le utility + pbmplus che possono restituire un flusso diretto all'immagine. +
[PHP-DOC] cvs: phpdoc /it/functions filesystem.xml
cortesi Mon Dec 17 07:40:13 2001 EDT Modified files: /phpdoc/it/functionsfilesystem.xml Log: adding italian version og filesystem sync of EN 1.83 Index: phpdoc/it/functions/filesystem.xml diff -u /dev/null phpdoc/it/functions/filesystem.xml:1.11 --- /dev/null Mon Dec 17 07:40:13 2001 +++ phpdoc/it/functions/filesystem.xml Mon Dec 17 07:40:12 2001 @@ -0,0 +1,2784 @@ + + + + Funzioni sul filesystem + Filesystem + + + +basename + + Ritorna il nome del file dal percorso indicato + + + +Descrizione + + + string basename + string path + string suffix + + + + Data una stringa contenente il percorso di un file, questa funzione restituisce +il nome del file. + Se il nome del file finisce in suffix quest'ultimo verrà +tagliato. + + + Su Windows, sia gli slash (/) che i backslash + (\) vengono utilizzati come carattere si separazione nei +percorsi. + In altri ambienti, si usa solo lo slash semplice + (/). + + + + basename example + +$path = "/home/httpd/html/index.php"; +$file = basename ($path);// la variabile $file contiene "index.php" +$file = basename ($path,".php"); // la variabile $file contiene "index" + + + + + + Il parametro suffix è stato aggiunto in PHP 4.1.0. + + + + Vedi anche: dirname + + + + + + +chgrp +Cambia il gruppo del file + + +Descrizione + + + int chgrp + string filename + mixed group + + + + Tenta di cambiare il gruppo del file + filename in + group. Solo l'amministratore può cambiare il gruppo di un +file arbitrariamente; + gli altri utenti possono cambiare il gruppo dei file solo fra gruppi di cui sono +membri. + + + Ritorna &true; se ha successo; &false; altrimenti. + + + Vedi anche chown e + chmod. + + + + Questa funzione non gira sui sistemi Windows + + + + + + + +chmod +Cambia le impostazioni del file + + +Descrizione + + + int chmod + string filename + int mode + + + + Tenta di cambiare le impostazioni del file + filename in quelle date in + mode. + + + Si osservi che mode non viene automaticamente + assunto come valore ottale, per cui le stringhe (come "g+w") non verranno +elaborate correttamente. Per ottenere l'operazione desiderata, è necessario + far iniziare mode con uno zero (0): + + +chmod ("/somedir/somefile", 755); // decimale; probabilmente errato +chmod ("/somedir/somefile", "u+rwx,go+rx"); // stringa; errato +chmod ("/somedir/somefile", 0755); // ottale; valore corretto di mode + + + + + Ritorna &true; se ha successo; &false; altrimenti. + + + Vedi anche chown and + chgrp. + + + + Questa funzione non gira sui sistemi Windows + + + + + + + +chown +Cambia il proprietario del file + + +Descrizione + + + int chown + string filename + mixed user + + + + Tenta di cambiare il proprietario di un file in user. +Solo l'amministratore può cambiare il proprietario di un file. + + + Ritorna &true; se ha successo; &false; altrimenti. + + + Vedi anche chown and + chmod. + + + + Questa funzione non gira sui sistemi Windows + + + + + + + +clearstatcache +Libera la cache dallo stat + + +Descrizione + + + void clearstatcache + + + + + Invocare le funzioni di sistema stat o + lstat comporta un buon dispendio di risorse +nella maggioranza dei sistemi. Tuttavia, il risultato del'ultima chiamata + ad una qualunque funzione di stato (elencate sotto) viene memorizzato per +utilizzarlo sulla successiva chiamata analoga allo stesso file. +Se intendi forzare una nuova verifica di stato, per esempio perchè +il file è stato verificato molte volte e può cambiare o sparire, puoi usare +questa funzione per liberare la memoria dai risultati dell'ultima chiamata. + + + Tale valore viene memorizzato solo per la durata di una singola richiesta. + + + Le funzioni coinvolte sono stat, + lstat, + file_exists, + is_writable, + is_readable, + is_executable, + is_file, + is_dir, + is_link, + filectime, + fileatime, + filemtime, + fileinode, + filegroup, + fileowner, + filesize, + filetype, e + fileperms. + + + + + + +copy +Copia un file + + +Descrizione + + + int copy + string source + string dest + + + + Copia un file. Ritorna &true; se la copia
[PHP-DOC] cvs: phpdoc /it Translators
cucinatoMon Dec 17 07:02:49 2001 EDT Modified files: /phpdoc/it Translators Log: Assigned ccvs Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.113 phpdoc/it/Translators:1.114 --- phpdoc/it/Translators:1.113 Mon Dec 17 06:56:26 2001 +++ phpdoc/it/Translators Mon Dec 17 07:02:49 2001 @@ -89,7 +89,7 @@ bc.xml cucinatoT1.18 bzip2.xml cucinatoT1.13 calendar.xmlcucinato T1.19 -ccvs.xml +ccvs.xml cucinatoA1.9 classobj.xml darvin A1.28 com.xml cpdf.xml
[PHP-DOC] cvs: phpdoc /it Translators language-snippets.ent /it/appendices history.xml /it/language control-structures.xml
cortesi Mon Dec 17 06:56:27 2001 EDT Removed files: /phpdoc/it/appendices history.xml Modified files: /phpdoc/it Translators language-snippets.ent /phpdoc/it/language control-structures.xml Log: removed history, stranslated a bit control-structures and added warning in language-snippets Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.112 phpdoc/it/Translators:1.113 --- phpdoc/it/Translators:1.112 Mon Dec 17 04:46:48 2001 +++ phpdoc/it/Translators Mon Dec 17 06:56:26 2001 @@ -40,7 +40,7 @@ Directory/File Translator Status/EN = language-defs.ent peruginiT1.9 -language-snippets.ent peruginiT1.15 +language-snippets.ent peruginiT1.19 bookinfo.xml peruginiT1.19 preface.xmlperuginiT1.19 language -- Index: phpdoc/it/language-snippets.ent diff -u phpdoc/it/language-snippets.ent:1.12 phpdoc/it/language-snippets.ent:1.13 --- phpdoc/it/language-snippets.ent:1.12Tue Dec 11 04:03:43 2001 +++ phpdoc/it/language-snippets.ent Mon Dec 17 06:56:26 2001 @@ -1,4 +1,4 @@ - + Questo modulo è SPERIMENTALE. Ovvero, il comportamento di queste @@ -9,9 +9,14 @@ Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, -il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa +il nome di questa funzione, in definitiva tutto ciò che è documentato +qui +può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, +l'uso di questa funzione è a vostro rischio.'> +Questa funzione, al momento +non è documentata, è disponibile soltanto la lista degli argomenti +.'> + Come con qualsiasi cosa che invia il risultato direttamente al browser, è possibile utilizzare la funzione output-control per catturare @@ -21,7 +26,6 @@ È possibile utilizzare una URL come un nome di file con questa funzione se è stata abilitata l'opzione "fopen wrappers". Per maggiori informazioni vedere fopen.'> - FALSE in caso di fallimento.'> Index: phpdoc/it/language/control-structures.xml diff -u phpdoc/it/language/control-structures.xml:1.8 phpdoc/it/language/control-structures.xml:1.9 --- phpdoc/it/language/control-structures.xml:1.8 Wed Dec 12 15:52:04 2001 +++ phpdoc/it/language/control-structures.xml Mon Dec 17 06:56:27 2001 @@ -746,7 +746,7 @@ -È importante somprendere esattamente come viene eseguita la +È importante comprendere esattamente come viene eseguita la clausola switch per evitare errori. Un'istruzione switch esegue linea dopo linea le istruzioni in essa contenuta. @@ -883,21 +883,21 @@ -The directive section allows the -behavior of the declare block to -be set. -Currently only one directive is recognized: the -ticks directive. (See below for more -information on the -ticks -directive) +La sezione direttiva permette di +impostare il comportamento del blocco declare +. +Attualemente è riconosciuta una sola direttiva: la +direttiva ticks. (Fare riferimento più in basso per ulteriori +informazioni relative alla +direttiva +ticks) -The statement part of the -declare block will be executed - how -it is executed and what side-effects occur during execution -may depend on the directive set in the -directive block. +La parte istruzione del +blocco declare verrà eseguita. Come +verrà eseguita e quali effetti collaterali emergeranno durante l'esecuzione +potrà dipendere dalla direttiva impostata nel +blocco direttiva. Ticks
[PHP-DOC] cvs: phpdoc /de Translators
samesch Mon Dec 17 06:42:55 2001 EDT Modified files: /phpdoc/de Translators Log: finished oracle.xml update Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.222 phpdoc/de/Translators:1.223 --- phpdoc/de/Translators:1.222 Sun Dec 16 18:03:36 2001 +++ phpdoc/de/Translators Mon Dec 17 06:42:55 2001 @@ -119,7 +119,7 @@ nis.xml Sebastian Nohn fertig (bis V. 1.17) oci8.xmlThomas Frommin Arbeit openssl.xml Friedhelm Betz fertig (bis V 1.16) -oracle.xml Martin Samesch fertig (Rev. 1.19) +oracle.xml Martin Samesch fertig (Rev. 1.25) outcontrol.xml ovrimos.xml pcre.xmlRichard Samar in Arbeit
[PHP-DOC] cvs: phpdoc /de/functions oracle.xml
samesch Mon Dec 17 06:42:39 2001 EDT Modified files: /phpdoc/de/functionsoracle.xml Log: Syncing with english rev. 1.25 Index: phpdoc/de/functions/oracle.xml diff -u phpdoc/de/functions/oracle.xml:1.12 phpdoc/de/functions/oracle.xml:1.13 --- phpdoc/de/functions/oracle.xml:1.12 Wed Dec 12 15:46:16 2001 +++ phpdoc/de/functions/oracle.xml Mon Dec 17 06:42:39 2001 @@ -12,22 +12,26 @@ Beschreibung - - - int ora_bind - int cursor - string - PHP-Variablenname - - string - SQL-Parametername - - int Länge - int - Typ - - - + + + intora_bind + + intcursor + + + stringPHP-Variablenname + + + stringSQL-Parametername + + + intLänge + + + intTyp + + + Gibt nach erfolgter Bindung &true;, andernfalls &false; zurück. Einzelheiten über den Fehler bekommen Sie mit den Funktionen @@ -53,15 +57,17 @@ diese verfügbar sind. -
[PHP-DOC] cvs: phpdoc /en/functions ccvs.xml
hholzgraMon Dec 17 06:29:26 2001 EDT Modified files: /phpdoc/en/functionsccvs.xml Log: added skeletons for undocumented functions Index: phpdoc/en/functions/ccvs.xml diff -u phpdoc/en/functions/ccvs.xml:1.8 phpdoc/en/functions/ccvs.xml:1.9 --- phpdoc/en/functions/ccvs.xml:1.8Wed Dec 12 15:46:38 2001 +++ phpdoc/en/functions/ccvs.xmlMon Dec 17 06:29:26 2001 @@ -1,5 +1,5 @@ - +
[PHP-DOC] cvs: phpdoc /en/functions domxml.xml
hholzgraMon Dec 17 05:33:30 2001 EDT Modified files: /phpdoc/en/functionsdomxml.xml Log: added missing functions Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.26 phpdoc/en/functions/domxml.xml:1.27 --- phpdoc/en/functions/domxml.xml:1.26 Wed Dec 12 15:46:45 2001 +++ phpdoc/en/functions/domxml.xml Mon Dec 17 05:33:30 2001 @@ -1,6 +1,6 @@ - - + + DOM XML functions DOM XML @@ -842,7 +842,7 @@ xpath_eval - Evaluates an xpath expression + Evaluates the XPath Location Path in the given string @@ -858,6 +858,51 @@ See also + + + + + + +xpath_eval_expression + + Evaluates the XPath Location Path in the given string + + + +Description + + + array xpath_eval + object xpath context + + + &warn.experimental.func; + + + + See also + + + + + + +domxml_version + + Get XML library version + + + +Description + + + string domxml_version + + + + + This function returns the version of the XML library version currently used.
[PHP-DOC] cvs: phpdoc /en/functions pdf.xml
hholzgraMon Dec 17 05:31:47 2001 EDT Modified files: /phpdoc/en/functionspdf.xml Log: added some missing functions Index: phpdoc/en/functions/pdf.xml diff -u phpdoc/en/functions/pdf.xml:1.71 phpdoc/en/functions/pdf.xml:1.72 --- phpdoc/en/functions/pdf.xml:1.71Wed Dec 12 15:47:16 2001 +++ phpdoc/en/functions/pdf.xml Mon Dec 17 05:31:47 2001 @@ -1,5 +1,5 @@ - + PDF functions PDF @@ -1386,6 +1386,48 @@ + + +pdf_get_majorversion + + Returns the major version number of the PDFlib + + + +Description + + + int pdf_get_majorversion + + + + + Returns the major version number of the PDFlib. + + + + + + +pdf_get_minorversion + + Returns the minor version number of the PDFlib + + + +Description + + + int pdf_get_majorversion + + + + + Returns the minor version number of the PDFlib. + + + + pdf_get_value @@ -2538,6 +2580,116 @@ Fill document information field key with value. key is one of "Subject", "Title", "Creator", "Author", "Keywords", or a user-defined key. + + + + + + +pdf_set_info_author + + Fills the author field of the document + + + +Description + + + bool pdf_set_info_author + int pdfdoc + string author + + + + This function is deprecate, use pdf_set_info instead. + + + + + + +pdf_set_info_creator + + Fills the creator field of the document + + + +Description + + + bool pdf_set_info_creator + int pdfdoc + string creator + + + + This function is deprecate, use pdf_set_info instead. + + + + + + +pdf_set_info_keywords + + Fills the keywords field of the document + + + +Description + + + bool pdf_set_info_keywords + int pdfdoc + string keywords + + + + This function is deprecate, use pdf_set_info instead. + + + + + + +pdf_set_info_subject + + Fills the subject field of the document + + + +Description + + + bool pdf_set_info_subject + int pdfdoc + string subject + + + + This function is deprecate, use pdf_set_info instead. + + + + + + +pdf_set_info_title + + Fills the title field of the document + + + +Description + + + bool pdf_set_info_title + int pdfdoc + string title + + + + This function is deprecate, use pdf_set_info instead.
[PHP-DOC] cvs: phpdoc /en/functions sockets.xml
hholzgraMon Dec 17 05:30:32 2001 EDT Modified files: /phpdoc/en/functionssockets.xml Log: renamed functions and added seletons for missing ones Index: phpdoc/en/functions/sockets.xml diff -u phpdoc/en/functions/sockets.xml:1.26 phpdoc/en/functions/sockets.xml:1.27 --- phpdoc/en/functions/sockets.xml:1.26Wed Dec 12 15:47:29 2001 +++ phpdoc/en/functions/sockets.xml Mon Dec 17 05:30:32 2001 @@ -1,5 +1,5 @@ - + Socket functions Sockets @@ -58,28 +58,28 @@ $address = '192.168.1.53'; $port = 1; -if (($sock = socket (AF_INET, SOCK_STREAM, 0)) < 0) { -echo "socket() failed: reason: " . strerror ($sock) . "\n"; +if (($sock = socket_create (AF_INET, SOCK_STREAM, 0)) < 0) { +echo "socket_create() failed: reason: " . socket_strerror ($sock) . "\n"; } -if (($ret = bind ($sock, $address, $port)) < 0) { -echo "bind() failed: reason: " . strerror ($ret) . "\n"; +if (($ret = socket_bind ($sock, $address, $port)) < 0) { +echo "socket_bind() failed: reason: " . socket_strerror ($ret) . "\n"; } -if (($ret = listen ($sock, 5)) < 0) { -echo "listen() failed: reason: " . strerror ($ret) . "\n"; +if (($ret = socket_listen ($sock, 5)) < 0) { +echo "socket_listen() failed: reason: " . socket_strerror ($ret) . "\n"; } do { -if (($msgsock = accept_connect($sock)) < 0) { -echo "accept_connect() failed: reason: " . strerror ($msgsock) . "\n"; +if (($msgsock = socket_accept($sock)) < 0) { +echo "socket_accept() failed: reason: " . socket_strerror ($msgsock) . "\n"; break; } do { $buf = ''; -$ret = read ($msgsock, $buf, 2048); +$ret = socket_read ($msgsock, $buf, 2048); if ($ret < 0) { -echo "read() failed: reason: " . strerror ($ret) . "\n"; +echo "socket_read() failed: reason: " . socket_strerror ($ret) . "\n"; break 2; } if ($ret == 0) { @@ -87,17 +87,17 @@ } $buf = trim ($buf); if ($buf == 'quit') { -close ($msgsock); +socket_close ($msgsock); break 2; } $talkback = "PHP: You said '$buf'.\n"; -write ($msgsock, $talkback, strlen ($talkback)); +socket_write ($msgsock, $talkback, strlen ($talkback)); echo "$buf\n"; } while (true); -close ($msgsock); +socket_close ($msgsock); } while (true); -close ($sock); +socket_close ($sock); ?> ]]> @@ -125,17 +125,17 @@ $address = gethostbyname ('www.php.net'); /* Create a TCP/IP socket. */ -$socket = socket (AF_INET, SOCK_STREAM, 0); +$socket = socket_create (AF_INET, SOCK_STREAM, 0); if ($socket < 0) { -echo "socket() failed: reason: " . strerror ($socket) . "\n"; +echo "socket_create() failed: reason: " . socket_strerror ($socket) . "\n"; } else { -"socket() successful: " . strerror ($socket) . "\n"; +"socket_create() successful: " . socket_strerror ($socket) . "\n"; } echo "Attempting to connect to '$address' on port '$service_port'..."; -$result = connect ($socket, $address, $service_port); +$result = socket_connect ($socket, $address, $service_port); if ($result < 0) { -echo "connect() failed.\nReason: ($result) " . strerror($result) . "\n"; +echo "socket_connect() failed.\nReason: ($result) " . socket_strerror($result) . +"\n"; } else { echo "OK.\n"; } @@ -144,16 +144,16 @@ $out = ''; echo "Sending HTTP HEAD request..."; -write ($socket, $in, strlen ($in)); +socket_write ($socket, $in, strlen ($in)); echo "OK.\n"; echo "Reading response:\n\n"; -while (read ($socket, $out, 2048)) { +while (socket_read ($socket, $out, 2048)) { echo $out; } echo "Closing socket..."; -close ($socket); +socket_close ($socket); echo "OK.\n\n"; ?> ]]> @@ -162,39 +162,39 @@ - + -accept_connect +socket_accept Accepts a connection on a socket Description - int accept_connect + int socket_accept resource socket &warn.experimental.func; After the socket socket has been created - using socket, bound to a name with - bind, and told to listen for connections - with listen, this function will accept + using socket_create, bound to a name with + socket_bind, and told to listen for connections + with socket_listen, this function will accept incoming connections on that socket. Once a successful connection is made, a new socket descriptor is returned, which may be used for communication. If there are multiple connections queued on the socket, the first will be used. If there are no pending - connections, accept_connect will block until + connections, socket_accept will block until a connection becomes present. If socket has been made non-blocking using socket_set_blocking or - set_nonblock, an error
[PHP-DOC] cvs: phpdoc /en/functions image.xml
hholzgraMon Dec 17 05:28:42 2001 EDT Modified files: /phpdoc/en/functionsimage.xml Log: added seletons for missing functions Index: phpdoc/en/functions/image.xml diff -u phpdoc/en/functions/image.xml:1.66 phpdoc/en/functions/image.xml:1.67 --- phpdoc/en/functions/image.xml:1.66 Wed Dec 12 15:46:53 2001 +++ phpdoc/en/functions/image.xml Mon Dec 17 05:28:42 2001 @@ -1,5 +1,5 @@ - + Image functions Image @@ -568,7 +568,7 @@ - + ImageColorClosestAlpha @@ -599,7 +599,29 @@ - + + +imagecolorclosesthwb + + Get the index of the color which has the hue, white and blackness nearest to the +given color + + + +Description + + + int imagecolorclosesthwb + int im + int red + int green + int blue + + + + &warn.undocumented.func; + + + @@ -1203,6 +1225,73 @@ + + +imagecreatefromgd + + Create a new image from GD file or URL + + + +Description + + + int imagecreatefromgd + string filename + + + + &warn.undocumented.func; + + + + + + +imagecreatefromgd2 + + Create a new image from GD2 file or URL + + + +Description + + + int imagecreatefromgd2 + string filename + + + + &warn.undocumented.func; + + + + + + +imagecreatefromgd2part + + Create a new image from a given part of GD2 file or URL + + + +Description + + + int imagecreatefromgd2part + string filename + int srcX + int srcY + int width + int height + + + + &warn.undocumented.func; + + + + ImageCreateFromGIF @@ -1671,6 +1760,50 @@ + + +imagegd + + Output GD image to browser or file + + + +Description + + + int imagegd + int im + string filename + + + + &warn.undocumented.func; + + + + + + +imagegd2 + + Output GD2 image to browser or file + + + +Description + + + int imagegd2 + int im + string filename + + + + &warn.undocumented.func; + + + + ImageGIF @@ -2961,6 +3094,31 @@ + + +imageftbbox + + Give the bounding box of a text using fonts via freetype2 + + + +Description + + + array imageftbbox + int size + int angle + string font_file + string text + array extrainfo + + + + &warn.undocumented.func; + + + + ImageTTFText @@ -3058,6 +3216,35 @@ + + +imagefttext + + Write text to the image using fonts via freetype2 + + + +Description + + + array imagefttext + int im + int size + int angle + int x + int y + int col + string font_file + string text + array extrainfo + + + + &warn.undocumented.func; + + + + ImageTypes
[PHP-DOC] cvs: phpdoc /it Translators
cucinatoMon Dec 17 04:46:54 2001 EDT Modified files: /phpdoc/it Translators Log: updated Index: phpdoc/it/Translators diff -u phpdoc/it/Translators:1.111 phpdoc/it/Translators:1.112 --- phpdoc/it/Translators:1.111 Wed Dec 12 10:46:13 2001 +++ phpdoc/it/Translators Mon Dec 17 04:46:48 2001 @@ -85,10 +85,10 @@ --- functions --- apache.xml array.xml cucinatoT1.129 -aspell.xml cucinatoT1.20 -bc.xml cucinatoT1.17 -bzip2.xml cucinatoT1.12 -calendar.xmlcucinato A1.16 +aspell.xml cucinatoT1.21 +bc.xml cucinatoT1.18 +bzip2.xml cucinatoT1.13 +calendar.xmlcucinato T1.19 ccvs.xml classobj.xml darvin A1.28 com.xml @@ -143,9 +143,9 @@ mysql.xml damico A1.75 network.xmlvalente A1.44 nis.xml -oci8.xml cucinatoT1.36 +oci8.xml cucinatoT1.39 openssl.xml -oracle.xml cucinatoT1.24 +oracle.xml cucinatoT1.25 outcontrol.xml overload.xml ovrimos.xml
[PHP-DOC] cvs: phpdoc /it/functions calendar.xml
cucinatoMon Dec 17 04:44:18 2001 EDT Modified files: /phpdoc/it/functionscalendar.xml Log: Added first IT translation Index: phpdoc/it/functions/calendar.xml diff -u /dev/null phpdoc/it/functions/calendar.xml:1.8 --- /dev/null Mon Dec 17 04:44:18 2001 +++ phpdoc/it/functions/calendar.xmlMon Dec 17 04:44:15 2001 @@ -0,0 +1,660 @@ + + + + Funzioni Calendar + Calendar + + + +Le funzioni di calendario sono disponibili solo se è stata compilata +l'estensione calendar, che si trova nelle cartelle "dl" o "ext" +dei sorgenti PHP. +Leggere il file README prima di usarla. + + +L'estensione calendar presenta una serie di funzioni che semplificano +la conversione tra differenti formati di calendario. Il formato intermedio +o standard è basato sul Conteggio Quotidiano Giuliano. Il Conteggio +Giuliano è un conteggio di giorni che parte molto prima di qualsiasi data +la maggior parte della gente potrebbe usare (circa il 4000 a.C.). Per +convertire tra i sistemi di calendario, si deve prima convertire nel sistema +Giuliano, poi nel sistema di calendario scelto. Il Conteggio Quotidiano +Giuliano è molto diverso dal Calendario Giulano! Per maggiori +informazioni sui sistemi di calendario guardare &url.calendar;. Parti di questa +pagina sono inclusi in queste istruzioni, citate tra virgolette. + + + + + +JDToGregorian +Converte il Conteggio Giuliano in data Gregoriana + + +Descrizione + + + string jdtogregorian + int giornogiuliano + + + + Converte il Giorno Giuliano in una stringa contenente la data + Gregoriana nel formato "mese/giorno/anno". + + + + + + +GregorianToJD + + Converte ua data Gregoriana in un Giorno Giuliano + + + +Descrizione + + + int gregoriantojd + int mese + int giorno + int anno + + + + L'intervallo valido per il Calendario Gregoriano è dal 4714 a.C. al +d.C. + + Anche se questo software può gestire date fino al 4714 + a.C., qusto utilizzo potrebbe non avere senso. Il calendario Gregorian fu + istituito il 15 Ottobre 1582 (o 5 Ottobre 1582 nel + calendario Giuliano). Alcune nazioni non lo accettarono per un lungo + periodo. Per esempio, il Regno Unito si convertì nel 1752, L'Unione +Sovietica nel in 1918 + e la Grecia nel 1923. La maggior parte delle nazioni Europee usavano il +calendario + Giuliano pdima del Gregoriano. + + Calendar functions + + + + + + + + + + +JDToJulian + + Converte un Giorno Giuliano in una data Giuliana + + + +Descrizione + + + string jdtojulian + int giornogiuliano + + + + Converte un Giorno Giuliano in una stringa contenente la data + del calendario Giuliano nel formato "mese/giorno/anno". + + + + + + +JulianToJD + + Converte una data Giuliana in un Giorno Giuliano + + + +Descrizione + + + int juliantojd + int mese + int giorno + int anno + + + + L'intervallo valido per il Calendario Giuliano è dal 4713 a.C. al +d.C. + + + Anche se questo software può gestire date fino al 4713 + a.C., questo utilizzo potrebbe non avere senso. Il calendario fu creato nel + 46 a.C., ma i dettagli non furono perfezionati fino almeno al 8 d.D., + e forse anche fino al quarto secolo. Inoltre, l'inizio dell'anno + variava da una cultura all'altrar - non tutti accettavano + Gennaio come primo mese. + + + + + + +JDToJewish + + Converte un Giorno Giuliano nel Calendario Giudeo + + + +Descrizione + + + string jdtojewish + int giornogiuliano + + + + Converte un Giorno Giuliano nel Calendario Giudeo. + + + + + + +JewishToJD + + Converte una data del Calendario Giudeo in Giorno Giuliano + + + +Descrizione + + + int jewishtojd + int mese + int giorno + int anno + + + + Valid Range Although this software can handle dates all the way + back to the year 1 (3761 B.C.), such use may not be meaningful. + + + Il calendario Giudeo è usato da parecchie migliaia di anni, + ma nei primi tempi non c'era una formula per stabilire l'inizio del + mese. Il nuovo mese iniziava quando si vedeva la prima volta la luna + observed. + + + + + + +JDToFrench + + Converte un Giorno Giuliano in una data del Calendario Repubblicano Francese + + + +Descrizione + + + string jdtofrench + int giornogiuliano + + + + Converte un Giorno Giuliano in una data del calendario Repubblicano Francese. + + + + + +