[PHP-DOC] cvs: phpdoc /ja/chapters install.xml

2001-02-03 Thread Rui Hirokawa

hirokawaSat Feb  3 17:47:53 2001 EDT

  Modified files:  
/phpdoc/ja/chapters install.xml 
  Log:
  update translation.
  

Index: phpdoc/ja/chapters/install.xml
diff -u phpdoc/ja/chapters/install.xml:1.22 phpdoc/ja/chapters/install.xml:1.23
--- phpdoc/ja/chapters/install.xml:1.22 Tue Jan 16 06:46:06 2001
+++ phpdoc/ja/chapters/install.xml  Sat Feb  3 17:47:53 2001
@@ -358,14 +358,14 @@
 


-Compiling for OS X server
+OS X サーバでのコンパイル
 
  There are two slightly different versions of Mac OS X, client and
  server. The following is for OS X server.
 
 
  
-  Mac OS X server install
+  Mac OS X サーバでのインストール
  
  
 1. Get the latest distributions of Apache and PHP
@@ -447,7 +447,6 @@
 
   
設定オプションの完全なリスト
-

 
  
これらのオプションは、コンパイル時にのみ使用可能です。PHPの実行設
@@ -1244,7 +1243,6 @@
   
  
 
-

 

@@ -1727,8 +1725,8 @@
   
   

-PHP 3, PHP 4: make rules 
を有効にし、依存性はカジュアルインス
-トールに有用ではありません (いくらか混乱します)。
+PHP 3, PHP 4: make rules および dependencies を有効にします。
+
+一般的なインストールでは必要ありません(混乱することがあります)。

   
  
@@ -2848,29 +2846,28 @@
 
   
 
-  
-   Windows 95/98/NT システムへのインストール
+  
+   Windows 9x/Me/NT/2000システムへのインストール

-
PHPをWindowsにインストールするには、マニュアルインストールと
-installshieldインストールによる方法の2種類があります。
-
- 
-  
-   Installshield
-   に関する手順はこちらを参照下さい。
-  
- 
- 
-  
-   マニュアル設定
-   に関する手順はこちらを参照下さい。
-  
- 
-
+PHPをWindowsにインストールするには、マニュアルインストールとイ
+ンストーラInstallShieldによる方法
+の2種類があります。

+   
+Microsoft Visual 
+Studioを持っている場合、オリジナルのソースコード
+からPHPを 構築するこ
+とも可能です。
+   
+   
+
+WindowsシステムにPHPをインストールした後、機能を追加するために
+様々な拡張モジュールの
+ロードを行う可能性があります。
+   


-Windows Installshield
+Windows InstallShield
 
 
  CGIバージョンのPHPをインストールする Windows 用 
PHPインストーラが、
@@ -2879,8 +2876,8 @@
 
 
 
- 
使用するHTTPサーバーをシステムにインストールし、完全に動作するよ
- うにして下さい。
+ 
+使用するHTTPサーバーをシステムにインストールし、
+ 完全に動作するようにして下さい。
 
 
 
@@ -2909,8 +2906,8 @@

 一般的なインストール手順

- このインストール手順は、Windows 9x/NT 
WebサーバについてPHPを手動
-
でインストールし、設定を際の手助けとなるものです。この手引は、
+ このインストール手順は、Windows 
+9x/Me/NT/2000上のWebサーバにPHPを
+ 
+手動でインストールし、設定を際の手助けとなるものです。この手引は、
  &link.bob;により書かれたものです。オリジナル版は、&url.win32install;にあります。

@@ -2919,26 +2916,62 @@
  
   

-   Personal Web Server (最新版を推奨)
+   Personal Web Server 3または4以降

   
   
-  
-   Internet Information Server 3 または 4
-  
- 
- 
-  
-   Apache 1.3.x
-  
-  
- 
-  
-   Omni HTTPd 2.0b1
-  
- 
-
-   
+   
+   Internet Information Server 3 または 4以降
+   
+  
+  
+   
+   Apache 1.3.x
+   
+   
+  
+   
+   Omni HTTPd 2.0b1 以降
+   
+  
+  
+   
+Oreilly Website Pro
+   
+  
+  
+   
+Xitami
+   
+  
+ 
+
+
+ PHP 4 for Windows comes in two flavours - a CGI executable (php.exe),
+ and several SAPI modules (for exapmle php4isapi.dll). The latter form
+ is new to PHP 4, and provides significantly improved performance and
+ some new functionality. However, please note that the SAPI modules
+ are NOT yet considered to be production quality.
+ The reason for this is that the PHP SAPI modules are using the
+ thread-safe version of the PHP code, which is new to PHP 4, and has
+ not yet been tested and pounded enough to be considered completely
+ stable, and there are actually a few known bugs. On the other hand,
+ some people have reported very good results with the SAPI modules,
+ even though we're not aware of anyone actually running it on a
+ production site. In short - your mileage may vary;  If you need
+ absolute stability, trade the performance of the SAPI modules
+ with the stability of the CGI executable.
+
+
+ If you choose one of the SAPI modules and use Windows 95, be sure
+ to download the DCOM update from the http://download.microsoft.com/msdownload/dcom/95/x86/en/dcom95.exe">Microsoft
+  DCOM pages. For the ISAPI module, an ISAPI 4.0 compliant Web server
+ is required (tested on IIS 4.0, PWS 4.0 and IIS 5.0). IIS 3.0 is
+ NOT supported; You should download and
+ install the Windows NT 4.0 Option Pack with IIS 4.0 if you
+ want native PHP support.
+
 
  
以下の手順は、個々のサーバーに関する手順の前に行う全てのインストー
  ルに共通する必須のものです。
@@ -2984,25 +3017,25 @@
  
  
   
-  PHP 
実行開始時にロードしたいモジュールを選択して下さい。
-  
これらのモジュールをロードするためには、'extension=php_*.dll' の
-  行からコメントを外します。
-  
いくつかのモジュールは、正常に動作するために追加のライブラリの
-  インストールを必要とします。
-  PHP FAQには、
-  
サポート用ライブラリの在り処に関する更に詳細な情報が
-  記載されています。
-  
スクリプトの中で以下のコマンドにより動的にモジュールを
-  

