[PHP-DOC] cvs: phpdoc /scripts mk_ini_set_table.sh
jmcastagnetto Sat Apr 27 02:23:59 2002 EDT Modified files: /phpdoc/scripts mk_ini_set_table.sh Log: Modifications to pull PHP_INI_* from all PHP modules Index: phpdoc/scripts/mk_ini_set_table.sh diff -u phpdoc/scripts/mk_ini_set_table.sh:1.1 phpdoc/scripts/mk_ini_set_table.sh:1.2 --- phpdoc/scripts/mk_ini_set_table.sh:1.1 Sun Jan 6 10:42:31 2002 +++ phpdoc/scripts/mk_ini_set_table.sh Sat Apr 27 02:23:59 2002 @@ -4,9 +4,12 @@ # and where they can be changed # Jesus M. Castagnetto # Mon Mar 19 04:57:02 PST 2001 +# Updated: Thu Apr 25 11:42:26 PDT 2002 +# - look through all PHP_INI_ containing files +# - save table in the new split dir for the function -main_c="../php4/main/main.c" -ini_set_table="en/functions/ini_set_table"; +cfiles=`grep -rl PHP_INI_ ../php4/*` +ini_set_table="en/reference/info/functions/ini_set_table"; awk 'BEGIN { print "\n Configuration options" @@ -81,6 +84,6 @@ print " "; print " "; print ""; -}' $main_c > $ini_set_table +}' $cfiles > $ini_set_table ls -l $ini_set_table
[PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-set.xml
jmcastagnetto Sat Apr 27 02:22:24 2002 EDT Modified files: /phpdoc/en/reference/info/functions ini-set.xml Log: Updated the table of php.ini options Index: phpdoc/en/reference/info/functions/ini-set.xml diff -u phpdoc/en/reference/info/functions/ini-set.xml:1.2 phpdoc/en/reference/info/functions/ini-set.xml:1.3 --- phpdoc/en/reference/info/functions/ini-set.xml:1.2 Wed Apr 17 02:39:28 2002 +++ phpdoc/en/reference/info/functions/ini-set.xml Sat Apr 27 02:22:24 2002 @@ -1,5 +1,5 @@ - + @@ -26,315 +26,1200 @@ changed/set and at what level. - - Configuration options - - - - Name - Default - Changeable - - - - - allow_call_time_pass_reference - "1" - PHP_INI_SYSTEM|PHP_INI_PERDIR - - - allow_url_fopen - "1" - PHP_INI_ALL - - - arg_separator - "&" - PHP_INI_ALL - - - asp_tags - "0" - PHP_INI_SYSTEM|PHP_INI_PERDIR - - - auto_append_file - &null; - PHP_INI_ALL - - - auto_prepend_file - &null; - PHP_INI_ALL - - - browscap - &null; - PHP_INI_SYSTEM - - - default_charset - SAPI_DEFAULT_CHARSET - PHP_INI_ALL - - - default_mimetype - SAPI_DEFAULT_MIMETYPE - PHP_INI_ALL - - - define_syslog_variables - "0" - PHP_INI_ALL - - - disable_functions - "" - PHP_INI_SYSTEM - - - display_errors - "1" - PHP_INI_ALL - - - display_startup_errors - "0" - PHP_INI_ALL - - - doc_root - &null; - PHP_INI_SYSTEM - - - enable_dl - "1" - PHP_INI_SYSTEM - - - error_append_string - &null; - PHP_INI_ALL - - - error_log - &null; - PHP_INI_ALL - - - error_prepend_string - &null; - PHP_INI_ALL - - - error_reporting - &null; - PHP_INI_ALL - - - expose_php - "1" - PHP_INI_SYSTEM - - - extension_dir - PHP_EXTENSION_DIR - PHP_INI_SYSTEM - - - file_uploads - "1" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - gpc_order - "GPC" - PHP_INI_ALL - - - highlight.bg - HL_BG_COLOR - PHP_INI_ALL - - - highlight.comment - HL_COMMENT_COLOR - PHP_INI_ALL - - - highlight.default - HL_DEFAULT_COLOR - PHP_INI_ALL - - - highlight.html - HL_HTML_COLOR - PHP_INI_ALL - - - highlight.keyword - HL_KEYWORD_COLOR - PHP_INI_ALL - - - highlight.string - HL_STRING_COLOR - PHP_INI_ALL - - - html_errors - "1" - PHP_INI_SYSTEM - - - ignore_user_abort - "0" - PHP_INI_ALL - - - include_path - PHP_INCLUDE_PATH - PHP_INI_ALL - - - implicit_flush - "0" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - log_errors - "0" - PHP_INI_ALL - - - magic_quotes_gpc - "1" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - magic_quotes_runtime - "0" - PHP_INI_ALL - - - magic_quotes_sybase - "0" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - max_execution_time - "30" - PHP_INI_ALL - - - memory_limit - "8M" - PHP_INI_ALL - - - open_basedir - &null; - PHP_INI_SYSTEM - - - output_buffering - "0" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - output_handler - &null; - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - post_max_size - "8M" - PHP_INI_SYSTEM - - - precision - "14" - PHP_INI_ALL - - - register_argc_argv - "1" - PHP_INI_ALL - - - register_globals - "1" - PHP_INI_PERDIR|PHP_INI_SYSTEM - - - safe_mode - "0" - PHP_INI_SYSTEM - - - safe_mode_ex
[PHP-DOC] cvs: phpdoc /pt_BR/chapters config.xml
rarruda Sat Apr 27 01:20:18 2002 EDT Modified files: /phpdoc/pt_BR/chapters config.xml Log: fixed this file so now the pt_BR docs can be built. also updated a part of this file (not done yet with sync'ing with en/) Index: phpdoc/pt_BR/chapters/config.xml diff -u phpdoc/pt_BR/chapters/config.xml:1.9 phpdoc/pt_BR/chapters/config.xml:1.10 --- phpdoc/pt_BR/chapters/config.xml:1.9Sat Apr 20 03:18:19 2002 +++ phpdoc/pt_BR/chapters/config.xmlSat Apr 27 01:20:17 2002 @@ -1,5 +1,5 @@ - + Configuração @@ -8,15 +8,39 @@ O arquivo de configuração (chamado php3.ini no -PHP 3.0, e simplesmente php.ini no PHP 4.0) +PHP 3.0, e simplesmente &php.ini; no PHP 4.0) é lido quando o PHP inicia. Para as versões de módulos de servidor do PHP, isso só acontece uma vez quando o servidor é iniciado. Para a versão CGI acontece em cada chamada. + + + &php.ini; example + + + + + + Usando o PHP como um módulo do apache, você também pode mudar as definições de configuração usando diretivas na configuração dos arquivos -Apache e dos arquivos .htaccess. +Apache e dos arquivos .htaccess (Você irá precisar de privilégios +"AllowOverride Options" ou "AllowOverride All" privileges) Com o PHP 3.0, existem diretivas Apache que correspondem a cada @@ -24,8 +48,8 @@ exceto o nome predefinido por "php3_". -Com o PHP 4.0, existem apenas poucas diretivas Apache que lhe permitem -mudar as definições de configuração PHP. +Com o PHP 4.0, existem várias diretivas do Apache que lhe permitem +mudar a configuração PHP dentro do arquivo de configuração do Apache. @@ -60,8 +84,7 @@ Isto define o valor da variável especificada. Definições de configuração "Admin" só podem ser definidas a partir dos arquivos principais de configuração do Apache, e não -dos arquivos .htaccess. - +dos arquivos .htaccess. @@ -75,13 +98,32 @@ Isto é usado para definir uma opção de configuração Booleana. - + + + + + Exemplo de configuração do Apache + + + + + Você pode visualizar as definições dos valores de configuração na saída de phpinfo. Você também pode acessar os valores de definições de configuração originais usando -get_cfg_var. +get_cfg_var. + Diretivas Gerais de Configuração @@ -284,6 +326,18 @@ + + + +html_errors +booleano + + + + Desabilita tags HTML nas mensagens de erro. + + + @@ -309,10 +363,18 @@ No Windows, separe os diretórios com ponto-e-vírgula. Em todos os outros - sistemas, separe os diretórios com dois pontos. Como um módulo Apache - ,os paths de open_basedir de dretórios parentes agora são + sistemas, separe os diretórios com dois pontos. Como um módulo Apache, + os paths de open_basedir de dretórios parentes agora são automaticamente herdados. + + A restrição especificada com open_basedir é na verdade um prefixo, e + não um nome de diretório. Isso significa que "open_basedir = + /dir/incl" também permite acesso a "/dir/include" e "/dir/incls" + se eles existem. Quando você deseja restringir o casso somente + ao diretório específico, o termine com uma barra. Por exemplo: + "open_basedir = /dir/incl/" + O supporte para múltiplos diretórios foi adicionado na versão 3.0.7. @@ -335,6 +397,32 @@ e irá sobescrever quaisquer variáveis com o método GET por variáveis com o método POST com o mesmo nome. + + Note que esta opção não está disponível no PHP 4. + Use variables_order + ao invez. + + + + + + +variables_order +string + + + + Definir a ordem do parsing das variáveis EGPCS (Environment, + GET, POST, Cookie, Server). A definição padrão para essa + diretiva é "EGPCS". Definindo como "GP", por exemplo, + faria que o PHP completamente ignorasse as variáveis de ambiente + (environment), cookies e server, e sobre escrever qualquer + variavel do metodo GET com variaveis do modo POST com o mesmo nome. + + + Veja também register_globals. + @@ -368,14 +456,18 @@ include_path no UNIX + + include_path no Windows + + O valor padrão para essa diretiva é . (apenas o diretório atual). @@ -465,6 +557,12 @@ ter ante
[PHP-DOC] cvs: phpdoc /pt_BR translation.xml
rarruda Sat Apr 27 00:50:27 2002 EDT Modified files: /phpdoc/pt_BR translation.xml Log: dropped chapters/install.xml / andre_ae entry from work in progress Index: phpdoc/pt_BR/translation.xml diff -u phpdoc/pt_BR/translation.xml:1.3 phpdoc/pt_BR/translation.xml:1.4 --- phpdoc/pt_BR/translation.xml:1.3Fri Apr 26 09:26:19 2002 +++ phpdoc/pt_BR/translation.xmlSat Apr 27 00:50:27 2002 @@ -1,14 +1,14 @@ - + The Brazilian Portuguese translation of the PHP Documentation is managed by João Prado Maia (jpm), and the other contributors with a CVS account. - + @@ -18,8 +18,7 @@ - - +
[PHP-DOC] cvs: phpdoc /pt_BR/reference/math reference.xml
rarruda Sat Apr 27 00:22:48 2002 EDT Modified files: /phpdoc/pt_BR/reference/mathreference.xml Log: initial translation Index: phpdoc/pt_BR/reference/math/reference.xml diff -u phpdoc/pt_BR/reference/math/reference.xml:1.2 phpdoc/pt_BR/reference/math/reference.xml:1.3 --- phpdoc/pt_BR/reference/math/reference.xml:1.2 Tue Apr 16 20:07:21 2002 +++ phpdoc/pt_BR/reference/math/reference.xml Sat Apr 27 00:22:48 2002 @@ -1,5 +1,6 @@ - + + Funções Matemáticas Math @@ -8,25 +9,25 @@ Introdução - These math functions will only handle values within the range of - the integer and float types on your computer. - (this corresponds currently to the C types long resp. double) - If you need to handle bigger numbers, take a look at the arbitrary precision math functions. + Estas funções matemáticas somente suportam valores dentro do + tamanho integer and float do seu computador. + (estes correspondem atualmente aos tipos do C long e double) + Se você precisa manipular números maiores, procure funções de matemática com precisão arbitrária. - Math constants + Constantes matemáticas - The following values are defined as constants in PHP by the math - extension: + Os seguintes valores são definidos como constantes no PHP pela + extensão matemática: - Math constants + constantes matemáticas - Constant - Value - Description + Constante + Valor + Descrição @@ -113,14 +114,14 @@ M_EULER 0.57721566490153286061 - Euler constant [4.0.2] + Constante de Euler [4.0.2] - Only M_PI is available in PHP versions up to and including PHP 4.0.0. - All other constants are available starting with PHP 4.0.0. Constants - labeled [4.0.2] were added in PHP 4.0.2. + Somente M_PI está disponível no PHP nas versões até e incluindo + o PHP 4.0.0. Todas as outras constantes estão disponíveis começando + com o PHP 4.0.0. Constantes com [4.0.2] foram adicionadas no PHP 4.0.2.
[PHP-DOC] cvs: phpdoc /pt_BR/reference/math functions.xml
rarruda Sat Apr 27 00:17:44 2002 EDT Modified files: /phpdoc/pt_BR/reference/mathfunctions.xml Log: updated to show the only file currently translated. Index: phpdoc/pt_BR/reference/math/functions.xml diff -u phpdoc/pt_BR/reference/math/functions.xml:1.1 phpdoc/pt_BR/reference/math/functions.xml:1.2 --- phpdoc/pt_BR/reference/math/functions.xml:1.1 Sun Apr 14 21:40:57 2002 +++ phpdoc/pt_BR/reference/math/functions.xml Sat Apr 27 00:17:44 2002 @@ -1,48 +1 @@ -&reference.math.functions.abs; -&reference.math.functions.acos; -&reference.math.functions.acosh; -&reference.math.functions.asin; -&reference.math.functions.asinh; -&reference.math.functions.atan; -&reference.math.functions.atan2; -&reference.math.functions.atanh; -&reference.math.functions.base-convert; -&reference.math.functions.bindec; -&reference.math.functions.ceil; -&reference.math.functions.cos; -&reference.math.functions.cosh; -&reference.math.functions.decbin; -&reference.math.functions.dechex; -&reference.math.functions.decoct; -&reference.math.functions.deg2rad; -&reference.math.functions.exp; -&reference.math.functions.expm1; -&reference.math.functions.floor; -&reference.math.functions.getrandmax; -&reference.math.functions.hexdec; -&reference.math.functions.hypot; -&reference.math.functions.is-finite; -&reference.math.functions.is-infinite; -&reference.math.functions.is-nan; -&reference.math.functions.lcg-value; -&reference.math.functions.log; -&reference.math.functions.log10; -&reference.math.functions.log1p; -&reference.math.functions.max; -&reference.math.functions.min; -&reference.math.functions.mt-getrandmax; -&reference.math.functions.mt-rand; -&reference.math.functions.mt-srand; -&reference.math.functions.number-format; -&reference.math.functions.octdec; &reference.math.functions.pi; -&reference.math.functions.pow; -&reference.math.functions.rad2deg; -&reference.math.functions.rand; -&reference.math.functions.round; -&reference.math.functions.sin; -&reference.math.functions.sinh; -&reference.math.functions.sqrt; -&reference.math.functions.srand; -&reference.math.functions.tan; -&reference.math.functions.tanh;
[PHP-DOC] cvs: phpdoc /pt_BR/reference/math/functions abs.xml acos.xml acosh.xml asin.xml asinh.xml atan.xml atan2.xml atanh.xml base-convert.xml bindec.xml ceil.xml cos.xml cosh.xml decbin.xml dechex.xml decoct.xml deg2rad.xml exp.xml expm1.xml floor.xml getrandmax.xml hexdec.xml hypot.xml is-finite.xml is-infinite.xml is-nan.xml lcg-value.xml log.xml log10.xml log1p.xml max.xml min.xml mt-getrandmax.xml mt-rand.xml mt-srand.xml number-format.xml octdec.xml pow.xml rad2deg.xml rand.xml round.xml sin.xml sinh.xml sqrt.xml srand.xml tan.xml tanh.xml
rarruda Sat Apr 27 00:15:45 2002 EDT Removed files: /phpdoc/pt_BR/reference/math/functions abs.xml acos.xml acosh.xml asin.xml asinh.xml atan.xml atan2.xml atanh.xml base-convert.xml bindec.xml ceil.xml cos.xml cosh.xml decbin.xml dechex.xml decoct.xml deg2rad.xml exp.xml expm1.xml floor.xml getrandmax.xml hexdec.xml hypot.xml is-finite.xml is-infinite.xml is-nan.xml lcg-value.xml log.xml log10.xml log1p.xml max.xml min.xml mt-getrandmax.xml mt-rand.xml mt-srand.xml number-format.xml octdec.xml pow.xml rad2deg.xml rand.xml round.xml sin.xml sinh.xml sqrt.xml srand.xml tan.xml tanh.xml Log: these files were never tranlated.
[PHP-DOC] cvs: phpdoc /pt_BR/reference/math/functions pi.xml
rarruda Sat Apr 27 00:13:05 2002 EDT Modified files: /phpdoc/pt_BR/reference/math/functions pi.xml Log: actually performed the translation and also fixed problems that prevent the doc to be generated Index: phpdoc/pt_BR/reference/math/functions/pi.xml diff -u phpdoc/pt_BR/reference/math/functions/pi.xml:1.1 phpdoc/pt_BR/reference/math/functions/pi.xml:1.2 --- phpdoc/pt_BR/reference/math/functions/pi.xml:1.1Sun Apr 14 21:41:05 2002 +++ phpdoc/pt_BR/reference/math/functions/pi.xmlSat Apr 27 00:13:05 2002 @@ -1,24 +1,24 @@ - - + + pi -Get value of pi +Obtem o valor de pi -Description +Descrição floatpi - Returns an approximation of pi. The returned float - has a precision based on the - precision directive in - php.ini, which defaults to 14. - Also, you can use the M_PI constant which yields - identical results to pi. + Retorna o valor aprocimado de pi. O valor retornado float + tem a precisão baseada na diretiva + precision no &php.ini;, + que tem por valor padrão 14. + Também é possivel usar a constante M_PI + que terá resultados idênticos a pi.
[PHP-DOC] Bug #16677 Updated: SID constant does not get set
ID: 16677 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Redhat 7.2 PHP Version: 4.2.0 New Comment: Ah. I forgot to mention that bug itself is fixed in CVS. We need to update doc. 4.2.1 is scheduled May 3rd. Previous Comments: [2002-04-26 16:44:48] [EMAIL PROTECTED] I'm confirming this, tried many many ways to get the constant SID, but without any luck. I have disabled register_globals and cookies so there should be a SID defined. Even a define("SID",session_name()."=".session_id()); as workaround does not work, the SID is always empty :( I'm using 4.2.0 with Apache 1.3.20 [2002-04-26 10:33:07] [EMAIL PROTECTED] There is definitely something odd here. In the example I give in original post, a cookie is not sent to the client, yet SID is still not set. [2002-04-18 06:05:39] [EMAIL PROTECTED] We need to make it clearer how/when SID is defined, including changed behavior in 4.2.0. SID is defined when cookie is not sent to client from 4.2.0. I forgot old behavior. [2002-04-18 04:32:57] [EMAIL PROTECTED] I'm using PHP 4.2.0-RC4 with Apache 2.0.35. The following script does not return the session_name=session_id, using the SID constant, as expected: Configure line: ./configure --with-apxs2=/opt/apache2/bin/apxs --with-xml --with-openssl --with-sybase=/opt/sybase --without-mysql Session configuration is as follows: ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. session.save_path = /tmp ; Whether to use cookies. session.use_cookies = 0 ; Name of the session (used as cookie name). session.name = PHPSESSID ; Initialize session on request startup. session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 ; The path for which the cookie is valid. session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php ; Percentual probability that the 'garbage collection' process is started ; on every session initialization. session.gc_probability = 10 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1800 ; Check HTTP Referer to invalidate externally stored URLs containing ids. session.referer_check = ; How many bytes to read from the file. session.entropy_length = 0 ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom ; Set to {nocache,private,public} to determine HTTP caching aspects. session.cache_limiter = nocache ; Document expires after n minutes. session.cache_expire = 180 ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 0 -- Edit this bug report at http://bugs.php.net/?id=16677&edit=1
[PHP-DOC] cvs: phpdoc /pt_BR/chapters install.xml
rarruda Fri Apr 26 20:53:27 2002 EDT Removed files: /phpdoc/pt_BR/chapters install.xml Log: this file is no longer used, and breaks our manual build
[PHP-DOC] cvs: phpdoc /scripts revcheck.php
tom Fri Apr 26 18:33:30 2002 EDT Modified files: /phpdoc/scripts revcheck.php Log: - took functions.xml (temporarily) out of statistics,\n- introduced directory-headers also for files "without rev-comments" and "available for translation" (since this alone reduces HTML-space of about 40kB, Ive...)\n- copied the "navigation bar" to several other places in the HTML-document Index: phpdoc/scripts/revcheck.php diff -u phpdoc/scripts/revcheck.php:1.26 phpdoc/scripts/revcheck.php:1.27 --- phpdoc/scripts/revcheck.php:1.26Mon Apr 22 17:40:42 2002 +++ phpdoc/scripts/revcheck.php Fri Apr 26 18:33:28 2002 @@ -64,8 +64,6 @@ define("REV_CREDIT", 7); // only used in translators list define("REV_WIP", 8); // only used in translators list -define("NORMHEAD", 9); // only used in table outputs (css) - // Colors used to mark files by status (colors for the above types) $CSS = array( REV_UPTODATE => "act", @@ -76,7 +74,6 @@ REV_NOTRANS => "wip", REV_CREDIT => "wip", REV_WIP => "wip", - NORMHEAD => "blue", ); // Option for the link to cvs.php.net: normal: "&f=h" @@ -415,6 +412,12 @@ if (preg_match("/^\.{1,2}/",$file) || $file == 'CVS') continue; + // JUST TEMPORARY TILL THE /REFERENCE/FUNCTIONS.XML - ISSUE IS +CLARIFIED + // If we found a file functions.xml in the + // /reference/ tree, skip the file + if ($file == "functions.xml" && preg_match("!/\w+/reference/\w+/!", $dir)) +continue; + // Collect files and directories if (is_dir($dir.$file)) { $directories[] = $file; } else { $files[] = $file; } @@ -696,7 +699,7 @@ critical norev wip -sum +sum END_OF_MULTILINE; @@ -819,6 +822,19 @@ } +print <0) { print "" . - "\n". + "\n". "Files without Revision-comment ($count files):\n"; foreach($missing_tags as $val) { -print "$val\n"; +// Shorten the filename (we have directory headers) +$short_file = basename($val); + +// Guess the new directory from the full name of the file +$new_dir = substr($val, 0, strrpos($val, "/")); + +// If this is a new directory, put out dir headline +if ($new_dir != $prev_dir) { + +// Print out directory header +print "".dirname($val)."\n"; + +// Store the new actual directory +$prev_dir = $new_dir; +} +print "$short_file\n"; } print "\n \n"; + +print < 0) { print "" . - "\n" . + "\n" . "" . " Available for translation ($count files):kB\n"; foreach($missing_files as $file => $info) { -print "$file" . +// Shorten the filename (we have directory headers) +$short_file = basename($file); + +// Guess the new directory from the full name of the file +$new_dir = substr($file, 0, strrpos($file, "/")); + +// If this is a new directory, put out dir headline +if ($new_dir != $prev_dir) { + +// Print out directory header if not "." +print "".dirname($file)."\n"; +
[PHP-DOC] cvs: phpdoc /en/reference/openssl/functions openssl-pkcs7-encrypt.xml
alindeman Fri Apr 26 16:44:48 2002 EDT Modified files: /phpdoc/en/reference/openssl/functions openssl-pkcs7-encrypt.xml Log: Correcting some errors -my.pem -> nighthawk.pem -matching the attribute names with the ones in openssl.c Index: phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml diff -u phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.4 phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.5 --- phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.4 Thu Apr 25 19:14:43 2002 +++ phpdoc/en/reference/openssl/functions/openssl-pkcs7-encrypt.xml Fri Apr 26 +16:44:48 2002 @@ -1,5 +1,5 @@ - + @@ -10,8 +10,8 @@ Description boolopenssl_pkcs7_encrypt - stringinfilename - stringoutfilename + stringinfile + stringoutfile mixedrecipcerts arrayheaders longflags @@ -19,7 +19,7 @@ &warn.experimental.func; openssl_pkcs7_encrypt takes the contents of the - file named infilename and encrypts them using an RC2 + file named infile and encrypts them using an RC2 40-bit cipher so that they can only be read by the intended recipients specified by recipcerts, which is either a lone X.509 certificate, or an array of X.509 certificates. @@ -52,7 +52,7 @@ EOD; // load key -$key = implode("", file("my.pem")); +$key = implode("", file("nighthawk.pem")); // save message to file $fp = fopen("msg.txt", "w");
[PHP-DOC] Bug #16677 Updated: SID constant does not get set
ID: 16677 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Redhat 7.2 PHP Version: 4.2.0 New Comment: I'm confirming this, tried many many ways to get the constant SID, but without any luck. I have disabled register_globals and cookies so there should be a SID defined. Even a define("SID",session_name()."=".session_id()); as workaround does not work, the SID is always empty :( I'm using 4.2.0 with Apache 1.3.20 Previous Comments: [2002-04-26 10:33:07] [EMAIL PROTECTED] There is definitely something odd here. In the example I give in original post, a cookie is not sent to the client, yet SID is still not set. [2002-04-18 06:05:39] [EMAIL PROTECTED] We need to make it clearer how/when SID is defined, including changed behavior in 4.2.0. SID is defined when cookie is not sent to client from 4.2.0. I forgot old behavior. [2002-04-18 04:32:57] [EMAIL PROTECTED] I'm using PHP 4.2.0-RC4 with Apache 2.0.35. The following script does not return the session_name=session_id, using the SID constant, as expected: Configure line: ./configure --with-apxs2=/opt/apache2/bin/apxs --with-xml --with-openssl --with-sybase=/opt/sybase --without-mysql Session configuration is as follows: ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. session.save_path = /tmp ; Whether to use cookies. session.use_cookies = 0 ; Name of the session (used as cookie name). session.name = PHPSESSID ; Initialize session on request startup. session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 ; The path for which the cookie is valid. session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php ; Percentual probability that the 'garbage collection' process is started ; on every session initialization. session.gc_probability = 10 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1800 ; Check HTTP Referer to invalidate externally stored URLs containing ids. session.referer_check = ; How many bytes to read from the file. session.entropy_length = 0 ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom ; Set to {nocache,private,public} to determine HTTP caching aspects. session.cache_limiter = nocache ; Document expires after n minutes. session.cache_expire = 180 ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 0 -- Edit this bug report at http://bugs.php.net/?id=16677&edit=1
[PHP-DOC] cvs: phpdoc /pl/language variables.xml
slawek Fri Apr 26 16:37:48 2002 EDT Modified files: /phpdoc/pl/language variables.xml Log: One small change (qrak) Index: phpdoc/pl/language/variables.xml diff -u phpdoc/pl/language/variables.xml:1.7 phpdoc/pl/language/variables.xml:1.8 --- phpdoc/pl/language/variables.xml:1.7Fri Apr 12 16:24:49 2002 +++ phpdoc/pl/language/variables.xmlFri Apr 26 16:37:47 2002 @@ -1,6 +1,6 @@ - + Zmienne @@ -244,7 +244,7 @@ Zmienne u¿ytkownika dostarczone do skryptu przez ka¿dy mechanizm wej¶cia, - przez co nie mog± byæ godne zaufania. Uwaga: kiedy skrypt jest + przez co NIE s± one godne zaufania. Uwaga: kiedy skrypt jest uruchomiony z linii poleceñ, tablica ta nie zawiera zmiennych argv i argc. Zmienne te s± dostêpne w tablicy $_SERVER. Obecno¶æ i
[PHP-DOC] cvs: phpdoc /cs/language control-structures.xml variables.xml
luk Fri Apr 26 16:35:28 2002 EDT Added files: /phpdoc/cs/language variables.xml Modified files: /phpdoc/cs/language control-structures.xml Log: Index: phpdoc/cs/language/control-structures.xml diff -u phpdoc/cs/language/control-structures.xml:1.4 phpdoc/cs/language/control-structures.xml:1.5 --- phpdoc/cs/language/control-structures.xml:1.4 Thu Apr 25 17:58:13 2002 +++ phpdoc/cs/language/control-structures.xml Fri Apr 26 16:35:27 2002 @@ -854,27 +854,25 @@ 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. +Èást statement bloku declare +bude provedena - jak bude provedena a jaké vedlej¹í efekty nastanou +bìhem provádìní mù¾e zále¾et na direktivì nastavené v bloku +directive. Ticks -A tick is an event that occurs for every -N low-level statements executed -by the parser within the declare block. -The value for N is specified -using ticks=N -within the declare blocks's -directive section. +Tick je událost, která nastane pro ka¾dých +N nízkoúrovòových konstruktù provedených +parserem uvnitø bloku declare. Hodnota +N je specifikována pomocí +ticks=N uvnitø sekce +directive bloku declare. -The event(s) that occurs on each tick is specified using the -register_tick_function. See the example -below for more details. Note that more than one event can occur -for each tick. +Událost(i), která nastane pøi ka¾dém ticku, se specifikuje pomocí +register_tick_function. Více podrobností - viz +pøíklad ní¾e. Uvìdomte si, ¾e na ka¾dý tick mù¾e nastat více ne¾ jedna +událost. Index: phpdoc/cs/language/variables.xml +++ phpdoc/cs/language/variables.xml Promìnné Základy Promìnné jsou v PHP reprezentovány znakem dolaru, následovaným názvem pøíslu¹né promìnné. V názvech promìnných se rozli¹uje velikost písmen. Názvy promìnných jsou podøízeny stejným pravidlùm jako jiná návì¹tí v PHP. Platný název promìnné zaèíná písmenem nebo podtr¾ítkem, následovaným libovolným poètem písmen, èíslic nebo potr¾ítek. Jako regulární výraz to lze zapsat takto: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' Pro na¹e úèely zde budeme za písmena pova¾ovat znaky a-z, A-Z a ASCII znaky od 127 do 255 (0x7f-0xff). V PHP 3 mají promìnné v¾dy pøiøazenu hodnotu. To znamená, ¾e kdy¾ pøiøadíte výraz do promìnné, celá hodnota pùvodního výrazu se zkopíruje do cílové promìnné. Tedy, napøíklad, po pøiøazení hodnoty jedné promìnné do druhé, zmìna jedné z nich se na druhé neprojeví. Více informací o tomto zpùsobu pøiøazení viz Výrazy. PHP nabízí jiný zpùsob pøiøazení hodnot promìnným: pøiøazení odkazu. To znamená, ¾e nová promìnná jednodu¹e odkazuje (jinými slovy, "stává se aliasem" nebo "ukazuje na") na pùvodní promìnnou. Zmìny na nové promìnné se projeví na té pùvodní a naopak. To také znamená, ¾e se nic nekopíruje; proto je pøiøazení rychlej¹í. Av¹ak toto zrychlení bude zjistitelné pouze v tìsných cyklech nebo pøi pøiøazování velkých polí èi objektù. Pro pøiøazení odkazu staèí jednodu¹e pøed promìnnou, která bude pøiøazována (zdrojová promìnná), pøedøadit ampersand (&). Napøíklad následující kus kódu vypí¹e dvakrát 'Jmenuji se Bob': Jednou z dùle¾itých vìcí, které je tøeba si uvìdomit, je to, ¾e pøes odkazy lze pøiøazovat pouze pojmenované promìnné. Pøeddefinované promìnné PHP poskytuje velké mno¾ství pøeddefinovaných promìnných jakémukoli skriptu, který provádí. Mnoho tìchto promìnných, bohu¾el, nemù¾e být plnì zdokumentováno, proto¾e závisejí na tom, na kterém serveru skript bì¾í, na verzi a nastavení serveru a dal¹ích faktorech. Nìkteré z tìchto promìnných nebudou dostupné, kdy¾ PHP pobì¾í z pøíkazové øádky. Seznam promìnných - viz sekce Pøeddefinované promìnné. V PHP 4.2.0 a pozdìj¹ích se zmìnila implicitní sada pøeddefinovaných promìnných, které jsou globálnì dostupné. Individuální vstupní a serverové promìnné se implicitnì neumís»ují do globálního kontextu; namísto toho jsou v následujících superglobálních polích. Mù¾ete v¹ak stále vynutit staré chování nastavením register_globals v souboru &php.ini; na 'On'. Pro více informací a pozadí tìchto zmìn prosím nahlédnìte do PHP 4.1.0 Release Announcement. Od verze 4.1.0 poskytuje PHP sadu pøeddefinovaných polí, obsahujících promìnné WWW serveru (pokud to jde), prostøedí a u¾ivatelského vstupu.
[PHP-DOC] cvs: phpdoc /it/reference/mssql reference.xml
darvina Fri Apr 26 16:26:44 2002 EDT Modified files: /phpdoc/it/reference/mssql reference.xml Log: Added EN-Revision Index: phpdoc/it/reference/mssql/reference.xml diff -u phpdoc/it/reference/mssql/reference.xml:1.2 phpdoc/it/reference/mssql/reference.xml:1.3 --- phpdoc/it/reference/mssql/reference.xml:1.2 Mon Apr 15 14:11:59 2002 +++ phpdoc/it/reference/mssql/reference.xml Fri Apr 26 16:26:43 2002 @@ -1,4 +1,5 @@ + Funzioni per Microsoft SQL Server MS SQL Server
[PHP-DOC] cvs: phpdoc /it/reference/pcre reference.xml
darvina Fri Apr 26 16:26:01 2002 EDT Modified files: /phpdoc/it/reference/pcre reference.xml Log: Added EN-Revision Index: phpdoc/it/reference/pcre/reference.xml diff -u phpdoc/it/reference/pcre/reference.xml:1.2 phpdoc/it/reference/pcre/reference.xml:1.3 --- phpdoc/it/reference/pcre/reference.xml:1.2 Mon Apr 15 14:12:00 2002 +++ phpdoc/it/reference/pcre/reference.xml Fri Apr 26 16:26:00 2002 @@ -1,4 +1,5 @@ + Funzioni per le espressioni regolari (Perl compatibili) PCRE
[PHP-DOC] cvs: phpdoc /it/reference/regex reference.xml
darvina Fri Apr 26 16:23:41 2002 EDT Modified files: /phpdoc/it/reference/regex reference.xml Log: Added EN-Revision Index: phpdoc/it/reference/regex/reference.xml diff -u phpdoc/it/reference/regex/reference.xml:1.2 phpdoc/it/reference/regex/reference.xml:1.3 --- phpdoc/it/reference/regex/reference.xml:1.2 Mon Apr 15 14:12:02 2002 +++ phpdoc/it/reference/regex/reference.xml Fri Apr 26 16:23:41 2002 @@ -1,4 +1,5 @@ + Funzioni per le espressioni regolari (POSIX estesa) Regexp
[PHP-DOC] cvs: phpdoc /it/reference/sem reference.xml
darvina Fri Apr 26 16:22:49 2002 EDT Modified files: /phpdoc/it/reference/semreference.xml Log: Added EN-Revision Index: phpdoc/it/reference/sem/reference.xml diff -u phpdoc/it/reference/sem/reference.xml:1.2 phpdoc/it/reference/sem/reference.xml:1.3 --- phpdoc/it/reference/sem/reference.xml:1.2 Mon Apr 15 14:12:02 2002 +++ phpdoc/it/reference/sem/reference.xml Fri Apr 26 16:22:49 2002 @@ -1,4 +1,5 @@ + Funzioni relative ai semafori ed alla memoria condivisa Semafori
[PHP-DOC] cvs: phpdoc /it/reference/shmop reference.xml
darvina Fri Apr 26 16:21:59 2002 EDT Modified files: /phpdoc/it/reference/shmop reference.xml Log: Added EN-Revision Index: phpdoc/it/reference/shmop/reference.xml diff -u phpdoc/it/reference/shmop/reference.xml:1.2 phpdoc/it/reference/shmop/reference.xml:1.3 --- phpdoc/it/reference/shmop/reference.xml:1.2 Mon Apr 15 14:12:04 2002 +++ phpdoc/it/reference/shmop/reference.xml Fri Apr 26 16:21:57 2002 @@ -1,4 +1,5 @@ + Funzioni relative alla memoria condivisa shmop
[PHP-DOC] cvs: phpdoc /it/reference/var reference.xml
darvina Fri Apr 26 16:20:23 2002 EDT Modified files: /phpdoc/it/reference/varreference.xml Log: Added EN-Revision Index: phpdoc/it/reference/var/reference.xml diff -u phpdoc/it/reference/var/reference.xml:1.2 phpdoc/it/reference/var/reference.xml:1.3 --- phpdoc/it/reference/var/reference.xml:1.2 Mon Apr 15 14:12:06 2002 +++ phpdoc/it/reference/var/reference.xml Fri Apr 26 16:20:22 2002 @@ -1,4 +1,5 @@ + Funzioni di Variabili
[PHP-DOC] cvs: phpdoc /it/reference/snmp reference.xml
darvina Fri Apr 26 16:19:09 2002 EDT Modified files: /phpdoc/it/reference/snmp reference.xml Log: Add EN-Revision Index: phpdoc/it/reference/snmp/reference.xml diff -u phpdoc/it/reference/snmp/reference.xml:1.2 phpdoc/it/reference/snmp/reference.xml:1.3 --- phpdoc/it/reference/snmp/reference.xml:1.2 Mon Apr 15 14:12:05 2002 +++ phpdoc/it/reference/snmp/reference.xml Fri Apr 26 16:19:08 2002 @@ -1,4 +1,5 @@ + Funzioni per SNMP SNMP
[PHP-DOC] cvs: phpdoc /it/reference/uodbc reference.xml
darvina Fri Apr 26 16:18:06 2002 EDT Modified files: /phpdoc/it/reference/uodbc reference.xml Log: Add EN-Revision Index: phpdoc/it/reference/uodbc/reference.xml diff -u phpdoc/it/reference/uodbc/reference.xml:1.2 phpdoc/it/reference/uodbc/reference.xml:1.3 --- phpdoc/it/reference/uodbc/reference.xml:1.2 Mon Apr 15 14:12:06 2002 +++ phpdoc/it/reference/uodbc/reference.xml Fri Apr 26 16:18:05 2002 @@ -1,4 +1,5 @@ + Funzioni ODBC Unificate ODBC
[PHP-DOC] cvs: phpdoc /it/reference/sockets reference.xml
darvina Fri Apr 26 16:16:52 2002 EDT Modified files: /phpdoc/it/reference/socketsreference.xml Log: Add EN-Revision Index: phpdoc/it/reference/sockets/reference.xml diff -u phpdoc/it/reference/sockets/reference.xml:1.2 phpdoc/it/reference/sockets/reference.xml:1.3 --- phpdoc/it/reference/sockets/reference.xml:1.2 Mon Apr 15 14:12:05 2002 +++ phpdoc/it/reference/sockets/reference.xml Fri Apr 26 16:16:52 2002 @@ -1,10 +1,11 @@ + Funzioni relative ai Socket Sockets - &warn.experimental; + &warn.experimental; Questa estensione implementa una interfaccia a basso livello verso i socket, fornendo la possibilità di agire sia come
[PHP-DOC] cvs: phpdoc /it/reference/sockets/functions socket-connect.xml
darvina Fri Apr 26 16:15:39 2002 EDT Modified files: /phpdoc/it/reference/sockets/functions socket-connect.xml Log: Update to EN 1.3 Index: phpdoc/it/reference/sockets/functions/socket-connect.xml diff -u phpdoc/it/reference/sockets/functions/socket-connect.xml:1.2 phpdoc/it/reference/sockets/functions/socket-connect.xml:1.3 --- phpdoc/it/reference/sockets/functions/socket-connect.xml:1.2Wed Apr 17 03:08:35 2002 +++ phpdoc/it/reference/sockets/functions/socket-connect.xmlFri Apr 26 16:15:39 +2002 @@ -1,7 +1,7 @@ - + @@ -11,7 +11,7 @@ Descrizione - intsocket_connect + boolsocket_connect resourcesocket stringaddress intport @@ -37,8 +37,8 @@ per eseguire la connessione. - La funzione restituisce zero se ha successo, oppure un codice di errore - negativo in caso di errore. Questo codice può essere passato alla funzione socket_strerror + &return.success; Questo codice può essere passato alla funzione + socket_strerror per ottenere una descrizione dell'errore.
[PHP-DOC] cvs: phpdoc /it/reference/classobj reference.xml
darvina Fri Apr 26 16:13:35 2002 EDT Modified files: /phpdoc/it/reference/classobj reference.xml Log: Update to EN 1.3 Index: phpdoc/it/reference/classobj/reference.xml diff -u phpdoc/it/reference/classobj/reference.xml:1.2 phpdoc/it/reference/classobj/reference.xml:1.3 --- phpdoc/it/reference/classobj/reference.xml:1.2 Mon Apr 15 14:11:48 2002 +++ phpdoc/it/reference/classobj/reference.xml Fri Apr 26 16:13:35 2002 @@ -1,13 +1,12 @@ + Funzioni per Classi/Oggetti Classi/Oggetti - -Introduzione -Obiettivo + &reftitle.intro; Queste funzioni permettono di ottenere informazioni sulle classi e sulle istanze degli oggetti. Si può ricavare il nome della @@ -17,8 +16,8 @@ (ad esempio da quale classe è derivata la classe dell'oggetto). - - Esempio di utilizzo + + &reftitle.examples; In questo esempio, prima si definisce una classe base, quindi una seconda che deriva dalla prima. La classe base descrive gli aspetti @@ -166,7 +165,6 @@ - &reference.classobj.functions;
[PHP-DOC] cvs: phpdoc /it/reference/xml reference.xml
darvina Fri Apr 26 16:11:35 2002 EDT Modified files: /phpdoc/it/reference/xmlreference.xml Log: Update to EN 1.4 Index: phpdoc/it/reference/xml/reference.xml diff -u phpdoc/it/reference/xml/reference.xml:1.1 phpdoc/it/reference/xml/reference.xml:1.2 --- phpdoc/it/reference/xml/reference.xml:1.1 Tue Apr 23 15:21:01 2002 +++ phpdoc/it/reference/xml/reference.xml Fri Apr 26 16:11:34 2002 @@ -1,5 +1,5 @@ - + Funzioni relative al parser XML XML @@ -81,84 +81,84 @@ Gestori XML supportati - - - Funzione PHP per attivare il gestore - Descrizione dell'evento - - - - - xml_set_element_handler - - L'evento 'Elemento' viene attivato quando il parser XML - incontra i tag di apertura e chiusura. Esistono gestori separati - per i tag di apertura e di chiusura. - - - - - xml_set_character_data_handler - - - Sono dati tutti i contenuti dei documenti XML che non siano - dei markup, compresi gli spazi tra i tag. Si noti che - il parser XML non aggiunge ne rimuove spazi, è compito - dell'applicazione decidere se gli spazi siano - significativi o meno. - - - - - xml_set_processing_instruction_handler - - - Ai programmatori PHP dovrebbe già essere familiare le istruzioni di processo - (PIs). è un istruzione di - processo dove php viene definito - "PI target". La gestione di questi è specifica dell'applicazione, - tranne che tutti i PI targets che iniziano con "XML", - questi sono riservati. - - - - xml_set_default_handler - - Tutto ciò che non rientra negli altri gestori ricade nel gestore - di default. In questo gestore si ha elementi come - la dichiarazione dei tipo documento. - - - - - xml_set_unparsed_entity_decl_handler - - - Questo gestore viene richiamato per la gestione di entità non analizzate - (NDATA). - - - - - xml_set_notation_decl_handler - - - Questo gestore viene richiamato per la dichiarazione di una notazione. - - - - - xml_set_external_entity_ref_handler - - - Questo gestore viene richiamato quando il parser XML incontra un - riferimento ad una entità esterna analizzata. - Questa può essere, ad esempio, un riferimento ad un file o ad un URL. - Vedere esempio di entità - esterne per una dimostrazione. - - - + + + Funzione PHP per attivare il gestore + Descrizione dell'evento + + + + + xml_set_element_handler + + L'evento 'Elemento' viene attivato quando il parser XML + incontra i tag di apertura e chiusura. Esistono gestori separati + per i tag di apertura e di chiusura. + + + + + xml_set_character_data_handler + + + Sono dati tutti i contenuti dei documenti XML che non siano + dei markup, compresi gli spazi tra i tag. Si noti che + il parser XML non aggiunge ne rimuove spazi, è compito + dell'applicazione decidere se gli spazi siano + significativi o meno. + + + + + xml_set_processing_instruction_handler + + + Ai programmatori PHP dovrebbe già essere familiare le istruzioni di +processo + (PIs). è un istruzione di + processo dove php viene definito + "PI target". La gestione di questi è specifica dell'applicazione, + tranne che tutti i PI targets che iniziano con "XML", + questi sono riservati. + + + + xml_set_default_handler + + Tutto ciò che non rientra negli altri gestori ricade nel gestore + di default. In questo gestore si ha elementi come + la dichiarazione dei tipo documento. + + + + + xml_set_unparsed_entity_decl_handler + + + Questo gestore viene richiamato per la gestione di entità non analizzate + (NDATA). + + + + + xml_set_notation_decl_handler + + + Questo gestore viene richiamato per la dichiarazione di una notazione. + + + + + xml_set_external_entity_ref_handler + + + Questo gestore viene richiamato quando il parser XML incontra un + riferimento ad una entità esterna analizzata. + Questa può essere, ad esempio, un riferimento ad un file o ad un URL. + V
[PHP-DOC] cvs: phpdoc /en/reference/xml reference.xml
darvina Fri Apr 26 16:10:14 2002 EDT Modified files: /phpdoc/en/reference/xmlreference.xml Log: WS Index: phpdoc/en/reference/xml/reference.xml diff -u phpdoc/en/reference/xml/reference.xml:1.3 phpdoc/en/reference/xml/reference.xml:1.4 --- phpdoc/en/reference/xml/reference.xml:1.3 Mon Apr 22 16:35:26 2002 +++ phpdoc/en/reference/xml/reference.xml Fri Apr 26 16:10:13 2002 @@ -1,5 +1,5 @@ - + XML parser functions XML @@ -81,84 +81,84 @@ Supported XML handlers - - - PHP function to set handler - Event description - - - - - xml_set_element_handler - - Element events are issued whenever the XML parser - encounters start or end tags. There are separate handlers - for start tags and end tags. - - - - - xml_set_character_data_handler - - - Character data is roughly all the non-markup contents of - XML documents, including whitespace between tags. Note - that the XML parser does not add or remove any whitespace, - it is up to the application (you) to decide whether - whitespace is significant. - - - - - xml_set_processing_instruction_handler - - - PHP programmers should be familiar with processing - instructions (PIs) already. is a processing - instruction, where php is called - the "PI target". The handling of these are - application-specific, except that all PI targets starting - with "XML" are reserved. - - - - xml_set_default_handler - - What goes not to another handler goes to the default - handler. You will get things like the XML and document - type declarations in the default handler. - - - - - xml_set_unparsed_entity_decl_handler - - - This handler will be called for declaration of an unparsed - (NDATA) entity. - - - - - xml_set_notation_decl_handler - - - This handler is called for declaration of a notation. - - - - - xml_set_external_entity_ref_handler - - - This handler is called when the XML parser finds a - reference to an external parsed general entity. This can - be a reference to a file or URL, for example. See the external entity - example for a demonstration. - - - + + + PHP function to set handler + Event description + + + + + xml_set_element_handler + + Element events are issued whenever the XML parser + encounters start or end tags. There are separate handlers + for start tags and end tags. + + + + + xml_set_character_data_handler + + + Character data is roughly all the non-markup contents of + XML documents, including whitespace between tags. Note + that the XML parser does not add or remove any whitespace, + it is up to the application (you) to decide whether + whitespace is significant. + + + + + xml_set_processing_instruction_handler + + + PHP programmers should be familiar with processing + instructions (PIs) already. is a processing + instruction, where php is called + the "PI target". The handling of these are + application-specific, except that all PI targets starting + with "XML" are reserved. + + + + xml_set_default_handler + + What goes not to another handler goes to the default + handler. You will get things like the XML and document + type declarations in the default handler. + + + + + xml_set_unparsed_entity_decl_handler + + + This handler will be called for declaration of an unparsed + (NDATA) entity. + + + + + xml_set_notation_decl_handler + + + This handler is called for declaration of a notation. + + + + + xml_set_external_entity_ref_handler + + + This handler is called when the XML parser finds a + reference to an external parsed general entity. This can + be a reference to a file or URL, for example. See the external entity + example for a demonstration. + + +
Re: [PHP-DOC] Bug #16856: [chm] bugs
> > [chm date: 2002-04-20] > > Numerous bugs in New PHP Manual Sample: > > - lot's of pages show "Page could not be displayed", very > > annoying, for > > example, mssql fuctions from Index tab. > > I find out, that the Windows Help Compiler have problems with line breaks > inside of arguments list. The solution is not breaking lines between < and > > inside of an open or close HTML tag in the .hcc file. > > I'm unsure, that this information help, only an idea. The CHMs does work on my computer, and on many guys computers, so there should have been no error during compilation IMHO. Goba
RE: [PHP-DOC] Bug #16856: [chm] bugs
> [chm date: 2002-04-20] > Numerous bugs in New PHP Manual Sample: > - lot's of pages show "Page could not be displayed", very > annoying, for > example, mssql fuctions from Index tab. I find out, that the Windows Help Compiler have problems with line breaks inside of arguments list. The solution is not breaking lines between < and > inside of an open or close HTML tag in the .hcc file. I'm unsure, that this information help, only an idea. Regards, Kai
[PHP-DOC] Bug #16856 Updated: [chm] bugs
ID: 16856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: 4.2.0 New Comment: Once again, I cannot reproduce any of these bugs. I have already checked now this CHM set on a freshly installed XP with IE6 security update, but otherwise default IE settings, and all seems OK, including user notes, high design. I have experienced *no* errors. Can you find any usual on those pages you experience these errors? Are these very long pages? Are these short ones? Do they have any special character in their names, or any other similarities? Previous Comments: [2002-04-26 13:42:30] [EMAIL PROTECTED] Hey, you said: "High theme shows lots of JS errors" and now you are speaking about the low theme [general] errors. I asked about the high skin errors. It was not that obvious though... The notes autofind code is thought to be safe enough to fall back if there is no file. [2002-04-26 13:20:08] [EMAIL PROTECTED] About 'page not found' errors. It seems to me that it isn't a random occuring bug - this error shows on same pages all over the time. Also, when 'page not found' - it shows a location *inside manual_notes.chm* file, not the main file. As it seems to me, pages like /introduction.html are supposed to be inside php_manual_LANG.chm? Hope that helps. [2002-04-26 13:13:33] [EMAIL PROTECTED] When first opening manual, at page "Getting Started", for example, it pops JS error 'document.all.unotes is null or not an object'. Theme - light one. IE 6.0.2600 on Win XP. [2002-04-26 12:10:09] [EMAIL PROTECTED] We are working on the first point. It will be corrected as soon as a) we found the exact problem b) found the solution for that c) and have enough time to do this all ;) For the second bug, there no more JS for the high skin, then the low skin, they only differ in CSS code significantly. What kind of JS errors you get? What exact errors do you get (error messages - *not* full debug info please)? [2002-04-26 11:55:09] [EMAIL PROTECTED] [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit this bug report at http://bugs.php.net/?id=16856&edit=1
[PHP-DOC] Bug #16856 Updated: [chm] bugs
ID: 16856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: 4.2.0 New Comment: Hey, you said: "High theme shows lots of JS errors" and now you are speaking about the low theme [general] errors. I asked about the high skin errors. It was not that obvious though... The notes autofind code is thought to be safe enough to fall back if there is no file. Previous Comments: [2002-04-26 13:20:08] [EMAIL PROTECTED] About 'page not found' errors. It seems to me that it isn't a random occuring bug - this error shows on same pages all over the time. Also, when 'page not found' - it shows a location *inside manual_notes.chm* file, not the main file. As it seems to me, pages like /introduction.html are supposed to be inside php_manual_LANG.chm? Hope that helps. [2002-04-26 13:13:33] [EMAIL PROTECTED] When first opening manual, at page "Getting Started", for example, it pops JS error 'document.all.unotes is null or not an object'. Theme - light one. IE 6.0.2600 on Win XP. [2002-04-26 12:10:09] [EMAIL PROTECTED] We are working on the first point. It will be corrected as soon as a) we found the exact problem b) found the solution for that c) and have enough time to do this all ;) For the second bug, there no more JS for the high skin, then the low skin, they only differ in CSS code significantly. What kind of JS errors you get? What exact errors do you get (error messages - *not* full debug info please)? [2002-04-26 11:55:09] [EMAIL PROTECTED] [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit this bug report at http://bugs.php.net/?id=16856&edit=1
[PHP-DOC] Bug #16856 Updated: [chm] bugs
ID: 16856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: 4.2.0 New Comment: About 'page not found' errors. It seems to me that it isn't a random occuring bug - this error shows on same pages all over the time. Also, when 'page not found' - it shows a location *inside manual_notes.chm* file, not the main file. As it seems to me, pages like /introduction.html are supposed to be inside php_manual_LANG.chm? Hope that helps. Previous Comments: [2002-04-26 13:13:33] [EMAIL PROTECTED] When first opening manual, at page "Getting Started", for example, it pops JS error 'document.all.unotes is null or not an object'. Theme - light one. IE 6.0.2600 on Win XP. [2002-04-26 12:10:09] [EMAIL PROTECTED] We are working on the first point. It will be corrected as soon as a) we found the exact problem b) found the solution for that c) and have enough time to do this all ;) For the second bug, there no more JS for the high skin, then the low skin, they only differ in CSS code significantly. What kind of JS errors you get? What exact errors do you get (error messages - *not* full debug info please)? [2002-04-26 11:55:09] [EMAIL PROTECTED] [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit this bug report at http://bugs.php.net/?id=16856&edit=1
[PHP-DOC] Bug #16856 Updated: [chm] bugs
ID: 16856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: 4.2.0 New Comment: When first opening manual, at page "Getting Started", for example, it pops JS error 'document.all.unotes is null or not an object'. Theme - light one. IE 6.0.2600 on Win XP. Previous Comments: [2002-04-26 12:10:09] [EMAIL PROTECTED] We are working on the first point. It will be corrected as soon as a) we found the exact problem b) found the solution for that c) and have enough time to do this all ;) For the second bug, there no more JS for the high skin, then the low skin, they only differ in CSS code significantly. What kind of JS errors you get? What exact errors do you get (error messages - *not* full debug info please)? [2002-04-26 11:55:09] [EMAIL PROTECTED] [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit this bug report at http://bugs.php.net/?id=16856&edit=1
[PHP-DOC] Bug #16856 Updated: [chm] bugs
ID: 16856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: 4.2.0 New Comment: We are working on the first point. It will be corrected as soon as a) we found the exact problem b) found the solution for that c) and have enough time to do this all ;) For the second bug, there no more JS for the high skin, then the low skin, they only differ in CSS code significantly. What kind of JS errors you get? What exact errors do you get (error messages - *not* full debug info please)? Previous Comments: [2002-04-26 11:55:09] [EMAIL PROTECTED] [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit this bug report at http://bugs.php.net/?id=16856&edit=1
[PHP-DOC] Bug #16856: [chm] bugs
From: [EMAIL PROTECTED] Operating system: windows PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: [chm] bugs [chm date: 2002-04-20] Numerous bugs in New PHP Manual Sample: - lot's of pages show "Page could not be displayed", very annoying, for example, mssql fuctions from Index tab. - High theme shows lots of JS errors -- Edit bug report at http://bugs.php.net/?id=16856&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=16856&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=16856&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16856&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16856&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16856&r=support Expected behavior: http://bugs.php.net/fix.php?id=16856&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16856&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16856&r=submittedtwice
[PHP-DOC] Bug #16763 Updated: '
ID: 16763 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: ALL PHP Version: 4.2.0 New Comment: Erm, my prev not was not intended to be against this new form, I just intended to add some more info ;) Previous Comments: [2002-04-26 11:20:59] [EMAIL PROTECTED] > People who do like the shorthand method > will no longer have to write code using an > optional tag style which requires an ini > setting which is NOT set on every(or > even most?) servers. ..and which tag is not XML safe. BTW is still not XML safe, so this is not a real argument ;) XML 1.0 specifies PIs: 'http://bugs.php.net/16763 -- Edit this bug report at http://bugs.php.net/?id=16763&edit=1
[PHP-DOC] Bug #16763 Updated: '
ID: 16763 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: ALL PHP Version: 4.2.0 New Comment: > People who do like the shorthand method > will no longer have to write code using an > optional tag style which requires an ini > setting which is NOT set on every(or > even most?) servers. ..and which tag is not XML safe. BTW is still not XML safe, so this is not a real argument ;) XML 1.0 specifies PIs: 'http://bugs.php.net/16763 -- Edit this bug report at http://bugs.php.net/?id=16763&edit=1
[PHP-DOC] Bug #16854: pgsql_create.sql comment fix
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.2.0 PHP Bug Type: Documentation problem Bug description: pgsql_create.sql comment fix the pgsql_create.sql script has a comment that says to run the script with: psql -f pgsql_create.sql the postgres client requires you to specify a database name so i use the system catalog, template1 like this: psql -f pgsql_create.sql template1 -- Edit bug report at http://bugs.php.net/?id=16854&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=16854&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=16854&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16854&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16854&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16854&r=support Expected behavior: http://bugs.php.net/fix.php?id=16854&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16854&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16854&r=submittedtwice
[PHP-DOC] Bug #16763 Updated: '
ID: 16763 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: ALL PHP Version: 4.2.0 New Comment: Actually, removing http://bugs.php.net/16763 -- Edit this bug report at http://bugs.php.net/?id=16763&edit=1
Re: [PHP-DOC] entities proposal
> I myself would like to see some more entities :-) > In the constanst.xml there are a lot of links to integer-types, > e.g. /refernce/curl/constansts.xml > like: > integer > For this it would be convinient to have an entity, also for other > links to language.types. > Opinions? There used to be an option, using integer which is not the right to use in these cases for some reason. Maybe because tags are also used in prototypes on function pages[?], I don't know. Goba
Re: [PHP-DOC] German CHM File
> ive been away for some days, > and now german manual as chm file seems to be missing, > well, since i didnt find anything in the mails i received while > away time: > does anyone know what happend, or didnt i recognize the right mail? There was [and is] a problem with CHM generation. For some weird reason [which we cannot dig up], the generated CHMs are far slower than the ones from one month before. Although there was no change in the generation scripts, and in the generation system [Derick's computer]. Furthermore, the German one had the problem, that it was truncated when it was uploaded, so it's size was about 800K isntead of the regular size [about 2,5M]. This is why Jim deleted the german CHMs, and as described previously, Derick has problems, so he does not generate the CHMs right know. This is the full and true story [I hope]. Goba
[PHP-DOC] Bug #16660 Updated: Documentation bz2 archive format is not appropriate
ID: 16660 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.0 New Comment: Hm, I don't understand it either... But maybe... Maybe the HTMLHelp is too windowish, and the bz2 compression too unixish? I think we should stick to RARed Klingonese. Previous Comments: [2002-04-26 10:39:47] [EMAIL PROTECTED] What is the problem with the HTML Help manuals? Why do we go too far?? BTW we already decided to provide .tar.gz files again, just it seems it didn't make it to the generation system... [2002-04-26 10:29:47] [EMAIL PROTECTED] I think the problem is a lack of choice. bz2 might be better than other formats, but you (people at php.net) are little going too far with bz2 and that HTML Help... [2002-04-17 12:40:46] [EMAIL PROTECTED] Nope, this is a documentation problem. [2002-04-17 11:42:30] [EMAIL PROTECTED] Reclassified. -Tal [2002-04-17 10:11:32] [EMAIL PROTECTED] Recently there was a change in the archive format of the downloadable documentation - from tar.gz and zip to bz2. A link to a FAQ article describing archive programs for the Windows platform was added in the left pane of http://www.php.net/download-docs.php . The bz2 format is new and not common on Windows platform - which is used by the majority of php users and programmers. Furthermore, the linked programs "Ultimate Zip" and "Quickzip" do not work properly with bz2. Using the bz2 format violates the rule of "least astonishment" and is harmful to the positive image of PHP as being user friendly. Thus I propose to return to tar.gz or .zip format for the doc files. -- Edit this bug report at http://bugs.php.net/?id=16660&edit=1
[PHP-DOC] Bug #16660 Updated: Documentation bz2 archive format is not appropriate
ID: 16660 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.0 New Comment: What is the problem with the HTML Help manuals? Why do we go too far?? BTW we already decided to provide .tar.gz files again, just it seems it didn't make it to the generation system... Previous Comments: [2002-04-26 10:29:47] [EMAIL PROTECTED] I think the problem is a lack of choice. bz2 might be better than other formats, but you (people at php.net) are little going too far with bz2 and that HTML Help... [2002-04-17 12:40:46] [EMAIL PROTECTED] Nope, this is a documentation problem. [2002-04-17 11:42:30] [EMAIL PROTECTED] Reclassified. -Tal [2002-04-17 10:11:32] [EMAIL PROTECTED] Recently there was a change in the archive format of the downloadable documentation - from tar.gz and zip to bz2. A link to a FAQ article describing archive programs for the Windows platform was added in the left pane of http://www.php.net/download-docs.php . The bz2 format is new and not common on Windows platform - which is used by the majority of php users and programmers. Furthermore, the linked programs "Ultimate Zip" and "Quickzip" do not work properly with bz2. Using the bz2 format violates the rule of "least astonishment" and is harmful to the positive image of PHP as being user friendly. Thus I propose to return to tar.gz or .zip format for the doc files. -- Edit this bug report at http://bugs.php.net/?id=16660&edit=1
[PHP-DOC] Bug #16677 Updated: SID constant does not get set
ID: 16677 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Redhat 7.2 PHP Version: 4.2.0 New Comment: There is definitely something odd here. In the example I give in original post, a cookie is not sent to the client, yet SID is still not set. Previous Comments: [2002-04-18 06:05:39] [EMAIL PROTECTED] We need to make it clearer how/when SID is defined, including changed behavior in 4.2.0. SID is defined when cookie is not sent to client from 4.2.0. I forgot old behavior. [2002-04-18 04:32:57] [EMAIL PROTECTED] I'm using PHP 4.2.0-RC4 with Apache 2.0.35. The following script does not return the session_name=session_id, using the SID constant, as expected: Configure line: ./configure --with-apxs2=/opt/apache2/bin/apxs --with-xml --with-openssl --with-sybase=/opt/sybase --without-mysql Session configuration is as follows: ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. session.save_path = /tmp ; Whether to use cookies. session.use_cookies = 0 ; Name of the session (used as cookie name). session.name = PHPSESSID ; Initialize session on request startup. session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 ; The path for which the cookie is valid. session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php ; Percentual probability that the 'garbage collection' process is started ; on every session initialization. session.gc_probability = 10 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1800 ; Check HTTP Referer to invalidate externally stored URLs containing ids. session.referer_check = ; How many bytes to read from the file. session.entropy_length = 0 ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom ; Set to {nocache,private,public} to determine HTTP caching aspects. session.cache_limiter = nocache ; Document expires after n minutes. session.cache_expire = 180 ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 0 -- Edit this bug report at http://bugs.php.net/?id=16677&edit=1
[PHP-DOC] Bug #16660 Updated: Documentation bz2 archive format is not appropriate
ID: 16660 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows PHP Version: 4.2.0 New Comment: I think the problem is a lack of choice. bz2 might be better than other formats, but you (people at php.net) are little going too far with bz2 and that HTML Help... Previous Comments: [2002-04-17 12:40:46] [EMAIL PROTECTED] Nope, this is a documentation problem. [2002-04-17 11:42:30] [EMAIL PROTECTED] Reclassified. -Tal [2002-04-17 10:11:32] [EMAIL PROTECTED] Recently there was a change in the archive format of the downloadable documentation - from tar.gz and zip to bz2. A link to a FAQ article describing archive programs for the Windows platform was added in the left pane of http://www.php.net/download-docs.php . The bz2 format is new and not common on Windows platform - which is used by the majority of php users and programmers. Furthermore, the linked programs "Ultimate Zip" and "Quickzip" do not work properly with bz2. Using the bz2 format violates the rule of "least astonishment" and is harmful to the positive image of PHP as being user friendly. Thus I propose to return to tar.gz or .zip format for the doc files. -- Edit this bug report at http://bugs.php.net/?id=16660&edit=1
[PHP-DOC] cvs: phpdoc /pt_BR translation.xml
phaser Fri Apr 26 09:26:20 2002 EDT Modified files: /phpdoc/pt_BR translation.xml Log: user/email fix && pgsql added Index: phpdoc/pt_BR/translation.xml diff -u phpdoc/pt_BR/translation.xml:1.2 phpdoc/pt_BR/translation.xml:1.3 --- phpdoc/pt_BR/translation.xml:1.2Sat Apr 20 03:31:18 2002 +++ phpdoc/pt_BR/translation.xmlFri Apr 26 09:26:19 2002 @@ -1,38 +1,25 @@ - + - - - + The Brazilian Portuguese translation of the PHP Documentation is managed by João Prado Maia (jpm), and the other contributors with a CVS account. - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - -
[PHP-DOC] German CHM File
Hi, ive been away for some days, and now german manual as chm file seems to be missing, well, since i didnt find anything in the mails i received while away time: does anyone know what happend, or didnt i recognize the right mail? regards, Peter Petermann -- Homepage: www.cyberfly.net PHP Usergroups: www.phpug.de - [EMAIL PROTECTED] PHP Infos: www.php-center.de - [EMAIL PROTECTED] VL-SRM Homepage: www.vl-srm.net - [EMAIL PROTECTED]
[PHP-DOC] cvs: phpdoc /en/language basic-syntax.xml
yohgaki Fri Apr 26 09:03:13 2002 EDT Modified files: /phpdoc/en/language basic-syntax.xml Log: Use of - + Basic syntax @@ -81,11 +81,11 @@ Ways of escaping from HTML
[PHP-DOC] cvs: phpdoc /en/reference/dbx/functions dbx-close.xml dbx-sort.xml
betzFri Apr 26 06:47:31 2002 EDT Modified files: /phpdoc/en/reference/dbx/functions dbx-close.xml dbx-sort.xml Log: added &return.success; Index: phpdoc/en/reference/dbx/functions/dbx-close.xml diff -u phpdoc/en/reference/dbx/functions/dbx-close.xml:1.2 phpdoc/en/reference/dbx/functions/dbx-close.xml:1.3 --- phpdoc/en/reference/dbx/functions/dbx-close.xml:1.2 Wed Apr 17 02:37:28 2002 +++ phpdoc/en/reference/dbx/functions/dbx-close.xml Fri Apr 26 06:47:30 2002 @@ -1,5 +1,5 @@ - + @@ -13,8 +13,7 @@ objectlink_identifier - Returns &true; on success, - &false; on error. + &return.success; dbx_close example Index: phpdoc/en/reference/dbx/functions/dbx-sort.xml diff -u phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.2 phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.3 --- phpdoc/en/reference/dbx/functions/dbx-sort.xml:1.2 Wed Apr 17 02:37:32 2002 +++ phpdoc/en/reference/dbx/functions/dbx-sort.xml Fri Apr 26 06:47:30 2002 @@ -1,5 +1,5 @@ - + @@ -16,8 +16,7 @@ stringuser_compare_function - Returns &true; on success, - &false; on error. + &return.success;
[PHP-DOC] cvs: phpdoc /en/reference/dbase reference.xml
betzFri Apr 26 06:44:45 2002 EDT Modified files: /phpdoc/en/reference/dbase reference.xml Log: new structure Index: phpdoc/en/reference/dbase/reference.xml diff -u phpdoc/en/reference/dbase/reference.xml:1.2 phpdoc/en/reference/dbase/reference.xml:1.3 --- phpdoc/en/reference/dbase/reference.xml:1.2 Mon Apr 15 14:56:31 2002 +++ phpdoc/en/reference/dbase/reference.xml Fri Apr 26 06:44:44 2002 @@ -1,34 +1,60 @@ - + dBase functions dBase - -These functions allow you to access records stored in dBase-format -(dbf) databases. In order to use these functions, you must compile -PHP with the --enable-dbase option. - - -There is no support for indexes or memo fields. There is no -support for locking, too. Two concurrent webserver processes -modifying the same dBase file will very likely ruin your database. - - -dBase files are simple sequential files of fixed -length records. Records are appended to the end of -the file and delete records are kept until you call -dbase_pack. - - -We recommend that you do not use dBase files as your production -database. Choose any real SQL server instead; MySQL or Postgres -are common choices with PHP. dBase support is here to allow you to -import and export data to and from your web database, because the -file format is commonly understood by Windows spreadsheets and -organizers. - + +&reftitle.intro; + + These functions allow you to access records stored in dBase-format + (dbf) databases. + + + There is no support for indexes or memo fields. There is no + support for locking, too. Two concurrent webserver processes + modifying the same dBase file will very likely ruin your database. + + + dBase files are simple sequential files of fixed + length records. Records are appended to the end of + the file and delete records are kept until you call + dbase_pack. + + + We recommend that you do not use dBase files as your production + database. Choose any real SQL server instead; MySQL or Postgres + are common choices with PHP. dBase support is here to allow you to + import and export data to and from your web database, because the + file format is commonly understood by Windows spreadsheets and + organizers. + + + + +&reftitle.install; + + In order to use these functions, you must compile + PHP with the --enable-dbase option. + + + + +&reftitle.runtime; +&no.config; + + + +&reftitle.resources; +&no.resource; + + + +&reftitle.constants; +&no.constants; + + &reference.dbase.functions;
[PHP-DOC] cvs: phpdoc /en/reference/datetime reference.xml
betzFri Apr 26 06:42:30 2002 EDT Modified files: /phpdoc/en/reference/datetime reference.xml Log: new structure, some text in partintro added. Index: phpdoc/en/reference/datetime/reference.xml diff -u phpdoc/en/reference/datetime/reference.xml:1.2 phpdoc/en/reference/datetime/reference.xml:1.3 --- phpdoc/en/reference/datetime/reference.xml:1.2 Mon Apr 15 14:56:31 2002 +++ phpdoc/en/reference/datetime/reference.xml Fri Apr 26 06:42:30 2002 @@ -1,8 +1,53 @@ - + Date and Time functions Date/time + + +&reftitle.intro; + + You can use this functions to handle date and time. + This functions allow you to get date and time from the server + where PHP is running on. You can use this functions to format the + output of date and time in many different ways. + + + + Please keep in mind that this functions are depending on + the locale settings of your server. Especially consider + daylight saving time settings and leap years. + + + + + + +&reftitle.required; +&no.requirement; + + + +&reftitle.install; +&no.install; + + + +&reftitle.runtime; +&no.config; + + + +&reftitle.resources; +&no.resource; + + + +&reftitle.constants; +&no.constants; + + + &reference.datetime.functions;
[PHP-DOC] cvs: phpdoc /de/reference/openssl/functions openssl-pkcs7-encrypt.xml
betzFri Apr 26 06:39:49 2002 EDT Modified files: /phpdoc/de/reference/openssl/functions openssl-pkcs7-encrypt.xml Log: yet another sync to en Index: phpdoc/de/reference/openssl/functions/openssl-pkcs7-encrypt.xml diff -u phpdoc/de/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.3 phpdoc/de/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.4 --- phpdoc/de/reference/openssl/functions/openssl-pkcs7-encrypt.xml:1.3 Thu Apr 25 18:04:32 2002 +++ phpdoc/de/reference/openssl/functions/openssl-pkcs7-encrypt.xml Fri Apr 26 +06:39:49 2002 @@ -1,7 +1,7 @@ - + @@ -67,8 +67,8 @@ // verschlüsseln if (openssl_pkcs7_encrypt("msg.txt", "enc.txt", $key, -array("To" => "[EMAIL PROTECTED]", // keyed syntax - "From: HQ <[EMAIL PROTECTED]>", // indexed syntax +array("To" => "[EMAIL PROTECTED]", // keyed syntax + "From: HQ <[EMAIL PROTECTED]>", // indexed syntax "Subject" => "Eyes only"))) { // Nachricht verschlüsselt - ab damit! @@ -78,9 +78,6 @@ - - Diese Funktion wurde in 4.0.6 hinzugefügt. -
[PHP-DOC] Bug #14965 Updated: Sablotron XLST encoding error
ID: 14965 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Windows 2000 PHP Version: 4.1.1 New Comment: Hi, the same problem here on PWS on winodws ME, the code is returned Warning: sablotron error on line 1, unknown encoding... using this code the problem was completely solved... thank u, Previous Comments: [2002-01-18 17:25:52] [EMAIL PROTECTED] Hi folks (please be gentle, my first post to bugs.php.net). I've got exactly the same mayhem happening on my machine too. Running with Apache 1.3.22, and php as a cgi binary. Here's the example code, commented, shows all that I've found this evening. Basically the only way I can get xslt_process() to work is using the arguments array, putting file names in with getcwd(), file://, include path just doesn't work :o( Read file'; // Get the contents of the files, // Both calls work ok. $xslData = implode('',file($xslFile)); $xmlData = implode('',file($xmlFile)); echo 'Create parser'; $hXslt = xslt_create(); echo 'Process with filenames (no path)'; // This gives me a error: // Warning: Sablotron error on line none: cannot open file // 'd:/program files/php/Php.XPathDocumentation.xml' // in e:\cvs\php.xpath\xpath-develop\doc\Php.XPathDocumentation.php on line 79 // $result contains nothing $result = xslt_process($hXslt, $xslFile, $xmlFile); echo $result; echo 'Get current working directory'; // This returns e:\cvs\php.xpath\xpath-develop\doc echo getcwd(); echo 'Use getcwd() and with filenames (no path)'; // Warning: Sablotron error on line 1: unknown encoding '' in // e:\cvs\php.xpath\xpath-develop\doc\Php.XPathDocumentation.php on line 82 // $result contains nothing $result = xslt_process($hXslt, getcwd().'\\'.$xslFile, getcwd().'\\'.$xmlFile); echo $result; echo 'Use file:// getcwd and with filenames (no path)'; // This call succeeds with no error. // $result contains the entire xml file unprocessed (whitespace trimmed). $result = xslt_process($hXslt, 'file://'.getcwd().'/'.$xslFile, 'file://'.getcwd().'/'.$xmlFile); echo $result; echo 'Use the xml and xsl as arguments'; // But this works fine and produces the transformation as I expect $arguments = array( '/_xml' => $xmlData, '/_xsl' => $xslData ); $result = xslt_process($hXslt, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); if ($result) { echo $result; } else { echo "There was an error that occurred in the XSL transformation...\n"; echo "\tError number: " . xslt_errno() . "\n"; echo "\tError string: " . xslt_error() . "\n"; exit; } echo ''; xslt_free($hXslt); ?> If you want any copies of the files that I've been using, drop me a mail. I feel fairly confident that these bugs occur regardless of the xml and xsl file, given that the final version produces exactly the expected transformed output. Nigel [2002-01-14 13:17:46] [EMAIL PROTECTED] Unless the below is a typo, it's quite logical: while (!feof ($xmlfile)) { $xml_file_contents = fgets($xmlfile, 4096); //echo $xml_file_contents; } should read: while (!feof ($xmlfile)) { /notice the dot $xml_file_contents .= fgets($xmlfile, 4096); //echo $xml_file_contents; } Unless you have an xmlfile, consisting of 1 line, smaller that 4096 bytes, $xml_file_contents, will consist of the last line only. [2002-01-14 08:21:44] [EMAIL PROTECTED] Hi, I can confrim Feddy's code works fine on Windows 2000 (thanks Freddy :), however the code I submitted earlier still produces the error so using either file or HTTP with fopen and using the array arguments of xslt_process function still produces the error. Andrew [2002-01-14 07:32:41] [EMAIL PROTECTED] On Windows 98, Apache 1.3.22, PHP 4.1.1, Sablotron 0.71, I experienced the same problem with 'xslt_process()', which I was able to solve using the 'file://' specifier: $result = xslt_process($xh, 'file://E:/Web/test.xml', 'file://E:/Web/test.xsl'); Strange enough, since the command: $result = xslt_process($xh, 'test.xml', 'test.xsl'); runs just fine on FreeBSD 4.4, Apache 1.3.22, PHP 4.1.1, Sablotron 0.71. On Windows however, the above command gives me error code 4: cannot open file 'd:/programs/apache/test.xsl' because Sablotron is looking for the xsl file in the Apache program directory. After specifying the full file name for the xsl file: $result = xslt_process($xh, 'test.xml', 'E:/Web/test.xsl'); I receive error code 63: unknown encoding '' After using the