[PHP-DOC] cvs: phpdoc /ja/chapters security.xml /ja/features file-upload.xml persistent-connections.xml /ja/functions array.xml calendar.xml datetime.xml image.xml pcre.xml session.xml strings.xml yaz.xml /ja/language operators.xml

2001-02-03 Thread Rui Hirokawa

hirokawaSat Feb  3 17:05:23 2001 EDT

  Modified files:  
/phpdoc/ja/chapters security.xml 
/phpdoc/ja/features file-upload.xml persistent-connections.xml 
/phpdoc/ja/functionsarray.xml calendar.xml datetime.xml image.xml 
pcre.xml session.xml strings.xml yaz.xml 
/phpdoc/ja/language operators.xml 
  Log:
  update translation.
  

Index: phpdoc/ja/chapters/security.xml
diff -u phpdoc/ja/chapters/security.xml:1.10 phpdoc/ja/chapters/security.xml:1.11
--- phpdoc/ja/chapters/security.xml:1.10Tue Jan 16 06:46:06 2001
+++ phpdoc/ja/chapters/security.xml Sat Feb  3 17:05:21 2001
@@ -81,16 +81,16 @@
role="uri">/secret/doc.html は、
CGI 
プログラムによりオープンされて実行される

ファイルの名前を指定するために従来より使用されています。
-   http://my.host/secret/script.php3
+   http://my.host/secret/script.php
のようなドキュメントへの要求を PHP 
インタプリタにリダイレクト
するために、通常、何らかの Web サーバー設定用命令(Apache 
では Action)
が使用されます。この設定により、Web 
サーバーは、まずディレクトリ 
/secret 
へのアクセス権をチェックし、
リダイレクト要求 http://my.host/cgi-bin/php/secret/script.php3
+   role="url">http://my.host/cgi-bin/php/secret/script.php

を生成します。残念なことに、リクエストが最初からこの形式で与え
られた場合、Web サーバーによるアクセスチェックは、
-   /secret/script.php3 ファイル
+   /secret/script.php ファイル
ではなく、/cgi-bin/php ファイル
に対して行われます。この手法により、/cgi-bin/php にアクセス可能なユーザーは、
@@ -123,9 +123,9 @@
   --enable-force-cgi-redirectを
  configure 
スクリプトに指定することができます。この場合でも、直接
  的な方法 http://my.host/cgi-bin/php/dir/script.php3
+ role="php">http://my.host/cgi-bin/php/dir/script.php
  でもなくリダイレクション http://my.host/dir/script.php3でもない他の
+ role="php">http://my.host/dir/script.phpでもない他の
  やり方で PHP 
スクリプトを呼び出せるようになっていないかどうか確認
  する必要があります。
 
@@ -139,7 +139,7 @@
 ケース 2: --enable-force-cgi-redirect を使用
 
  このコンパイル時のオプションは、
- http://my.host/cgi-bin/php/secretdir/script.php3
+ http://my.host/cgi-bin/php/secretdir/script.php
   のように URL から直接 PHP 
を呼び出すことを禁止します。
  代わりに、
  Web サーバーのリダイレクションにより処理された場合は、
@@ -149,8 +149,8 @@
  通常、Apache 用設定でのリダイレクションは、
  次の命令を使用して行います。
 
-Action php3-script /cgi-bin/php
-AddHandler php3-script .php3
+Action php-script /cgi-bin/php
+AddHandler php-script .php
 
 
  このオプションは、Apache Web 
サーバーでのみテストされており、リク
@@ -202,9 +202,9 @@
   user_dir です。user_dir が設定されていない場合、
  
開かれるファイル名を制御するのは、doc_root
  のみです。
- http://my.host/~user/doc.php3 のような
+ http://my.host/~user/doc.php のような
  URL 
は、ユーザーホームディレクトリ以下のファイルを開かず、
- doc_root 以下の ~user/doc.php3 
+ doc_root 以下の ~user/doc.php 
  というファイルを開くことになります。
  (ディレクトリ名がチルダ [~] で始まっている
  ということになります)
@@ -212,14 +212,14 @@
 
  user_dir が例えば、public_phpに
  設定されていた場合、
- http://my.host/~user/doc.php3 の
+ http://my.host/~user/doc.php の
  ようなリクエストは、そのユーザー user 
のホームディレクトリにある
  public_php 以下の
- doc.php3 という名前のファイルをオープンしま
+ doc.php という名前のファイルをオープンしま
  す。ユーザーのホームディレクトリが、
  /home/user である場合、
  実行されるファイルは、
- /home/user/public_php/doc.php3
+ /home/user/public_php/doc.php
  となります。
 
 
@@ -259,21 +259,6 @@
 
   
   
-  
-   最新版を維持する
-   
-
PHPは、他の大規模なシステムと同様に、常に調査、改良されています。
-
各新バージョンにはしばしばセキュリティ上の問題や設定上の問題、そし
-
て、システム全体のセキュリティや安定性に影響するその他の問題を修正
-
するためのメジャーまたはマイナーな変更が含まれています。
-   
-   
-
他のシステムレベルのスクリプト言語やプログラムと同様に、最善のアプ
-
ローチは、頻繁に更新し、最新のバージョンとその変更を注視し続けるこ
-とです。
-   
-  
-
   
Apache モジュールとしてインストール

@@ -408,7 +393,7 @@
  より安全なファイル名の確認
  
 
+?>
  
  
   
これ以前のバージョンのPHPでは、次のような処理を行う必要がありま
@@ -178,7 +178,7 @@
   
  
  
-

[PHP-DOC] cvs: phpdoc /ja/appendices debugger.xml migration4.xml

2001-02-03 Thread Rui Hirokawa

hirokawaSat Feb  3 17:04:36 2001 EDT

  Added files: 
/phpdoc/ja/appendices   migration4.xml 

  Modified files:  
/phpdoc/ja/appendices   debugger.xml 
  Log:
  added migration4.xml in japanese tree.
  

Index: phpdoc/ja/appendices/debugger.xml
diff -u phpdoc/ja/appendices/debugger.xml:1.3 phpdoc/ja/appendices/debugger.xml:1.4
--- phpdoc/ja/appendices/debugger.xml:1.3   Fri Sep 15 18:27:36 2000
+++ phpdoc/ja/appendices/debugger.xml   Sat Feb  3 17:04:36 2001
@@ -1,6 +1,16 @@
  
   PHPデバッガ
 
+  
+   デバッガについて
+   
+PHP 3 
+ではネットワーク対応のデバッガがサポーされています。
+   
+   
+PHP 4 ではまだ同様の機能はサポートされていません。
+   
+  
+
   
デバッガの使用法
 
@@ -45,12 +55,6 @@
  力を抑制しても、有効のままです。
 

-   
-
- 
現時点でデバッガ用のコードはPHP4にポートされておらず、PHP3のみが
- デバッガコードをサポートしています。
-
-   
   
   
   

Index: phpdoc/ja/appendices/migration4.xml
+++ phpdoc/ja/appendices/migration4.xml
 
  PHP 3.0からPHP 4.0への移行

  
   PHP 4.0での変更点
   
PHP 4.0 とこれに組み込まれた Zend 
エンジンは、PHPの性能と機能を大

幅に向上させますが、既存のコードへの変更は最小限ですむように多くの
考慮がなされています。このため、PHP 3.0 から 4.0 
への移行は、
PHP/FI 2.0 から PHP 3.0 
への移行と比べて非常に容易です。既存の PHP
3.0 
のコードの多くは無修正で実行可能です。しかし、実用環境でバージョ

ンを切替える際には、バージョン間の若干の差異を知り、使用するコード

について確認を行うことが必要です。以下の記述は、これらの事項につい
ていくつかの示唆を与えるものです。
   
  

  
   パーサの動作
   

パーサと実行は、二つの完全に分割されたステップになりました。ファイ

ル中のコードの実行は、ファイル全体と必要なものが全て完全にパースさ
れるまで行われません。
   
   
この分割により PHP 4では 
requireやincludeで読み込まれるファイルが
構文的に完全であることが新たに必要となっています。PHP 
4では、制御

構造の異なる制御部をファイル境界をまたいで配置することはできません。
このため、for ループまたは
whileループ、if 命令または
switchブロックをあるファイルで開始し、
else、endif,
case、break 命令を別のファイ
ルに置くことはできません。
   
   

ループまたは他の制御構造の中で追加のコードを読み込むことは、PHP
 4

では、全く問題ありません。制御用のキーワードや対応する波括弧
{...} 
だけは、同じコンパイル単位(ファイルまたは
evalされた文字列)の中に置く必要があります。
   
   

しかし、配布されているコードではこうした記法は非常に悪いスタイルで

あるとみなされているようなので、この制約の影響は大きくないはずです。
   
   
使用ができなくなった他の機能としては、PHP 3.0 
ではほとんど使用され

ていませんが、requireで読みこまれたファイルから値を返すというもの

があります。includeで読み込まれたファイルから値を返すことは 
PHP
4.0 でも可能です。
   
  

  
   エラー出力
 
   
設定変更

 PHP 3.0 
では、エラー出力レベルは異なったエラーレベルを意味する数
 
を合計した単純な数値で表されていました。よく使用されるのは、全て
 
のエラーと警告を出力する15と好ましくない形式や事項を通知するメッ
 セージ以外の全てを出力する7です。


 PHP 4.0 
では、より多くの異なったエラーおよび警告レベルを設定して
 
おり、設定ファイルにおいて意図する動作を設定するために定数シンボ
 ルを使用することが可能になっています。


 
エラー出力レベルは、出力したくないエラーメッセージの警告レベルを
 定数シンボル E_ALL 
と排他的論理和をとることに
 
より明示的に取り除くことにより指定することも可能になっています。
 解りにくいでしょうか? では、ここで定数シンボル
 E_NOTICE に分類される簡単な警告以外のエラー出
 力を行うように設定したい場合を考えます。この場合、 
 php.iniにおいて次のような指定を行います。
 error_reporting = E_ALL & ~ ( E_NOTICE )
 
ここでさらに警告の出力を行わないようにしたい場合は、次のように括
 
弧の中でバイナリまたは演算子'|'を使用して適当な定数を追加します。
 error_reporting= E_ALL & ~ ( E_NOTICE | E_WARNING
 )


 
  
従来の値7および15を使用してエラー出力を設定する方法は、パースエ
  
ラーを含む新たに追加されたエラークラスのいくつかが使用できなくな
  
るため、非常に悪い方法です。この場合、スクリプトが動作しない場合
  
でもエラーメッセージをどこにも表示しないため、非常に奇妙な動作と
  なることがあります。
 
 
  
これにより、過去において、原因を追求が困難なスクリプトエンジンの
  
問題と報告された多くの再現不可能なバグレポートが、実際には、
  requireで読み込まれたファイルにいくつかの '}' 
が足りず、エラー出
  
力の設定を誤っていたためにパーサがエラーを出力できなかったという
  ことがあります。
 
 
  
このため、スクリプトが何も出力せずに終了する場合、エラー出力設定
  をまず確認するべきです。現在のZend 
エンジンは十分に完成されてお
  り、この種の奇妙な動作を発生しません。
 

   

   
追加された警告メッセージ

 既存のPHP 
3.0コードの多くは、このコードのように非常に悪いスタイル
 
の言語構造を使用しており、意図された通りに動作している場合でも、
 他の部分を変更すると動作しなくなることがあります。PHP 
4.0は、PHP
 
3.0が出力しないような場面でも多くの通知メッセージを出力します。
 
E_NOTICEメッセージをオフにすれば簡単に修正できますが、通常は問題
 のあるコードを修正する方が良いでしょう。


 
通知メッセージが出力される場面で最も多いのが、引用符で括られてい
 
ない文字列定数を配列の添字として使用している場合です。その名前の
 キーワードまたは定数が存在しない場合、PHP 3.0 と 
4.0は共にこれら
 
を文字列として解釈し直します。しかし、そのコードのどこか他の場所
 
でその名前の定数が定義されている場合、このスクリプトは意図した通
 
りに動作しない可能性があります。これは、侵入者が文字列定数を再定
 
義して使用されるスクリプトが侵入者が有さないアクセス権を侵入者に
 
与えるようにする場合には、セキュリティのリスクとなることさえあり
 ます。そこで、PHP 4.0 では、例えば、
 $HTTP_SERVER_VARS[REQUEST_METHOD] のように引用
 
符で括られていない文字列定数を使用した場合に警告を発生するように
 なっています。これを
 $HTTP_SERVER_VARS['REQUEST_METHOD'] に変更する
 
ことにより、パーサは正常に動作し、コードのスタイルとセキュリティ
 は大幅に改善されます。


 その他、PHP 4.0 
では初期化されていない変数または配列要素を使用し
 ていることを知らせるようになっています。

   
   
  

  
   イニシャライザ
   
静的変数とクラスメンバのイニシャライザは、PHP 
3.0では有効な式なら
ばなんでも指定可能でしたが、PHP 
4.0ではスカラー値のみが指定可能で

す。これは、前記のようにパースと実行が分割されており、パーサがイニ

シャライザを処理する際にはまだコードは実行されていないためです。
   
   

クラスの場合、メンバ変数を初期化する際にはコンストラクタを使用する

べきです。静的変数の場合、単純なスカラー値以外のものに意味があるこ
とはまれです。
   
  

  
   empty("0")
   

恐らく最も動作上の問題のある変更は、emptyの動
作に関するものでしょう。文字 '0' 
(ゼロ)のみを含む文字列は、PHP 3.0
とは異なり空文字列とみなされるようになりました。
   


数値の入力が要求された場合でも全てのinputフィールドは文字列を返し、

PHPは自動的に型変換を行う機能を有しているため、この動作の変更は、

Webアプリケーションにおいて有意義なものです。しかし、一方、コード

の正常動作を阻害する可能性があり、動作の内容を知らない場合には、
原因を追求しがたい動作の不備を生じる可能性があります。
   
  

  
   廃止された関数
   
PHP 4.0 
は多くの新しい機能と拡張を導入していますが、同時にいくつか
のバージョン3.0 
の関数は廃止されています。コア関数のいくつかは、

Z

[PHP-DOC] cvs: phpdoc / global.ent /fr/functions image.xml info.xml misc.xml pcre.xml session.xml strings.xml var.xml xml.xml /fr/language variables.xml

2001-02-03 Thread Jouni Ahto

jah Sat Feb  3 16:33:29 2001 EDT

  Modified files:  
/phpdoc global.ent 
/phpdoc/fr/functionsimage.xml info.xml misc.xml pcre.xml 
session.xml strings.xml var.xml xml.xml 
/phpdoc/fr/language variables.xml 
  Log:
  
  Fixed some errors with tags in the french version. There are still a few other
  errors, someone who actually understands french, please fix them...
  nsgmls:./fr/functions/sem.xml:229:19:E: non SGML character number 146
  nsgmls:./fr/functions/sem.xml:240:40:E: non SGML character number 146
  nsgmls:./fr/functions/yaz.xml:260:55:E: non SGML character number 136
  
  
  

Index: phpdoc/global.ent
diff -u phpdoc/global.ent:1.70 phpdoc/global.ent:1.71
--- phpdoc/global.ent:1.70  Fri Jan 26 08:48:52 2001
+++ phpdoc/global.ent   Sat Feb  3 16:33:28 2001
@@ -1,10 +1,11 @@
 
+
 http://www.adabas.com/">
 http://www.adobe.com/">
 http://www.apache.org/">
Index: phpdoc/fr/functions/image.xml
diff -u phpdoc/fr/functions/image.xml:1.13 phpdoc/fr/functions/image.xml:1.14
--- phpdoc/fr/functions/image.xml:1.13  Tue Jan 30 00:45:19 2001
+++ phpdoc/fr/functions/image.xml   Sat Feb  3 16:33:28 2001
@@ -2252,8 +2252,11 @@
  }
 ?>
   
+  
  Cet exemple va afficher :
-  
+  
+  
+   
 FileName: p0001807.jpg
 FileDateTime: 929353056
 FileSize: 378599
@@ -2274,7 +2277,8 @@
 RawFocusDistance: 16.65847412
 Orientation: 1
 ExifVersion: 0200
-  
+   
+  
  
 
 
Index: phpdoc/fr/functions/info.xml
diff -u phpdoc/fr/functions/info.xml:1.9 phpdoc/fr/functions/info.xml:1.10
--- phpdoc/fr/functions/info.xml:1.9Tue Jan 30 01:05:50 2001
+++ phpdoc/fr/functions/info.xmlSat Feb  3 16:33:28 2001
@@ -998,7 +998,8 @@
  
  affichera la liste suivante :
  
-  
+  
+   
 Array
 (
 [0] => xml
@@ -1014,7 +1015,8 @@
  [10] => Calendar
  [11] => bcmath
 )
-  
+   
+  
  
 
 
@@ -1102,7 +1104,8 @@
  
  va générer l'affichage suivant :
  
-  
+  
+   
 Fichiers requis par required_once()
 Array
 (
@@ -1117,7 +1120,8 @@
 [util3] => util3.php
 [util4] => util4.php
 )
-  
+   
+  
  
 
 
Index: phpdoc/fr/functions/misc.xml
diff -u phpdoc/fr/functions/misc.xml:1.4 phpdoc/fr/functions/misc.xml:1.5
--- phpdoc/fr/functions/misc.xml:1.4Tue Jan 30 00:45:20 2001
+++ phpdoc/fr/functions/misc.xmlSat Feb  3 16:33:28 2001
@@ -326,7 +326,8 @@
 
  L'affichage devrait ressembler à ceci :
 
-
+
+ 
 Mozilla/4.5 [en] (X11; U; Linux 2.2.9 i586)
browser_name_pattern: Mozilla/4\.5.*
parent: Netscape 4.0
@@ -347,7 +348,8 @@ crawler:
authenticodeupdate:
msn:
- + + Pour fonctionner, votre configuration browscap Index: phpdoc/fr/functions/pcre.xml diff -u phpdoc/fr/functions/pcre.xml:1.13 phpdoc/fr/functions/pcre.xml:1.14 --- phpdoc/fr/functions/pcre.xml:1.13 Tue Jan 30 23:57:49 2001 +++ phpdoc/fr/functions/pcre.xmlSat Feb 3 16:33:28 2001 @@ -22,7 +22,7 @@ Exemples de masques valides - /&tl;\/\w+>/ + /<\/\w+>/ |(\d{3})-\d+|Sm /^(?i)php[34]/ {^\s+(\s+)?$} @@ -197,10 +197,12 @@ Cet exemple va afficher : - + + exemple: ,
ceci est un test
exemple: , ceci est un test - + + Ainsi, $out[0] est un tableau qui contient les résultats qui satisfont le masque complet, et $out[1] est un tableau qui contient @@ -227,10 +229,12 @@ Cet exemple va afficher : - + + exemple: , exemple:
un test
, un test - + + Dans ce cas, $matches[0] est la première série de résultat, et $matches[0][0] contient le texte qui satisfait @@ -403,10 +407,10 @@ preg_replace("/(<\/?)(\w+)([^>]*>/e", "'\\1'.strtoupper('\\2').'\\3'", $html_body); ?> + + Cela va mettre en majuscule toutes les balises HTML du texte. + - - Cela va mettre en majuscule toutes les balises HTML du texte. - Conversion HTML en texte @@ -934,7 +938,7 @@ - + PCRE propose quelques extensions aux expressions régulières du Perl. @@ -968,7 +972,7 @@ - + Index: phpdoc/fr/functions/session.xml diff -u phpdoc/fr/functions/session.xml:1.7 phpdoc/fr/functions/session.xml:1.8 --- phpdoc/fr/functions/session.xml:1.7 Fri Jan 26 06:43:31 2001 +++ phpdoc/fr/functions/session.xml Sat Feb 3 16:33:28 2001 @@ -151,7 +151,9 @@ # au c

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

2001-02-03 Thread Jouni Ahto

jah Sat Feb  3 13:55:57 2001 EDT

  Modified files:  
/phpdoc Makefile.in 
  Log:
  
  Ignore more errors from jadetex.
  
  
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.53 phpdoc/Makefile.in:1.54
--- phpdoc/Makefile.in:1.53 Sat Feb  3 13:51:07 2001
+++ phpdoc/Makefile.in  Sat Feb  3 13:55:56 2001
@@ -26,7 +26,7 @@
 # +--+
 
 #
-# $Id: Makefile.in,v 1.53 2001/02/03 21:51:07 jah Exp $
+# $Id: Makefile.in,v 1.54 2001/02/03 21:55:56 jah Exp $
 #
 
 VPATH=@srcdir@
@@ -135,8 +135,8 @@
rm manual.tex.tmp
 
-jadetex $<
-   jadetex $<
-   jadetex $<
+   -jadetex $<
+   -jadetex $<
dvipdfm -p @PDF_PAPER_TYPE@ manual.dvi
 
 html/index.html: manual.xml $(HTML_DEPS)





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

2001-02-03 Thread Jouni Ahto

jah Sat Feb  3 13:54:43 2001 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  
  Prefer OpenJade over the older Jade.
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.54 phpdoc/configure.in:1.55
--- phpdoc/configure.in:1.54Sat Feb  3 13:51:51 2001
+++ phpdoc/configure.in Sat Feb  3 13:54:42 2001
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.54 2001/02/03 21:51:51 jah Exp $
+dnl $Id: configure.in,v 1.55 2001/02/03 21:54:42 jah Exp $
 
 AC_INIT(global.ent)
 
@@ -213,18 +213,18 @@
 esac
 AC_SUBST(ENCODING)
 
-dnl look for the jade DSSSL parser
-AC_PATH_PROG(JADECHK, "jade", no)
-if test $JADECHK = "no"; then
-dnl Jade isnt present, so look for OpenJade instead
-AC_PATH_PROG(OPENJADECHK, "openjade", no)
-if test $OPENJADECHK = "no"; then
+dnl look for the OpenJade DSSSL parser
+AC_PATH_PROG(OPENJADECHK, "openjade", no)
+if test $OPENJADECHK = "no"; then
+dnl OpenJade isnt present, so look for the older Jade instead
+AC_PATH_PROG(JADECHK, "jade", no)
+if test $JADECHK = "no"; then
 AC_MSG_ERROR(unable to locate either Jade or OpenJade)
 else
-JADEPATH=$OPENJADECHK
+JADEPATH=$JADECHK
 fi
 else
-JADEPATH=$JADECHK
+JADEPATH=$OPENJADECHK
 fi
 
 case "$ENCODING" in





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

2001-02-03 Thread Jouni Ahto

jah Sat Feb  3 13:51:52 2001 EDT

  Modified files:  
/phpdoc configure.in 
  Log:
  
  Missed setting papersize option for PDF.
  
  
Index: phpdoc/configure.in
diff -u phpdoc/configure.in:1.53 phpdoc/configure.in:1.54
--- phpdoc/configure.in:1.53Thu Feb  1 06:26:03 2001
+++ phpdoc/configure.in Sat Feb  3 13:51:51 2001
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.53 2001/02/01 14:26:03 jkj Exp $
+dnl $Id: configure.in,v 1.54 2001/02/03 21:51:51 jah Exp $
 
 AC_INIT(global.ent)
 
@@ -141,10 +141,17 @@
 dnl localize paper size by language
 dnl (instead of using system-dependant default)
 case "$LANG" in
-  cs|de|hu|ja|ko) PAPER_TYPE="A4" ;;
-  *)  PAPER_TYPE="USletter" ;;
+  cs|de|hu|ja|ko)
+PAPER_TYPE="A4"
+PDF_PAPER_TYPE="a4"
+;;
+  *)
+PAPER_TYPE="USletter"
+PDF_PAPER_TYPE="letter"
+;;
 esac
 AC_SUBST(PAPER_TYPE)
+AC_SUBST(PDF_PAPER_TYPE)
 
 dnl localize order of number and element name
 dnl in some headers autogenerated by jade





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

2001-02-03 Thread Jouni Ahto

jah Sat Feb  3 13:51:07 2001 EDT

  Modified files:  
/phpdoc Makefile.in 
  Log:
  
  Must ignore errors from jadetex, it always complains about something.
  
  
Index: phpdoc/Makefile.in
diff -u phpdoc/Makefile.in:1.52 phpdoc/Makefile.in:1.53
--- phpdoc/Makefile.in:1.52 Wed Jan 31 12:20:40 2001
+++ phpdoc/Makefile.in  Sat Feb  3 13:51:07 2001
@@ -26,7 +26,7 @@
 # +--+
 
 #
-# $Id: Makefile.in,v 1.52 2001/01/31 20:20:40 jah Exp $
+# $Id: Makefile.in,v 1.53 2001/02/03 21:51:07 jah Exp $
 #
 
 VPATH=@srcdir@
@@ -134,7 +134,7 @@
sed -e '/HeadingText/,/endHeadPar/ s/_/\\137/g' manual.tex.tmp > manual.tex
rm manual.tex.tmp
 
-   jadetex $<
+   -jadetex $<
jadetex $<
jadetex $<
dvipdfm -p @PDF_PAPER_TYPE@ manual.dvi





[PHP-DOC] cvs: phpdoc /kr/functions nis.xml

2001-02-03 Thread Gwangjong Lee

vizvil  Sat Feb  3 10:25:11 2001 EDT

  Modified files:  
/phpdoc/kr/functionsnis.xml 
  Log:
  Submitted by: Gwangjong Lee(ROK) - correct some error
  
  
Index: phpdoc/kr/functions/nis.xml
diff -u phpdoc/kr/functions/nis.xml:1.4 phpdoc/kr/functions/nis.xml:1.5
--- phpdoc/kr/functions/nis.xml:1.4 Sat Feb  3 10:01:47 2001
+++ phpdoc/kr/functions/nis.xml Sat Feb  3 10:25:11 2001
@@ -4,7 +4,7 @@


 NIS (이전에는 옐로우 페이지(Yellow Pages)라고 불려졌습니다)는 
중요한 관리자용 파일(예를 들면 패스워드 파일같은)을 네트워크 
관리가 가능하도록 합니다.
-   더 이상의 정보는 NIS의 man 페이지와 Introduction to YP/NIS에 좀 더 참조할 만한 정보가 
있습니다.
+   더 이상의 정보는 NIS의 man 페이지와  
+Introduction to YP/NIS 에 좀 더 참조할 만한 정보가 있습니다.
또 Managing NFS and NIS라고 부르는 
Hal Stern의 책도 있습니다.







[PHP-DOC] cvs: phpdoc /kr/functions filesystem.xml network.xml nis.xml

2001-02-03 Thread Gwangjong Lee

vizvil  Sat Feb  3 10:01:47 2001 EDT

  Modified files:  
/phpdoc/kr/functionsfilesystem.xml network.xml nis.xml 
  Log:
  
  PR:
  Submitted by: Gwangjong Lee (ROK)
  Reviewed by:
  Obtained from:
  
  
Index: phpdoc/kr/functions/filesystem.xml
diff -u phpdoc/kr/functions/filesystem.xml:1.3 phpdoc/kr/functions/filesystem.xml:1.4
--- phpdoc/kr/functions/filesystem.xml:1.3  Mon Jan 29 22:56:04 2001
+++ phpdoc/kr/functions/filesystem.xml  Sat Feb  3 10:01:47 2001
@@ -1,6 +1,6 @@
 
-   Filesystem functions
-   Filesystem
+   파일시스템 관련함수
+   파일시스템


basename
@@ -2484,4 +2484,4 @@
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
 End:
--->
\ No newline at end of file
+-->
Index: phpdoc/kr/functions/network.xml
diff -u phpdoc/kr/functions/network.xml:1.3 phpdoc/kr/functions/network.xml:1.4
--- phpdoc/kr/functions/network.xml:1.3 Sat Feb  3 09:39:45 2001
+++ phpdoc/kr/functions/network.xml Sat Feb  3 10:01:47 2001
@@ -1,6 +1,6 @@
 
-   Network Functions
-   Network
+   네트워크 관련 함수
+   네트워크


checkdnsrr
Index: phpdoc/kr/functions/nis.xml
diff -u phpdoc/kr/functions/nis.xml:1.3 phpdoc/kr/functions/nis.xml:1.4
--- phpdoc/kr/functions/nis.xml:1.3 Sat Feb  3 09:39:45 2001
+++ phpdoc/kr/functions/nis.xml Sat Feb  3 10:01:47 2001
@@ -1,5 +1,5 @@
 
-   YP/NIS Functions
+   YP/NIS 관련 함수
YP/NIS







[PHP-DOC] cvs: phpdoc /kr/functions network.xml nis.xml

2001-02-03 Thread Gwangjong Lee

vizvil  Sat Feb  3 09:39:45 2001 EDT

  Modified files:  
/phpdoc/kr/functionsnetwork.xml nis.xml 
  Log:
  english document translated to korean by Gwangjong Lee(ROK)
  

Index: phpdoc/kr/functions/network.xml
diff -u phpdoc/kr/functions/network.xml:1.2 phpdoc/kr/functions/network.xml:1.3
--- phpdoc/kr/functions/network.xml:1.2 Fri Jan 12 06:16:40 2001
+++ phpdoc/kr/functions/network.xml Sat Feb  3 09:39:45 2001
@@ -1,214 +1,211 @@
- 
-  Network Functions
-  Network
-
-  
-   
-checkdnsrr
-
- Check DNS records corresponding to a given Internet host name or
- IP address
-
-   
-   
-Description
-
- 
-  int checkdnsrr
-  string host
-  string 
-   type
-  
- 
-
-
- Searches DNS for records of type type
- corresponding to host. Returns true if any
- records are found; returns false if no records were found or if
- an error occurred.
-
-
- type may be any one of: A, MX, NS, SOA,
- PTR, CNAME, or ANY.  The default is MX.
+
+   Network Functions
+   Network
+   
+   
+   checkdnsrr
+   
+ 인터넷 호스트 네임이나 IP 어드레스에 대응되는 DNS 
+레코드를 체크함
+
+   
+   
+   Description
+   
+   
+   int checkdnsrr
+   
+   string host
+   
+   string 
+   
+   type
+   
+   
+   
+   
+   
+   host에 대응이 되는 
+type의 레코드를 DNS에서 찾습니다. 
+   어떠한 레코드라도 발견이 되면 true를 반환합니다. 그리고 
+레코드가 발견되지 않거나 에러가 발생하면 false를 반환합니다. 
+   
+   
+   type은  A, MX, NS, SOA, PTR, 
+CNAME 중에 있거나 다른 것이 올수도 있습니다.
+   디폴트 값은  MX 입니다.
 
-
- Host may either be the IP address in
- dotted-quad notation or the host name.
+   
+   Host는 IP 
+어드레스이거나 호스트 네임이 될 수 있습니다.
 
-
- See also getmxrr,
+   
+ 참조: getmxrr,
  gethostbyaddr,
  gethostbyname,
- gethostbynamel, and the named(8) manual
- page.
+ gethostbynamel, 그리고 named(8) 지침서. 
 
-   
-  
-
-  
-   
-closelog
-Close connection to system logger 
-   
-   
-Description
-
- 
-  int closelog
-  
- 
-
-
- Closelog closes the descriptor being used to
- write to the system logger.  The use of
- closelog is optional.
-
-
- See also define_syslog_variables,
- syslog and
+   
+   
+   
+   
+   closelog
+   시스템 로그에 기록을 못하도록 
+연결을 닫습니다.
+   
+   
+   Description
+   
+   
+   int closelog
+   
+   
+   
+   
+   
+   Closelog는  정보서술자가 
+시스템 로그에 기록해 오던 것을 닫습니다.
+ closelog를 사용하는 것은 선택사항입니다. 
+
+   
+ 참조: define_syslog_variables,
+ syslog그리고 
  openlog.
 
-   
-  
-
-  
-   
-debugger_off
-Disable internal PHP debugger
-   
-   
-Description
-
- 
-  int debugger_off
-  
- 
-
-
- Disables the internal PHP debugger.  The debugger is still under
- development.
-
-   
-  
-
-  
-   
-debugger_on
-Enable internal PHP debugger
-   
-   
-Description
-
- 
-  int debugger_on
-  string address
- 
-
-
- Enables the internal PHP debugger, connecting it to
- address.  The debugger is still under
- development.
-
-   
-  
-
-  
-   
-define_syslog_variables
-Initializes all syslog related constants
-   
-   
-Description
-
- 
-  void define_syslog_varaibles
-  void
- 
-
-
- Initializes all constants used in the syslog functions.
-
-
- See also openlog,
- syslog and
+   
+   
+   
+   
+   debugger_off
+   PHP 내부 디버거 사용을 
+멈춥니다.
+   
+   
+   Description
+   
+   
+   int debugger_off
+   
+   
+   
+   
+  

[PHP-DOC] cvs: phpdoc /de/functions info.xml

2001-02-03 Thread Egon Schmid

eschmid Sat Feb  3 09:28:23 2001 EDT

  Modified files:  
/phpdoc/de/functionsinfo.xml 
  Log:
  Fix for #9087
  
Index: phpdoc/de/functions/info.xml
diff -u phpdoc/de/functions/info.xml:1.15 phpdoc/de/functions/info.xml:1.16
--- phpdoc/de/functions/info.xml:1.15   Tue Jan 16 10:42:01 2001
+++ phpdoc/de/functions/info.xmlSat Feb  3 09:28:23 2001
@@ -536,12 +536,12 @@
  maximale Ausführungszeit nicht begrenzt.
 
 
- Wenn set_time_limit aufgerufen wird, dann
- startet der Zähler neu. Das heisst, wenn die Standardeinstallung
- 30 Sekunden beträgt und auf 25 Sekunden durch ein Script
- geändert werden (wie z.B. durch set_time_limit(25), darf das
- Script 45 Sekunden laufen, bevor eine Fehlermeldung ausgegeben
- wird.
+ Wenn set_time_limit aufgerufen wird, dann
+ startet der Zähler neu. Das heisst, wenn die Standardeinstellung
+ 30 Sekunden beträgt und nach 25 Sekunden durch ein Script ein
+ Aufruf wie z.B. set_time_limit(20) erfolgt,
+ darf das Script insgesamt 45 Sekunden laufen, bevor eine
+ Fehlermeldung ausgegeben wird.
 
 
  Achtung: Wenn PHP im Safemode läuft, hat





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

2001-02-03 Thread Sebastian Bergmann

sbergmann   Sat Feb  3 03:18:32 2001 EDT

  Modified files:  
/phpdoc/de/language operators.xml 
  Log:
  Fixed post-decrement example. Thanks to [EMAIL PROTECTED]
  
Index: phpdoc/de/language/operators.xml
diff -u phpdoc/de/language/operators.xml:1.4 phpdoc/de/language/operators.xml:1.5
--- phpdoc/de/language/operators.xml:1.4Wed Jun 14 09:05:03 2000
+++ phpdoc/de/language/operators.xmlSat Feb  3 03:18:32 2001
@@ -353,7 +353,7 @@

 $a--
 Post-Dekrement
-Gibt zuerst den aktuellen Wert von $a zurück und erhöht dann den Wert 
von $a um eins.
+Gibt zuerst den aktuellen Wert von $a zurück und erniedrigt dann den 
+Wert von $a um eins.

   
  





[PHP-DOC] RE: Compressed Help Manual

2001-02-03 Thread Hojtsy Gabor

Hi!

I have corrected all the errors mentioned by Robin Bolton,
now the chm gerenator is ready to use with the new index.html
index file, and some more improvements adedd...

Please use the latest generator files to test the corrected
method... I tested it with az english manual, it work ok,
with both modes (normal, fancy).

Goba
__
Hungarian PHP Manual :: Hungarian PHP Mirror :: http://hu.php.net/
The starintg-point for Hungarian webmasters :: http://weblabor.hu/




[PHP-DOC] cvs: phpdoc / make_chm.README make_chm.bat make_chm.php make_chm_fancy.php

2001-02-03 Thread Hojtsy Gabor

gobaSat Feb  3 03:04:01 2001 EDT

  Modified files:  
/phpdoc make_chm.README make_chm.bat make_chm.php 
make_chm_fancy.php 
  Log:
  Getting ready to the new index file (index.html).
  Correcting some minor bugs.
  htmlentities() to the elements of the toctree
  Getting date into the file (eg. manual-en-20010203.chm)
  
  It should work again :)
  
  
  

Index: phpdoc/make_chm.README
diff -u phpdoc/make_chm.README:1.4 phpdoc/make_chm.README:1.5
--- phpdoc/make_chm.README:1.4  Sun Jan 14 09:05:55 2001
+++ phpdoc/make_chm.README  Sat Feb  3 03:04:01 2001
@@ -26,7 +26,8 @@
  http://snaps.php.net/manual/lang/
  and untar the distribution in a directory
   a) Build the html manual yourself using Jade and the other
- tools needed (how to do it is not in the scope of this README)
+ tools needed (look into the README or README.win32
+ file to see how to build it yourself)
  
 ===
 You need the .chm manual generator files (from cvs.php.net):
@@ -38,7 +39,7 @@
 
   make_chm_fancy.php   - Convert the normal html files to
  good looking pages and correct
- some pages (manual.html, copyright.html)
+ some pages (original index, copyright.html)
   make_chm_index_lang.html - Fancy index. I recommend you
  to use a fancy index in the language
  of the actual compiled maunal (look into
@@ -46,7 +47,7 @@
   make_chm_spc.gif - GIF file needed by the fancy pages.
   make_chm_style.css   - This adds some good style to html files.
   
-Note that  you NEED make_chm.php and make_chm.bat to make the
+Note that you NEED make_chm.php and make_chm.bat to make the
 fancy manual too!
 
 Now put the above listed make_chm_* files to one directory.
@@ -54,12 +55,12 @@
 directory (eg. html).
 
 You need to decide what method to use (normal or fancy).
-The output .chm file for the tested Hungarian version were nearly
-in the same size, the fancy manual .chm took 30k more space.
+The output .chm file for the tested English and Hungarian version
+were nearly in the same size, the fancy manual .chm took 30k more space.
 This is not significant, as the .chm files are ~1.5Megs in size.
 
 ===
-To make manual_lang.chm using the normal HTML pages:
+To make manual-lang-date.chm using the normal HTML pages:
 
 Open make_chm.bat in a text editor and set the appropriate
 environment variables. You need to
@@ -72,18 +73,21 @@
 actual manual (use the code from cvs.php.net, eg. hu)
   - set PHP_HELP_COMPILE_DIR to the directory of the
 html manual (eg. html)
+  - set PHP_HELP_COMPILE_INDEX to the index filename in
+the directory you set above. This used to be manual.html
+for a long time, but it seems it is now index.html.
 
 Now the batch file is ready to run. To compile the normal
 manual, use the 'normal' command line option (without quotes):
 
 make_chm.bat normal
 
-It will generate manual_lang.hhp, manual_lang.hhc in the
+It will generate manual-lang.hhp, manual-lang.hhc in the
 same directory, and run hhc to finalize the process
-and compile manual_lang.chm.
+and compile manual-lang-date.chm.
   
 ===
-To make manual_lang.chm using the fancy style:
+To make manual-lang-date.chm using the fancy style:
 
 See make_chm.bat and make all the modifications described above.
 One more thing you need to set here is the PHP_HELP_COMPILE_FANCYDIR
@@ -107,16 +111,16 @@
 It will generate the fancy pages in the directory you specified,
 copying in to the fancy dir
 
-  make_chm_index_lang.html as index.html,
+  make_chm_index_lang.html as fancy_index.html,
   make_chm_spc.gif as spacer.gif and
   make_chm_style.css   as style.css
   
-A date subtitution takes place when copying index.html (the
+A date subtitution takes place when copying fancy_index.html (the
 actual date will be printed inside the file), and some more
-modifications are made to manual.html and copyright.html.
+modifications are made to the original manual index and copyright.html.
   
 After that the same process is done as described above with normal pages.
-After this process, you will have manual_lang.chm in your language...
+After this process, you will have manual-lang-date.chm in your language...
 
 The fancy design improvemenets and the .css file is based on
 the newsite design(TM) work of Colin Viebrock [[EMAIL PROTECTED]] :)
Index: phpdoc/make_chm.bat
diff -u phpdoc/make_chm.bat:1.4 phpdoc/make_chm.bat:1.5
--- phpdoc/make_chm.bat:1.4 Sun Jan 14 09:05:55 2001
+++ phpdoc/make_chm.bat Sat Feb  3 03:04:01 2001
@@ -3,10 +3,22 @@
 rem !! Please read the make_chm.README file for information
 rem !! about how