Re: [PHP-DOC] the right way?
> sorry for the perhaps stupid question...:-) > > What to do if I encounter errors in the docu, I am not able to correct > myself? Writing a bug report at bugs.php.net or reporting on the list? Choose the best method. Some people use the bug system to store TODO items, as this way they can follow how those items were solved. Goba
[PHP-DOC] cvs: phpdoc /de Translators
georg Sat Jan 5 05:42:10 2002 EDT Modified files: /phpdoc/de Translators Log: net task: dio translation :-) Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.240 phpdoc/de/Translators:1.241 --- phpdoc/de/Translators:1.240 Thu Jan 3 01:19:12 2002 +++ phpdoc/de/Translators Sat Jan 5 05:42:10 2002 @@ -104,7 +104,7 @@ dbplus.xml dbx.xml Thomas Schöfbeckin Arbeit dir.xml Thomas Schuermann fertig -dio.xml +dio.xml Georg Richter in Arbeit dl.xml *** Mark Kronsbein fertig domxml.xml Sebastian Bergmann fertig dotnet.xml
[PHP-DOC] cvs: phpdoc /kr/functions oci8.xml
fuzzy74 Sat Jan 5 08:53:39 2002 EDT Modified files: /phpdoc/kr/functionsoci8.xml Log: UPDATE. new function Translated to Korean. Thank you. Index: phpdoc/kr/functions/oci8.xml diff -u phpdoc/kr/functions/oci8.xml:1.10 phpdoc/kr/functions/oci8.xml:1.11 --- phpdoc/kr/functions/oci8.xml:1.10 Wed Dec 12 15:55:07 2001 +++ phpdoc/kr/functions/oci8.xmlSat Jan 5 08:53:38 2002 @@ -1,23 +1,24 @@ + 오라클 8 함수 OCI8 - 이 함수들은 Oracle8과 Oracle7 데이터베이스에 접근할 수 있도록 해준다. - 이것은 Oracle8 Call-Interface (OCI8)를 사용한다. - 이 드라이버를 사용하려면 Oracle8 client libraries가 필요하다. +이 함수들을 통해 오라클 8과 오라클 7 데이터베이스를 +연동하여 사용한다. +Oracle8 Call-Interface (OCI8)를 사용하며, 이 함수들을 사용하려면 +오라클8 클라이언트 라이브러리(Oracle8 client libraries)가 +필요하다. - 이 드라이버는 보통의 PHP Ora_ 드라이버보다 더욱 유연하다. - 이것은 PHP의 전역, 지역 변수들의 Oracle placeholder로의 binding을 지원하고, - full LOB와 FILE, ROWID를 지원하며, user-supplied define variable을 - 사용할 수 있도록 해 준다. +이 함수는 표준 오라클 함수보다 유연하다. +PHP의 전역 변수와 지역 변수들의 오라클 위치보유자(Oracle +placeholder) +로의 연계(binding), full LOB, FILE, ROWID를 지원하며, +user-supplied define variable을 사용할 수 있도록 해 준다. - 이 드라이버를 사용하기 전에 오라클 유저와 웹서버 유저에게 - 유효한 오라클 환경변수를 적용했는지 확인해야한다. - 적용시킬 환경변수: +이 함수를 사용하기 전에 오라클 계정과 웹 데몬 계정에 +유효한 오라클 환경변수를 적용했는지 확인해야한다. +적용시킬 환경변수: @@ -52,14 +53,52 @@ - 웹서버 유저에게 환경변수를 적용한후에, - 웹서버 유저(nobody, www)를 오라클 그룹에 추가했는지 확인해야 한다. +웹서버 계정으로 위 환경변수를 적용한후에, +웹서버 계정(nobody, www)을 오라클 그룹에 추가했는지 확인해야 +한다. + +웹서버가 시작하지 않거나 시작시 제대로 작동하지 +않으면 + + 아파치가 pthread 라이브러리에 링크되어있는지 체크하라: + + + + + + + + + + libpthread가 보이지 않으면 아파치를 다시 설치해야한다 : + + + + + + + + + OCI Hints -"; + + + + See also OCIPLogon and OCINLogon. @@ -460,10 +511,10 @@ OCINLogon 오라클8 DB에 새로운 접속을 형성하고, - 로그온 한다. 세번째 인수는 로컬 오라클 인스턴스(local Oracle instanace)의 - 이름, 또는 tnsnames.ora설정파일의 엔트리(entry) 이름이 될수 있다. + 로그온 한다. 세번째 인수는 로컬 오라클 인
[PHP-DOC] cvs: phpdoc /hu/functions array.xml
pgerzsonSat Jan 5 09:01:52 2002 EDT Modified files: /phpdoc/hu/functionsarray.xml Log: sync with EN revision (example outputs within element screen) Index: phpdoc/hu/functions/array.xml diff -u phpdoc/hu/functions/array.xml:1.4 phpdoc/hu/functions/array.xml:1.5 --- phpdoc/hu/functions/array.xml:1.4 Thu Jan 3 13:33:59 2002 +++ phpdoc/hu/functions/array.xml Sat Jan 5 09:01:49 2002 @@ -1,5 +1,5 @@ - + @@ -7,25 +7,25 @@ Tömbök -Ezekkel a függvényekkel különféle módon változtathatod, befolyásolhatod -a tömböket. A tömbök elengedhetetlenek a változók sorozatának -tárolásához, rendezéséhez, igazgatásához és a változtatásához. - + Ezekkel a függvényekkel különféle módon változtathatók, módosíthatók + a tömbök. A tömbök elengedhetetlenek változók sorozatának + tárolásához, rendezéséhez, igazgatásához és azok változtatásához. + -Az egy- és többdimenziós tömböket is támogatja, amelyeket -akár "manuálisan" vagy valamilyen függvénnyel is létrehozhatsz. -Vannak bizonyos adatbázis-kezelõ függvények, amelyek adatbázis-lekérdezések -alapján töltenek fel tömböket, és vannak amelyek tömböket adnak vissza. - + A PHP az egy- és többdimenziós tömböket is támogatja, amelyeket + akár "manuálisan" vagy valamilyen függvénnyel is létrehozhatsz. + Vannak bizonyos adatbázis-kezelõ függvények, amelyek adatbázis-lekérdezések + alapján töltenek fel tömböket, és vannak amelyek tömböket adnak vissza. + Nézd át a Tömbök fejezetet, - ahol részletes leírást találsz a PHP-s tömbök megvalósításáról és mûködésérõl. + ahol részletes leírást található a PHP-s tömbök megvalósításáról és mûködésérõl. -Lásd még: is_array, explode, -implode, split -és join! - + Lásd még: is_array, explode, + implode, split + és join! + @@ -90,8 +90,8 @@ Automatikus indexelés az array "függvénnyel" @@ -312,9 +312,19 @@ - + + + A fenti példa kiírja: + + + + @@ -350,17 +360,17 @@ array_diff példa -Ez azt eredményezi, hogy a $result értéke -array ("kék"); lesz. Az $array1 -ben elõforduló -többszörös értékeket ugyanúgy kezeli a függvény. +Ez azt eredményezi, hogy a $eredmeny értéke +array ("kék"); lesz. Az $tomb1-ben +elõforduló többszörös értékeket ugyanúgy kezeli a függvény. @@ -427,18 +437,36 @@ $tomb1 = array ("a"=>1, "b"=>2, "c"=>3, "d"=>4, "e"=>5); $tomb2 = array (6, 7, 8, 9, 10, 11, 12); -$paratlanok = array_filter($tomb1, "paratlan"); -$parosok= array_filter($tomb2, "paros"); -]]> - +echo "Páratlan számok:\n"; +print_r(array_filter($tomb1, "paratlan")); +echo "Páros számok:\n"; +print_r(array_filter($tomb2, "paros")); +]]> + + +A fenti program kimenete: + + + + - -Ezután a $paratlan tömb így fog kinézni: -array ("a"=>1, "c"=>3, "e"=>5);, -a $paros pedig így: -array (6, 8, 10, 12);, - ¬e.func-callback; Lásd még: array_map és @@ -485,8 +513,8 @@ array_flip példa @@ -496,11 +524,23 @@ array_flip példa az (érték)ütközésre - +$atalakitva = array ("a" => 1, "b" => 1, "c" => 2); +$atalakitva = array_flip ($atalakitva); +print_r($atalakitva); +]]> + + + most $atalakitva értéke: + + + + @@ -533,19 +573,25 @@ + + most $a-ban a következõ elemek vannak + (print_r): + + + + @@ -581,17 +627,25 @@ array_intersect példa - +$tomb1 = array ("a" => "zöld", "vörös", "kék", "vörös"); +$tomb2 = array ("b" => "zöld", "sárga", "piros"); +$eredmeny = array_intersect ($tomb1, $tomb2); +]]> + + + Ez a $eredmeny tömbben a következõ értékeket képezi: + + + + - - Ez a $result tömbben az array ("a" - => "zöld", "piros"); értéket eredményezi. - Két elem akkor és csakis akkor tekinthetõ egyenlõnek, ha @@ -690,15 +744,38 @@ + + A fenti program kimenete: + + + + @@ -771,13 +848,24 @@ $b = array_map("kob", $a); ]]> + + Így a $b tömb értéke: + + + + - Így a $b tömb értéke - array (1, 8, 27, 64, 125); lesz. - - array_map - több tömb használata @@ -794,54 +882,58 @@ $b = array("uno", "dos", "tres", "cuatro", "cinco"); $c = array_map("ird_spanyolul", $a, $b); - print_r($c); -// kiírja, hogy: -// Array -// ( -// [0] => A(z) 1 spanyolul: uno -// [1] => A(z) 2 spanyolul: dos -// [2] => A(z) 3 spanyolul: tres -// [3] => A(z) 4 spanyolul: cuatro -// [4] => A(z) 5 spanyolul: cinco -// ) - $d = array_map("osszere
[PHP-DOC] cvs: phpdoc /hu/functions math.xml
pgerzsonSat Jan 5 09:02:31 2002 EDT Modified files: /phpdoc/hu/functionsmath.xml Log: sync with EN revision Index: phpdoc/hu/functions/math.xml diff -u phpdoc/hu/functions/math.xml:1.10 phpdoc/hu/functions/math.xml:1.11 --- phpdoc/hu/functions/math.xml:1.10 Fri Dec 21 11:54:40 2001 +++ phpdoc/hu/functions/math.xmlSat Jan 5 09:02:31 2002 @@ -1,5 +1,5 @@ - + Matematikai függvények @@ -1359,6 +1359,9 @@ Az arg négyzetgyökét adja vissza. + + Lásd még: pow! +
[PHP-DOC] cvs: phpdoc /hu/language basic-syntax.xml
pgerzsonSat Jan 5 09:03:35 2002 EDT Modified files: /phpdoc/hu/language basic-syntax.xml Log: sync with EN revision Index: phpdoc/hu/language/basic-syntax.xml diff -u phpdoc/hu/language/basic-syntax.xml:1.10 phpdoc/hu/language/basic-syntax.xml:1.11 --- phpdoc/hu/language/basic-syntax.xml:1.10Sat Dec 15 09:49:54 2001 +++ phpdoc/hu/language/basic-syntax.xml Sat Jan 5 09:03:35 2002 @@ -1,5 +1,5 @@ - + @@ -7,20 +7,27 @@ Escape szekvencia HTML-ben - - - Amikor a PHP elkezd feldolgozni egy állományt, a karaktereket - egyszerûen kiírja a kimenetre. Tehát ha egy HTML állományt - átnevezel úgy, hogy .php kiterjesztést adsz annak, akkor - az továbbra is mûködni fog. - - - Ha PHP utasításokat szeretnél beszúrni valahol az állományodba, - meg kell jelölnöd azt a szakaszt a PHP számára, hogy el - tudja kezdeni a parancsok végrehajtását. Ezt négyféleképpen - teheted meg: - + +Amikor a PHP feldolgoz egy fájlt, akkor egyszerûen a kimenetre másol minden +karaktert, amíg nem találkozik valamelyik speciális jelöléssel (lásd alább!), +amelyet PHP kódrészlet kezdeteként értelmez. Ekkor a PHP futtatni kezdi +a zárójelölésig található összes kódot. Ezzel a mûködési elvvel lehet könnyen +HTML oldalakba elhelyezni PHP kódot, mivel mindent, ami a PHP nyitó- és +zárójelölésein kívül esik, teljes mértékben békénhagy, és csak ezeken belüli +tartalmat értelmezi programkódként. + + + +Négyféle jelöléssel lehet az állomány bizonyos részeit PHP kódként +megjelölni. Ezek közül csak kettõ használható bármilyen esetben: + and , +a másik kettõ ki és bekapcsolható a php.ini +konfigurációs fájlban. Bár a rövid vagy az ASP-stílusú formák kényelmesnek +tûnnek, egyszersmind kevésbé hordozhatók, mint a hosszabb változatok. +Emellett, ha XML vagy XHTML fájlokba kell PHP kódot illeszteni, azt csak + alakkal lehet - igazodva az XML ajánláshoz. + @@ -46,7 +53,7 @@ Az elsõ lehetõség csak akkor elérhetõ, ha a rövid tag-ek - engedélyezve vannak. Engedélyezhetjük a + engedélyezve vannak. Engedélyezhetjük - PHP 3-ban - +short_tags függvényhívással, a short_open_tag beállítással a PHP konfigurációs fájlban, vagy a PHP fordításánál a configure program @@ -59,8 +66,7 @@ - A negyedik mód csak akkor elérhetõ, ha az ASP-stílusú tagek - engedélyezve vannak az asp_tags + A negyedik mód csak akkor elérhetõ, ha az ASP-stílusú jelölés is engedélyezve +van az asp_tags konfigurációs beállítással. @@ -69,8 +75,9 @@ - A lezárótag magában foglalja a taget közvetlenül követõ - újsort karaktert, ha van ilyen. + A lezárójelölés magában foglalja a jelölést közvetlenül követõ újsort + karaktert, ha van ilyen, emellett a PHP blokk utolsó sorát lezáró + pontosvesszõt (;). @@ -86,9 +93,11 @@ ]]> - Ez a várakozásoknak megfelelõen mûködik, mivel a PHP a HTML - blokkokat echo utasítások sorozatának - tekinti. + Ez a várakozásoknak megfelelõen mûködik, mivel a PHP + ?> lezáró + jelölést követõen mindent átmásol a kimenetre, amíg egy újabb nyitó jelöléssel. +A fenti példa természtesen mondvacsinált, de nagy méretû szövegblokkok kiíratásakor + hatékonyabbnak bizonyulhat ideiglenesen elhagyni a PHP módot, mint mindezt a +szöveget echo, +print vagy ehhez hasonló függvényekkel kiíratni.
Re: [PHP-DOC] the right way?
>> sorry for the perhaps stupid question...:-) >> >> What to do if I encounter errors in the docu, I am not able to correct >> myself? Writing a bug report at bugs.php.net or reporting on the list? > Choose the best method. Some people use the bug system to store > TODO items, as this way they can follow how those items were solved. > Goba Thanks. I think you got the point of my question. Friedhelm
Re: [PHP-DOC] the right way?
>> > You can do both, or, if you feel comfortable, you could apply > for cvs access to fix the bugs. :) >> >> > James Cox >> >> Oh, I have an cvs account for phpdoc. But I was talking about > errors, >> I am not able to fix myself :-) and therefore my cvs account > doesn`t >> seem to help too much. > Please report it on this mailing list. I need only the first ten > error lines and I or someone else can correct it. Sorry for the somewhat misleading wording of my question. I didn`t refer to xml-generating errors. I had more common "errors" in mind like rendering issues (dsl-related), for example. Goba already answered my question. Thanks. Friedhelm
[PHP-DOC] Hello ...
I would like to help u in translating php docs to russian. alex. (> Why there is no manuls in Russian? > There are polish, hungarian etc ... but no russian. > > There is a large russian community of programmers that would be more than > happy to get theese ducuments in their language. Well, if someone can volunteer to help working on the Russian translation, it would come up more quickly. One or two people are working on it currently. They cannot do everything alone... Contact [EMAIL PROTECTED] if you would like to volunteer in translating. Goba [one [EMAIL PROTECTED]])
[PHP-DOC] Bug #14873: docu of ob_gzhandler not uptodate
From: [EMAIL PROTECTED] Operating system: all PHP version: 4.1.0 PHP Bug Type: Documentation problem Bug description: docu of ob_gzhandler not uptodate Documentation sais, that ob_gzhandler() needs 1 parameter, but in reality it needs 2. I assume, that this second param was added in 4.1.0. -- Edit bug report at: http://bugs.php.net/?id=14873&edit=1
[PHP-DOC] cvs: phpdoc /ja/language types.xml
fujimotoSat Jan 5 10:16:28 2002 EDT Modified files: /phpdoc/ja/language types.xml Log: Eliminate tags in CDATA sections (as en did). Index: phpdoc/ja/language/types.xml diff -u phpdoc/ja/language/types.xml:1.16 phpdoc/ja/language/types.xml:1.17 --- phpdoc/ja/language/types.xml:1.16 Fri Dec 14 11:22:11 2001 +++ phpdoc/ja/language/types.xmlSat Jan 5 10:16:28 2002 @@ -1,4 +1,5 @@ + 型 @@ -163,10 +164,10 @@ 制御構造にその結果を渡 します。 - -if ($action == "show_version") // == は、boolean型を返す - // 演算子 + @@ -808,22 +810,25 @@ - -$fruits = array( 'strawberry' => 'red' , 'banana' => 'yellow' ); -echo "A banana is $fruits[banana]."; // シングルクオートの外では動作が異なることに注意してください。 - // $foo[bar]を参照してください。 -echo "This square is $square->width meters broad."; -echo "This square is $square->width00 centimeters broad."; // 動作しません。 - // 解決策については、複雑な構文を参照下さい。 + - @@ -845,24 +850,28 @@ 以下のいくつかの例を見ると理解しやすくなるでしょう。 - + + + --> @@ -884,10 +893,10 @@ 複数のstringの例 - - -// empty array -$empty = array(); -]]> @@ -1370,14 +1378,15 @@ コレクション -foreach ( $colors as $key => $color ) { + @@ -1396,8 +1406,9 @@ 1から始まる添字 + 配列に代入する -// ディレクトリから全てのアイテムを配列に代入する -$handle = opendir('.'); -while ($file = readdir($handle)) + @@ -1430,8 +1444,10 @@ 配列のソート -sort($files); -print_r($files); + @@ -1441,23 +1457,24 @@ 再帰および多次元配列 -$fruits = array ( "fruits" => array ( "a" => "orange" - , "b" => "banana" - , "c" => "apple" +
[PHP-DOC] cvs: phpdoc /pl/functions math.xml
slawek Sat Jan 5 10:31:25 2002 EDT Modified files: /phpdoc/pl/functionsmath.xml Log: Updated to EN 1.64 Index: phpdoc/pl/functions/math.xml diff -u phpdoc/pl/functions/math.xml:1.5 phpdoc/pl/functions/math.xml:1.6 --- phpdoc/pl/functions/math.xml:1.5Thu Dec 20 07:47:02 2001 +++ phpdoc/pl/functions/math.xmlSat Jan 5 10:31:25 2002 @@ -1,6 +1,6 @@ - - + + Funkcje Matematyczne Math @@ -584,7 +584,30 @@ - + + + +expm1 + + Zwraca exp(liczba) - 1, obliczon± w taki sposób, ¿e warto¶æ jest dok³adna, + nawet je¶li liczba jest bliska zeru + + + +Opis + + + float expm1 + float liczba + + + &warn.experimental.func; + + &warn.undocumented.func; + + + + floor @@ -602,9 +625,18 @@ Zwraca najbli¿sz± liczbê ca³kowit±, mniejsz± lub równ± podanemu arumentowi liczba. Zwracana przez funkcjê floor warto¶æ jest nadal typu - float gdy¿ zakres tego typu jest zwykle wiêkszy ni¿ zakres + float poniewa¿ zakres tego typu jest zwykle wiêkszy ni¿ zakres typu int. + + przyk³ad zastosowania floor + + + + Zobacz te¿ ceil i round. @@ -682,6 +714,29 @@ + + + +hypot + + Zwraca sqrt( num1*num1 + num2*num2) + + + +Opis + + + float hypot + float num1 + float num2 + + +&warn.experimental.func; + + &warn.undocumented.func; + + + @@ -741,6 +796,29 @@ + + + +log1p + +Zwraca log(1 + liczba), obliczony w taki sposób, ¿e warto¶ci s± dok³adne, +nawet, je¶li liczba jest bliska zeru + + + +Opis + + + float log1p + float liczba + + +&warn.experimental.func; + + &warn.undocumented.func; + + + @@ -1123,7 +1201,7 @@ Parê przyk³adów z pow - +
[PHP-DOC] cvs: phpdoc /it/functions math.xml
cortesi Sat Jan 5 10:45:22 2002 EDT Modified files: /phpdoc/it/functionsmath.xml Log: syncing with EN Index: phpdoc/it/functions/math.xml diff -u phpdoc/it/functions/math.xml:1.19 phpdoc/it/functions/math.xml:1.20 --- phpdoc/it/functions/math.xml:1.19 Mon Dec 17 09:45:03 2001 +++ phpdoc/it/functions/math.xmlSat Jan 5 10:45:22 2002 @@ -1,5 +1,5 @@ - + Funzioni Matematiche Mat @@ -1422,6 +1422,9 @@ Restituisce la radice quadrata di arg. + + + Vedere anche pow.
[PHP-DOC] cvs: phpdoc /pl/chapters install.xml
slawek Sat Jan 5 11:03:01 2002 EDT Modified files: /phpdoc/pl/chapters install.xml Log: bzip2 to bz2, it's makeable now. Index: phpdoc/pl/chapters/install.xml diff -u phpdoc/pl/chapters/install.xml:1.10 phpdoc/pl/chapters/install.xml:1.11 --- phpdoc/pl/chapters/install.xml:1.10 Sat Dec 22 12:19:29 2001 +++ phpdoc/pl/chapters/install.xml Sat Jan 5 11:03:01 2002 @@ -1,6 +1,6 @@ - + Instalacja @@ -2368,7 +2368,7 @@ - + --with-bz2[=DIR]
[PHP-DOC] cvs: phpdoc /ja/faq installation.xml
fujimotoSat Jan 5 11:34:46 2002 EDT Modified files: /phpdoc/ja/faq installation.xml Log: translation updated. Index: phpdoc/ja/faq/installation.xml diff -u phpdoc/ja/faq/installation.xml:1.3 phpdoc/ja/faq/installation.xml:1.4 --- phpdoc/ja/faq/installation.xml:1.3 Wed Dec 12 15:52:29 2001 +++ phpdoc/ja/faq/installation.xml Sat Jan 5 11:34:45 2002 @@ -1,5 +1,5 @@ - + インストール インストール @@ -303,6 +303,28 @@ 一杯にHTML(phpinfo関数の出力)が表示された場 合にはPHPは問題なく動作していますので、問題はウェブサーバの設定 にあるはずです。再度入念にチェックしてみて下さい。 + + + + + + + + +PHPをインストールするまではエラーもなく問題なく進んだのですが、 + apacheを起動させようとするとundefined +symbolエラーが発生します: + +[mybox:user /src/php4] root# apachectl configtest + apachectl: /usr/local/apache/bin/httpd Undefined symbols: + _compress + _uncompress + + + + + + +これは、PHPとは関係なくMySQLクライアントライブラリの問題です。 + このライブラリのうちある種のものは --with-zlib +を必要とし、 + 他のものは必要としません。こ問題はMySQL +FAQでも扱われています。
[PHP-DOC] cvs: phpdoc /kr/appendices commandline.xml
fuzzy74 Sat Jan 5 11:48:51 2002 EDT Added files: /phpdoc/kr/appendices commandline.xml Log: add commandline.xml to phpdoc kr Translate. Index: phpdoc/kr/appendices/commandline.xml +++ phpdoc/kr/appendices/commandline.xml Using PHP from the command line The command line options of the PHP executable are useful if you would like to debug or test your PHP setup, but they can also be handy, if you would like to use PHP for a different purpose than web scripting. Note, that you can always direct the output of the PHP executable to an external file with the > character, so php -q test.php > test.html will print out the output of test.php without HTTP headers to the test.html file in the same directory. You can only use these command line options if you have the PHP executable. If you built the server module version, and you have no CGI version available on your machine, than you have no chance to use these options. For Windows users both the PHP executable and the server modules are in the binary package, the executable is named php.exe. This list of command line options is consistent with PHP 4.0.6. You can get the actual list and some one line descriptions with the -h option. The output of php -h should be something like this: Here we list some of the most important command line options with detailed explanations. Command line options Option Description -q Suppress HTTP headers output. Normally PHP prints out HTTP headers for the calling program (ie. webserver) to hand on to the browser. When writing command line applications these headers are useless. -s Display the color highlighted source of the file given with its name. This is the same as if you were printing out the source using the highlight_file function in a PHP script. -f Parse the file given, and search for syntactical and fatal errors. This option implies -q. Use for debugging purposes. -v By calling PHP with this option, you can ask it to print out its version number, ie: 4.0.6. -C Normally PHP changes the working directory to the running scripts direcrory. This makes it possible for example, to open files in the same directory, with only specifying the name of the file. If you would like to disable this directory change, use this option. -c Using this option, you can specify an alternative php.ini path, so PHP will search your configurations file in this path instead of the default one. -d With this option, you can set individual php.ini settings in the time of running a script. -l Check the file given for syntax errors. This option implies -q. Use for debugging purpouses. This option won't find fatal errors (like undefined functions). Use -f if you would like to test for fatal errors too. -m Using this option, PHP prints out the built in (and loaded) PHP and Zend modules, the PHP and Zend version numbers, and a short Zend copyright notice. -i This command line option calls phpinfo, and prints out the results. If PHP is not working well, it is advisable to make a php -i and see if any error messages are printed out before or in place of the information tables. -h With this option, you can get information about the actual list of command line options and some one line descriptions about what they do. The PHP executable can be used to run PHP scripts absolutely independent from the web server. If you are on a Unix system, you should add a special first line to your PHP script, and make it executable, so the system will know, what program should run the script. On a Windows platform you can associate php.exe -q with the double click option of the .php files, or you can make a batch file to run the script through PHP. The first line added to the script to work on Unix won't hurt on Windows, so you can write cross platform programs this way. A simple example of writing a command line PHP program can be found below. Script intended to be run from command line (script.php) In the script above, we used the special first line to indicate, that this file should be run by PHP and should not print out HTTP headers. There are two variables you can use while writing
[PHP-DOC] cvs: phpdoc /it translation.xml
cucinatoSat Jan 5 11:59:08 2002 EDT Modified files: /phpdoc/it translation.xml Log: Assigned com.xml Index: phpdoc/it/translation.xml diff -u phpdoc/it/translation.xml:1.5 phpdoc/it/translation.xml:1.6 --- phpdoc/it/translation.xml:1.5 Fri Dec 21 07:41:56 2001 +++ phpdoc/it/translation.xml Sat Jan 5 11:59:08 2002 @@ -34,12 +34,13 @@ + + -
[PHP-DOC] cvs: phpdoc /kr/features safe-mode.xml
fuzzy74 Sat Jan 5 12:03:15 2002 EDT Added files: /phpdoc/kr/features safe-mode.xml Log: add file safe-mode.xml to Korean Translate Docs. Index: phpdoc/kr/features/safe-mode.xml +++ phpdoc/kr/features/safe-mode.xml Safe Mode The PHP safe mode is an attempt to solve the shared-server security problem. It is architecturally incorrect to try to solve this problem at the PHP level, but since the alternatives at the web server and OS levels aren't very realistic, many people, especially ISP's, use safe mode for now. The configuration directives that control safe mode are: When safe_mode is on, PHP checks to see if the owner of the current script matches the owner of the file to be operated on by a file function. For example: Running this script.php results in this error when safe mode is enabled: If instead of safe_mode, you set an open_basedir directory then all file operations will be limited to files under the specified directory For example (Apache httpd.conf example): If you run the same script.php with this open_basedir setting then this is the result: You can also disable individual functions. If we add this to our php.ini file: Then we get this output: Functions restricted/disabled by safe mode This is a still probably incomplete and possibly incorrect listing of the functions limited by safe mode. Safe mode limited functions Function Limitations dbmopen &sm.uidcheck; dbase_open &sm.uidcheck; filepro &sm.uidcheck; filepro_rowcount &sm.uidcheck; filepro_retrieve &sm.uidcheck; ifx_* sql_safe_mode restrictions, (!= safe mode) ingres_* sql_safe_mode restrictions, (!= safe mode) mysql_* sql_safe_mode restrictions, (!= safe mode) pg_loimport &sm.uidcheck; posix_mkfifo &sm.uidcheck.dir; putenv Obeys the safe_mode_protected_env_vars and safe_mode_allowed_env_vars ini-directives. See also the documentation on putenv move_uploaded_file &sm.uidcheck; chdir &sm.uidcheck.dir; dl &sm.disabled; backtick operator &sm.disabled; shell_exec (functional equivalent of backticks) &sm.disabled; exec You can only execute executables within the safe_mode_exec_dir. For practical reasons it's currently not allowed to have .. components in the path to the executable. system You can only execute executables within the safe_mode_exec_dir. For practical reasons it's currently not allowed to have .. components in the path to the executable. passthru You can only execute executables within the safe_mode_exec_dir. For practical reasons it's currently not allowed to have .. components in the path to the executable. popen You can only execute executables within the safe_mode_exec_dir. For practical reasons it's currently not allowed to have .. components in the path to the executable. mkdir &sm.uidcheck.dir; rmdir &sm.uidcheck; rename &sm.uidcheck; &sm.uidcheck.dir; unlink &sm.uidcheck; &sm.uidcheck.dir; copy &sm.uidcheck; &sm.uidcheck.dir; (on source and target) chgrp &sm.uidcheck; chown &sm.uidcheck; chmod &sm.uidcheck; In addition, you cannot set the SUID, SGID and sticky bits touch &sm.uidcheck; &sm.uidcheck.dir; symlink &sm.uidcheck; &sm.uidcheck.dir; (note: only the target is checked) link &sm.uidcheck; &sm.uidcheck.dir; (note: only the target is checked) getallheaders In safe mode, headers beginning with 'authorization' (case-insensitive) will not be returned. Warning: this is broken with the aol-server implementation of getallheaders! Any function that uses
Re: [PHP-DOC] cvs: phpdoc /kr/functions crack.xml cybermut.xml cyrus.xml dbplus.xml dbx.xml dio.xml dotnet.xml fbsql.xml fribidi.xml iconv.xml iisfunc.xml ircg.xml java.xml mailparse.xml mbstring.xml ming.xml msession.xml muscat.xml ncurses.xml notes.xml overload.xml pcntl.xml printer.xml qtdom.xml vpopmail.xml w32api.xml xmlrpc.xml zip.xml
Could you please *first* translate the things and then import them? 650k import/commits is in any way rather tough, but when it is just a copy of the english man it doesnt make sense. During the building process all missing files in a translated directory are automatically taken from the English manual. thx and best regards -moh Jin Tae-Young wrote: > > fuzzy74 Sat Jan 5 12:01:29 2002 EDT > > Added files: > /phpdoc/kr/functionscrack.xml cybermut.xml cyrus.xml dbplus.xml > dbx.xml dio.xml dotnet.xml fbsql.xml > fribidi.xml iconv.xml iisfunc.xml ircg.xml > java.xml mailparse.xml mbstring.xml ming.xml > msession.xml muscat.xml ncurses.xml notes.xml > overload.xml pcntl.xml printer.xml qtdom.xml > vpopmail.xml w32api.xml xmlrpc.xml zip.xml > Log: > add function files to korean translate docs > > > > > >fuzzy74-20020105120129.txtName: fuzzy74-20020105120129.txt > Type: Plain Text (text/plain)
[PHP-DOC] Bug #14009 Updated: ICAP link broken
ID: 14009 Updated by: georg Reported By: [EMAIL PROTECTED] Old Status: Assigned Status: Closed Bug Type: Documentation problem Operating System: n/a PHP Version: 4.0.6 Assigned To: georg New Comment: Icap library is no longer supported and available. Icap extension will be removed in near future. (deprecated) Added a note into docu. Previous Comments: [2001-11-26 05:15:44] [EMAIL PROTECTED] You can only remove the documentation for icap, after removal of the source. The authors are Mark Musone and Chuck Hagenbuch. Ask them first or start a discussion at php-dev. [2001-11-26 00:30:37] [EMAIL PROTECTED] Seems like ICAP is now part of MCAL. I will check it within next days. [2001-11-10 13:52:03] [EMAIL PROTECTED] OK, I have seen that http://www.icap.org/ is also not correct. Than what we should write there. Anybody know the correct address? [2001-11-10 13:46:42] [EMAIL PROTECTED] url.icap "http://icap.chek.com/"; does not work. Noone responded to my post at phpdoc list, so I put it here :-)) Edit this bug report at http://bugs.php.net/?id=14009&edit=1
[PHP-DOC] cvs: phpdoc /en/functions icap.xml
georg Sat Jan 5 12:32:27 2002 EDT Modified files: /phpdoc/en/functionsicap.xml Log: set icap to deprecated. Added a note, that icap will no longer supported and removed in near future. Index: phpdoc/en/functions/icap.xml diff -u phpdoc/en/functions/icap.xml:1.16 phpdoc/en/functions/icap.xml:1.17 --- phpdoc/en/functions/icap.xml:1.16 Sat Dec 15 09:57:56 2001 +++ phpdoc/en/functions/icap.xmlSat Jan 5 12:32:27 2002 @@ -1,16 +1,22 @@ - + - ICAP Functions + ICAP Functions [deprecated] ICAP - To get these functions to work, you have to compile PHP with --with-icap. That requires the -icap library to be installed. Grab the latest version from &url.icap; and compile and install it. - +icap library to be installed, which is not longer supported and available. + + + + Icap will be removed in near future. Neither this module, nor + those versions of icap library are supported any longer. If you + want to use calendar capabilites in php, use mcal instead. + +
Re: [PHP-DOC] cvs: phpdoc /kr/functions crack.xml cybermut.xml cyrus.xml dbplus.xml dbx.xml dio.xml dotnet.xml fbsql.xml fribidi.xml iconv.xml iisfunc.xml ircg.xml java.xml mailparse.xml mbstring.xml ming.xml msession.xml muscat.xml ncurses.xml notes.xml overload.xml pcntl.xml printer.xml qtdom.xml vpopmail.xml w32api.xml xmlrpc.xml zip.xml
Richard Samar wrote: > Could you please *first* translate the things and then import > them? 650k import/commits is in any way rather tough, but when > it is just a copy of the english man it doesnt make sense. > During the building process all missing files in a translated > directory are automatically taken from the English manual. even worse: untranslated files in translation trees tend to get out of sync with the english originals see "Information for Translators" in phpdoc/howto/howto.html.tar.gz, especialy Section 9.1: [...] * Copy over files from the English tree and start to work on them, ! ->(do not check in untranslated files) <- ! and rerun configure each time you add a file. See the section about revision tracking for help about how can you ease your work of tracking the English versions, and your languages versions. [...] -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77
[PHP-DOC] cvs: phpdoc / Makefile.in
hholzgraSat Jan 5 12:42:22 2002 EDT Modified files: /phpdoc Makefile.in Log: configure.in Index: phpdoc/Makefile.in diff -u phpdoc/Makefile.in:1.79 phpdoc/Makefile.in:1.80 --- phpdoc/Makefile.in:1.79 Fri Jan 4 11:14:26 2002 +++ phpdoc/Makefile.in Sat Jan 5 12:42:22 2002 @@ -17,7 +17,7 @@ # # -# $Id: Makefile.in,v 1.79 2002/01/04 16:14:26 goba Exp $ +# $Id: Makefile.in,v 1.80 2002/01/05 17:42:22 hholzgra Exp $ # VPATH=@srcdir@ @@ -27,6 +27,7 @@ LANG=@LANG@ JADE=@JADE@ -wno-idref NSGMLS=@NSGMLS@ +PHP=@PHP@ CATALOG=@CATALOG@ @@ -42,7 +43,7 @@ HOWTO_DEPS=$(HOWTO_STYLESHEET) html-common.dsl html-locale.dsl common.dsl howto/howto.ent PRINT_DEPS=$(PRINT_STYLESHEET) common.dsl zendapi PHPWEB_DEPS=$(PHPWEB_STYLESHEET) html-common.dsl common.dsl -QUICKREF_DEPS=quickref.dsl Makefile +QUICKREF_DEPS=quickref.dsl Makefile KDEVELOP_TOC_DEPS=kdevelop_toc.dsl Makefile PALMDOCTITLE=@PALMDOCTITLE@ @@ -97,10 +98,17 @@ $(srcdir)/genfuncsummary $(PHP_SOURCE) > funcsummary.txt revcheck.html: FORCE - PHPDOCDIR=$(srcdir) php -f $(scriptdir)/revcheck.php $(LANG) > revcheck.html + PHPDOCDIR=$(srcdir) $(PHP) -f $(scriptdir)/revcheck.php $(LANG) > revcheck.html funcindex.xml: quickref.txt - php -q -d short_tags=off $(srcdir)/genfuncindex.php quickref.txt @ENCODING@ > funcindex.xml +ifeq ($(PHP),no) + @echo "WARNING: recreating the function index needs php" + @echo " which was not found by configure" + @echo " reusing old file" + touch funcindex.xml +else + $(PHP) -q -d short_tags=off $(srcdir)/genfuncindex.php quickref.txt @ENCODING@ +> funcindex.xml +endif Makefile: $(srcdir)/Makefile.in ./config.status CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status @@ -117,13 +125,14 @@ tar -cvzf $@ @MANUAL@.html html/*.html @MANUAL@.rtf @MANUAL@.txt status: ./funclist.txt - php -q $(scriptdir)/checkdoc.php > status.txt - php -q $(scriptdir)/checkdoc.php missing > missing.txt + $(PHP) -q $(scriptdir)/checkdoc.php > status.txt + $(PHP) -q $(scriptdir)/checkdoc.php missing > missing.txt summary: ./funcsummary.txt quickref: quickref.txt quickref.txt: manual.xml $(QUICKREF_DEPS) + if test ! -e funcindex.xml; then touch funcindex.xml; fi $(JADE) $(CATALOG) -d $(QUICKREF_STYLESHEET) -V nochunks -t sgml $(srcdir)/phpdocxml.dcl manual.xml | sed -e 's/ */ /g' | sort -f > quickref.txt kdevelop_toc: php.toc
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 12:44:12 2002 EDT Modified files: /phpdoc configure.in Log: makeing sure that PHP is realy available before using it in default targets in Makefile.in Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.90 phpdoc/configure.in:1.91 --- phpdoc/configure.in:1.90Fri Jan 4 11:19:01 2002 +++ phpdoc/configure.in Sat Jan 5 12:44:11 2002 @@ -1,8 +1,53 @@ +dnl $Id: configure.in,v 1.91 2002/01/05 17:44:11 hholzgra Exp $ + +dnl autoconf initialisation +AC_INIT() + + + +dnl check for support programs + +dnl check for PHP +dnl use given argument, if any, else search in path +AC_ARG_WITH(php, +[ --with-php=[PATH] Look for PHP executable needed for helper scripts], +[ + if test $withval != "yes"; then + AC_MSG_CHECKING([for php]) + if test -x $withval; then + PHP=$withval + AC_MSG_RESULT($PHP) + else + PHP=no + AC_MSG_RESULT(no) + AC_MSG_WARN([$withval: not an executable file]) + fi + else + AC_PATH_PROG(PHP,"php",no) + fi +],[ + AC_PATH_PROG(PHP,"php",no) +] +) +if test $PHP = "no"; then + AC_MSG_WARN([no PHP binary found]) +else + AC_MSG_CHECKING([php version]) + PHPVERSION=`$PHP -qv` + if test "yes" == `echo '3?"yes":"no"; ?>' | $PHP -q`; then + AC_MSG_RESULT($PHPVERSION ok) + else + AC_MSG_RESULT($PHPVERSION) + AC_MSG_WARN([PHP version 4.0.0 or newer needed]) + PHP=no + fi +fi +AC_SUBST(PHP) + + -dnl $Id: configure.in,v 1.90 2002/01/04 16:19:01 goba Exp $ -AC_INIT(global.ent) dnl AC_MSG_CHECKING(for DocBook doctype) dnl check_catalog_files() {
[PHP-DOC] cvs: phpdoc /kr/functions iconv.xml
fuzzy74 Sat Jan 5 13:36:51 2002 EDT Modified files: /phpdoc/kr/functionsiconv.xml Log: Translate to Korean. Index: phpdoc/kr/functions/iconv.xml diff -u phpdoc/kr/functions/iconv.xml:1.1 phpdoc/kr/functions/iconv.xml:1.2 --- phpdoc/kr/functions/iconv.xml:1.1 Sat Jan 5 12:01:26 2002 +++ phpdoc/kr/functions/iconv.xml Sat Jan 5 13:36:50 2002 @@ -1,33 +1,32 @@ - + iconv functions iconv -This module contains an interface to the iconv library functions. To -be able to use the functions defined in this -module you must compile you PHP interpreter using the --with-iconv -option. In order to do so, you must have iconv() function in -standard C library or libiconv installed on your system. +이 모듈은 iconv 라이브러리 함수의 인터페이스를 내포한다. +이 모듈 내에 정의된 함수를 사용하기 위해서는 +--with-iconv 옵션을 사용하여 PHP 인터프리터를 컴파일해야 한다. +그러기 위해서는, 표준 C 라이브러리에서 iconv() 함수를 갖고 +있거나 +libiconv가 설치되어 있어야 한다. libiconv library is available from &url.libiconv;. -iconv library function converts files between various encoded -character sets. The supported character sets depend on iconv() -implementation on your system. Note that iconv() function in some -system is not work well as you expect. In this case, you should -install libiconv library. +iconv 라이브러리 함수는 여러가지로 인코딩된 문자셋의 +파일들을 +변환한다. 지원되는 문자셋은 로컬 시스템 상의 iconv()함수에 +의해 +결정된다. 어떤 시스템의 iconv() 함수는 제대로 작동되지 +않을수 있다. +이 경우에는 libiconv 라이브러리를 설치해야 한다. iconv -Convert string to requested character encoding +원하는 문자 인코딩으로 변환한다 Description @@ -40,10 +39,9 @@ - It converts the string string encoded in - in_charset to the string encoded in - out_charset. It returns the converted - string or &false;, if it fails. + in_charset으로 인코드된 +string을 + out_charset으로 인코딩된 string으로 + 변환한다. 변환된 문자열을 리턴하거나, 실패하면 &false;을 +리턴한다. @@ -62,7 +60,7 @@ iconv_get_encoding - Get current setting for character encoding conversion + 문자 인코딩 변환을 위한 현재 설정 상태를 문의 @@ -76,9 +74,8 @@ - It returns the current settings of - ob_iconv_handler as array or - &false; in failure. + 배열로서 ob_iconv_handler함수의 + 현재 설정을 리턴하고, 실패하면, &false;을 리턴한다. See also: @@ -92,6 +89,7 @@ iconv_set_encoding + 문자 인코딩 변환을 설정 Set current setting for character encoding conversion @@ -105,9 +103,8 @@ - It changes the value of type to - charset and returns &true; in success or - &false; in failure. + type을 charset로 + 변경하고 성공하면 &true;를 실패하면 &false;를 리턴한다. @@ -132,7 +129,7 @@ ob_iconv_handler - Convert character encoding as output buffer handler + 출력 버퍼 핸들러로 문자 엔코딩을 변환한다 @@ -149,15 +146,14 @@ - It converts the string encoded in - internal_encoding to - output_encoding. + internal_encoding에서 인코딩된 + 문자열을 output_encoding로 변환한다. - internal_encoding and - output_encoding should be defined - by iconv_set_encoding or in - configuration file. + internal_encoding과 + output_encoding는 + iconv_set_encoding함수나 설정파일에서 + 정의되어있어야 한다.
[PHP-DOC] cvs: phpdoc /kr ¹ø¿ªÂü°¡ÀÚ¿¡°Ô
fuzzy74 Sat Jan 5 13:44:49 2002 EDT Added files: /phpdoc/kr ¹ø¿ªÂü°¡ÀÚ¿¡°Ô Log: Sorry, this is Korean Project Notify File. So, EUC-KR encoding. Çѱ۹ø¿ª Âü°¡ÀÚ²²¼´Â ÀÌ ¹®¼¸¦ ÀÐÀ¸½Ã±â ¹Ù¶ø´Ï´Ù.
[PHP-DOC] cvs: phpdoc / Makefile.in configure.in
hholzgraSat Jan 5 14:41:08 2002 EDT Modified files: /phpdoc configure.in Makefile.in Log: it is now possible to specify which jade and nsgmls binaries to use by specifying the appropriate files using the new configure options --with-jade and --with-nsgmls Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.91 phpdoc/configure.in:1.92 --- phpdoc/configure.in:1.91Sat Jan 5 12:44:11 2002 +++ phpdoc/configure.in Sat Jan 5 14:41:07 2002 @@ -1,49 +1,134 @@ -dnl $Id: configure.in,v 1.91 2002/01/05 17:44:11 hholzgra Exp $ +dnl $Id: configure.in,v 1.92 2002/01/05 19:41:07 hholzgra Exp $ dnl autoconf initialisation AC_INIT() +dnl {{{ check for support programs -dnl check for support programs +dnl {{{ check for PHP -dnl check for PHP dnl use given argument, if any, else search in path AC_ARG_WITH(php, -[ --with-php=[PATH] Look for PHP executable needed for helper scripts], +[ --with-php=PATH Look for PHP executable needed for helper scripts], [ - if test $withval != "yes"; then - AC_MSG_CHECKING([for php]) - if test -x $withval; then - PHP=$withval - AC_MSG_RESULT($PHP) - else - PHP=no - AC_MSG_RESULT(no) - AC_MSG_WARN([$withval: not an executable file]) - fi - else - AC_PATH_PROG(PHP,"php",no) + if test $withval != "yes"; then +AC_MSG_CHECKING([for php]) +if test -x $withval; then + PHP=$withval + AC_MSG_RESULT($PHP) +else + PHP=no + AC_MSG_RESULT(no) + AC_MSG_ERROR([$withval: not an executable file]) +fi + else +AC_PATH_PROG(PHP,"php",no) fi ],[ - AC_PATH_PROG(PHP,"php",no) + AC_PATH_PROG(PHP,"php",no) ] ) if test $PHP = "no"; then - AC_MSG_WARN([no PHP binary found]) + AC_MSG_WARN([no PHP binary found]) else - AC_MSG_CHECKING([php version]) - PHPVERSION=`$PHP -qv` - if test "yes" == `echo '3?"yes":"no"; ?>' | $PHP -q`; then - AC_MSG_RESULT($PHPVERSION ok) - else - AC_MSG_RESULT($PHPVERSION) - AC_MSG_WARN([PHP version 4.0.0 or newer needed]) - PHP=no - fi + AC_MSG_CHECKING([php version]) + PHPVERSION=`$PHP -qv` + if test "yes" == `echo '3?"yes":"no"; ?>' | $PHP -q`; then +AC_MSG_RESULT($PHPVERSION ok) + else +AC_MSG_RESULT($PHPVERSION) +AC_MSG_WARN([PHP version 4.0.0 or newer needed]) +PHP=no + fi fi AC_SUBST(PHP) +dnl }}} + +dnl {{{ check for the OpenJade DSSSL parser + +dnl use given argument, if any, else search in path + +AC_ARG_WITH(jade, +[ --with-jade=PATHLook for jade or openjade executable],[ + if test $withval != "yes"; then +AC_MSG_CHECKING([for jade]) +if test -x $withval; then + JADE=$withval + AC_MSG_RESULT($JADE) +else + JADE=no + AC_MSG_RESULT(no) + AC_MSG_ERROR([$withval: not an executable file]) +fi + else +if test -e ../phpdoc-tools/jade/jade.exe ; then + AC_MSG_CHECKING([for jade]) + JADE=../phpdoc-tools/jade/jade.exe + AC_MSG_RESULT($JADE) +else + AC_PATH_PROG(JADE,"openjade",no) + if test $JADE = "no"; then +AC_PATH_PROG(JADE,"jade",no) + fi +fi + fi +],[ + if test -e ../phpdoc-tools/jade/jade.exe ; then +AC_MSG_CHECKING([for jade]) +JADE=../phpdoc-tools/jade/jade.exe +AC_MSG_RESULT($JADE) + else +AC_PATH_PROG(JADE,"openjade",no) +if test $JADE = "no"; then + AC_PATH_PROG(JADE,"jade",no) +fi + fi +] +) +AC_SUBST(JADE) + +dnl }}} + +dnl {{{ check for nsgmls (for win32 plug&pray) + +AC_ARG_WITH(nsgmls, +[ --with-nsgmls=PATH Look for nsgmls executable],[ + if test $withval != "yes"; then +AC_MSG_CHECKING([for nsgmls]) +if test -x $withval; then + NSGMLS=$withval + AC_MSG_RESULT($NSGMLS) +else + NSGMLS=no + AC_MSG_RESULT(no) + AC_MSG_ERROR([$withval: not an executable file]) +fi + else +if test -e ../phpdoc-tools/jade/nsgmls.exe ; then + AC_MSG_CHECKING([for nsgmls]) + NSGMLS=../phpdoc-tools/jade/nsgmls.exe + AC_MSG_RESULT($NSGMLS) +else + AC_PATH_PROG(NSGMLS,"nsgmls",no) +fi + fi +],[ +if test -e ../phpdoc-tools/jade/nsgmls.exe ; then + AC_MSG_CHECKING([for nsgmls]) + NSGMLS=../phpdoc-tools/jade/nsgmls.exe + AC_MSG_RESULT($NSGMLS) +else + AC_PATH_PROG(NSGMLS,"nsgmls",no) +fi +] +) +AC_SUBST(NSGMLS) + +dnl }}} + +dnl }}} @@ -52,20 +137,20 @@ dnl AC_MSG_CHECKING(for DocBook doctype) dnl check_catalog_files() { dnlfor catalog in $@; do -dnl DBDT=`grep -E '^PUBLIC.*"docbook.dtd".*$' $catalog 2>/dev/null | cut -d'"' -f 2 ` -dnl if test -n "$DBDT" ; then -dnl DOCBOOK_DOCTYPE=$DBDT -dnl return 1 -dnl fi -dnl MORECATS=`grep -i '^catalog' $catalog 2>/dev/nu
Re: [PHP-DOC] cvs: phpdoc / configure.in
> Modified files: > /phpdoc configure.in > Log: > makeing sure that PHP is realy available before using > it in default targets in Makefile.in This seems to be a bit buggy: $ ./configure --with-php=c:/progra~1/#_servers/php/php.exe loading cache ./config.cache checking for php... c:/progra~1/#_servers/php/php.exe checking php version... test: ==: unknown operand 4.1.0 configure: warning: PHP version 4.0.0 or newer needed Goba
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 14:52:11 2002 EDT Modified files: /phpdoc configure.in Log: added more folding hooks Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.92 phpdoc/configure.in:1.93 --- phpdoc/configure.in:1.92Sat Jan 5 14:41:07 2002 +++ phpdoc/configure.in Sat Jan 5 14:52:11 2002 @@ -1,9 +1,8 @@ -dnl $Id: configure.in,v 1.92 2002/01/05 19:41:07 hholzgra Exp $ +dnl $Id: configure.in,v 1.93 2002/01/05 19:52:11 hholzgra Exp $ dnl autoconf initialisation AC_INIT() - dnl {{{ check for support programs dnl {{{ check for PHP @@ -130,9 +129,9 @@ dnl }}} +dnl {{{ check for DocBook stuff - - +dnl {{{ check for docbook DTD dnl AC_MSG_CHECKING(for DocBook doctype) dnl check_catalog_files() { @@ -167,7 +166,12 @@ DOCBOOK_DOCTYPE="-//Norman Walsh//DTD DocBk XML V1.4//EN" AC_SUBST(DOCBOOK_DOCTYPE) +dnl }}} + +dnl {{{ check for DSSSL stylesheets + AC_MSG_CHECKING(for docbook.dsl) + AC_ARG_WITH(dsssl, [ --with-dsssl=[DIR] Look for DSSSL stylesheets in the specified directory], [ @@ -215,9 +219,15 @@ AC_MSG_ERROR(WARNING!!! DSSSL NOT FOUND - WON'T WORK THIS WAY) fi AC_SUBST(DOCBOOK_HTML) + AC_SUBST(DOCBOOK_PRINT) +dnl }}} + +dnl {{{ check for XSLT stylesheets + AC_MSG_CHECKING(for docbook.xsl) + AC_ARG_WITH(xsl, [ --with-xsl=[URI]Look for XSL stylesheets at the specified URI], [ @@ -254,8 +264,17 @@ AC_SUBST(DOCBOOKXSL_BIGHTML) AC_SUBST(DOCBOOKXSL_HTML) AC_SUBST(DOCBOOKXSL_HTMLHELP) + AC_SUBST(DOCBOOKXSL_PRINT) +dnl }}} + +dnl }}} + +dnl {{{ check for additional docs and sources + +dnl {{{ check for PHP sourcecode + AC_MSG_CHECKING(for PHP source path) AC_ARG_WITH(source, [ --with-source=[DIR] Look at the specified source directory], @@ -271,9 +290,15 @@ AC_MSG_RESULT($PHP_SOURCE) AC_SUBST(PHP_SOURCE) PHP_BUILD_DATE=`date` + AC_SUBST(PHP_BUILD_DATE) +dnl }}} + +dnl {{{ check for ZendEngine API documentation to include + AC_MSG_CHECKING(for ZendAPI) + AC_ARG_WITH(zendapi, [ --with-zendapi=[DIR] Look for ZendAPI documentation in the specified directory], [ @@ -297,10 +322,18 @@ ZEND_FIGURES="" fi ]) + AC_MSG_RESULT($ZENDAPI) AC_SUBST(ZEND_FIGURES) +dnl }}} + +dnl }}} + +dnl {{{ language specific stuff + AC_MSG_CHECKING(for language) + AC_ARG_WITH(lang, [ --with-lang=LANGChoose a language to work with], [ @@ -365,6 +398,7 @@ AC_SUBST(PAPER_TYPE) AC_SUBST(PDF_PAPER_TYPE) + dnl localize order of number and element name dnl in some headers autogenerated by jade case "$LANG" in @@ -373,6 +407,7 @@ esac AC_SUBST(NUMBER_FIRST) + dnl optionaly reduce margins to save some trees life AC_MSG_CHECKING(for treesaving) AC_ARG_WITH(treesaving, @@ -471,8 +506,12 @@ esac AC_SUBST(SP_OPTIONS) + AC_SUBST(HTMLHELP_ENCODING) +dnl }}} + +dnl {{{ check for catalog files dnl Do something smart to find catalog-files CATALOG="" @@ -506,10 +545,9 @@ AC_SUBST(CATALOG) +dnl }}} - -dnl keep in one line for win32 -AC_OUTPUT(Makefile version.ent common.dsl howto.dsl html.dsl html-locale.dsl install.dsl print.dsl phpweb.dsl quickref.dsl manual.xml html.xsl bightml.xsl print.xsl htmlhelp.xsl) +dnl {{{ check for some common sources of trouble dnl sanity checks for SuSE 6.x if test -e /usr/share/sgml/docbk30/docbook.dcl @@ -543,6 +581,14 @@ fi fi +dnl }}} + +dnl {{{ generate output files + +dnl keep in one line for win32 +AC_OUTPUT(Makefile version.ent common.dsl howto.dsl html.dsl html-locale.dsl +install.dsl print.dsl phpweb.dsl quickref.dsl manual.xml html.xsl bightml.xsl +print.xsl htmlhelp.xsl) + +dnl {{{ generate additional entity file for translation support dnl check for files and translations, create chapter entities echo creating chapters.ent @@ -578,4 +624,11 @@ echo "" >> chapters.ent chmod a-w chapters.ent + +dnl }}} + +dnl }}} + + +
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 15:05:20 2002 EDT Modified files: /phpdoc configure.in Log: typo fix Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.93 phpdoc/configure.in:1.94 --- phpdoc/configure.in:1.93Sat Jan 5 14:52:11 2002 +++ phpdoc/configure.in Sat Jan 5 15:05:20 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.93 2002/01/05 19:52:11 hholzgra Exp $ +dnl $Id: configure.in,v 1.94 2002/01/05 20:05:20 hholzgra Exp $ dnl autoconf initialisation AC_INIT() @@ -33,7 +33,7 @@ else AC_MSG_CHECKING([php version]) PHPVERSION=`$PHP -qv` - if test "yes" == `echo '3?"yes":"no"; ?>' | $PHP -q`; then + if test "yes" = `echo '3?"yes":"no"; ?>' | $PHP -q`; then AC_MSG_RESULT($PHPVERSION ok) else AC_MSG_RESULT($PHPVERSION)
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 15:13:53 2002 EDT Modified files: /phpdoc configure.in Log: moved catalog file stuff to DocBook section removed redundant PHP_BUILD_DATE declaration Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.94 phpdoc/configure.in:1.95 --- phpdoc/configure.in:1.94Sat Jan 5 15:05:20 2002 +++ phpdoc/configure.in Sat Jan 5 15:13:53 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.94 2002/01/05 20:05:20 hholzgra Exp $ +dnl $Id: configure.in,v 1.95 2002/01/05 20:13:53 hholzgra Exp $ dnl autoconf initialisation AC_INIT() @@ -269,6 +269,42 @@ dnl }}} +dnl {{{ check for catalog files + +dnl Do something smart to find catalog-files +CATALOG="" + +dnl SuSE 6.2/6.3 need this +if test -e /usr/share/sgml/CATALOG.docbk30 +then + CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk30" +fi + +dnl For windows (and maybe *nix too?) users lacking catalog-files + +dnl jade catalog file +# how about using JADEPATH? You should replace the last 4 chars ('jade') with catalog +if test -e ../phpdoc-tools/jade/catalog +then + CATALOG="$CATALOG -c ../phpdoc-tools/jade/catalog" +fi + +dnl iso-ents catalog file +if test -e ../phpdoc-tools/iso-entities/catalog +then + CATALOG="$CATALOG -c ../phpdoc-tools/iso-entities/catalog" +fi + +dnl dsssl catalog file +if test -e ../phpdoc-tools/dsssl/docbook/catalog +then + CATALOG="$CATALOG -c ../phpdoc-tools/dsssl/docbook/catalog" +fi + +AC_SUBST(CATALOG) + +dnl }}} + dnl }}} dnl {{{ check for additional docs and sources @@ -289,9 +325,6 @@ ]) AC_MSG_RESULT($PHP_SOURCE) AC_SUBST(PHP_SOURCE) -PHP_BUILD_DATE=`date` - -AC_SUBST(PHP_BUILD_DATE) dnl }}} @@ -335,19 +368,18 @@ AC_MSG_CHECKING(for language) AC_ARG_WITH(lang, -[ --with-lang=LANGChoose a language to work with], -[ -if test "$withval" = "yes"; then -PHP_BUILD_DATE=`date '+%Y-%m-%d'` -AC_SUBST(PHP_BUILD_DATE) +[ --with-lang=LANGChoose a language to work with],[ + if test "$withval" = "yes"; then +PHP_BUILD_DATE=`date '+%Y-%m-%d'` +AC_SUBST(PHP_BUILD_DATE) - LANG=en - AC_MSG_RESULT([en (default)]) -else -if test ! -d "$srcdir/$withval"; then +LANG=en +AC_MSG_RESULT([en (default)]) + else +if test ! -d "$srcdir/$withval"; then AC_MSG_RESULT() AC_MSG_ERROR(Language \"$withval\" not supported!) - fi +fi dnl day/month/year PHP_BUILD_DATE=`date '+%d-%m-%Y'` @@ -508,42 +540,6 @@ AC_SUBST(SP_OPTIONS) AC_SUBST(HTMLHELP_ENCODING) - -dnl }}} - -dnl {{{ check for catalog files - -dnl Do something smart to find catalog-files -CATALOG="" - -dnl SuSE 6.2/6.3 need this -if test -e /usr/share/sgml/CATALOG.docbk30 -then - CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk30" -fi - -dnl For windows (and maybe *nix too?) users lacking catalog-files - -dnl jade catalog file -# how about using JADEPATH? You should replace the last 4 chars ('jade') with catalog -if test -e ../phpdoc-tools/jade/catalog -then - CATALOG="$CATALOG -c ../phpdoc-tools/jade/catalog" -fi - -dnl iso-ents catalog file -if test -e ../phpdoc-tools/iso-entities/catalog -then - CATALOG="$CATALOG -c ../phpdoc-tools/iso-entities/catalog" -fi - -dnl dsssl catalog file -if test -e ../phpdoc-tools/dsssl/docbook/catalog -then - CATALOG="$CATALOG -c ../phpdoc-tools/dsssl/docbook/catalog" -fi - -AC_SUBST(CATALOG) dnl }}}
Re: [PHP-DOC] cvs: phpdoc / Makefile.in configure.in
blame me, not only did i convert all tabs to two spaces, i also configured my .cvsrc so that 'cvs diff' won't show pure whitspace differences ... :( -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77
[PHP-DOC] cvs: phpdoc /en/functions dio.xml
georg Sat Jan 5 15:35:25 2002 EDT Modified files: /phpdoc/en/functionsdio.xml Log: completed param section for dio_fcntl Index: phpdoc/en/functions/dio.xml diff -u phpdoc/en/functions/dio.xml:1.5 phpdoc/en/functions/dio.xml:1.6 --- phpdoc/en/functions/dio.xml:1.5 Fri Jan 4 17:19:25 2002 +++ phpdoc/en/functions/dio.xml Sat Jan 5 15:35:25 2002 @@ -1,5 +1,5 @@ - + Direct IO functions DIO functions @@ -236,7 +236,7 @@ dio_fcntl -Perform a c library fcntl on fd +Performs a c library fcntl on fd Description @@ -257,11 +257,40 @@ additional arguments args to be supplied. +arg is an associative array, when +cmd is F_SETLK or F_SETLLW, with the +following keys: + + "start" - offset where lock begins + "length" - size of locked area. zero means to + end of file + "wenth" - Where l_start is relative to: can be + SEEK_SET, SEEK_END and SEEK_CUR + "type" - type of lock: can be F_RDLCK (read + lock), F_WRLCK (write lock) or F_UNLCK (unlock) + + + cmd can be one of the following operations: - + +F_SETLK - Lock is set or cleared. If the lock +is held by someone else dio_fcntl returns +-1. +F_SETLKW - like F_SETLK, but in case the lock +is held by someone else, dio_fcntl waits +until the lock is released. +F_GETLK - dio_fcntl +returns an associative array (as described above) if someone +else prevents lock. If there is no obstruction key "type" +will set to F_UNLCK. +F_DUPFD - finds the lowest numbered available +file descriptor greater or equal than +arg and returns them. + + - cmd parameters still undocumented. +
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 15:45:05 2002 EDT Modified files: /phpdoc configure.in Log: somewhat cleand up the dsssl stylesheet detection modified warning to be emitted only if neither DSSSL nor XSL stylesheets found Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.95 phpdoc/configure.in:1.96 --- phpdoc/configure.in:1.95Sat Jan 5 15:13:53 2002 +++ phpdoc/configure.in Sat Jan 5 15:45:05 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.95 2002/01/05 20:13:53 hholzgra Exp $ +dnl $Id: configure.in,v 1.96 2002/01/05 20:45:05 hholzgra Exp $ dnl autoconf initialisation AC_INIT() @@ -114,13 +114,13 @@ fi fi ],[ -if test -e ../phpdoc-tools/jade/nsgmls.exe ; then - AC_MSG_CHECKING([for nsgmls]) - NSGMLS=../phpdoc-tools/jade/nsgmls.exe - AC_MSG_RESULT($NSGMLS) -else - AC_PATH_PROG(NSGMLS,"nsgmls",no) -fi + if test -e ../phpdoc-tools/jade/nsgmls.exe ; then +AC_MSG_CHECKING([for nsgmls]) +NSGMLS=../phpdoc-tools/jade/nsgmls.exe +AC_MSG_RESULT($NSGMLS) + else +AC_PATH_PROG(NSGMLS,"nsgmls",no) + fi ] ) AC_SUBST(NSGMLS) @@ -175,51 +175,39 @@ AC_ARG_WITH(dsssl, [ --with-dsssl=[DIR] Look for DSSSL stylesheets in the specified directory], [ -if test -d "$withval" ; then - DOCBOOK_HTML=$withval/html/docbook.dsl -DOCBOOK_PRINT=$withval/print/docbook.dsl -AC_MSG_RESULT(in $withval) -fi + if test -d "$withval" ; then +DOCBOOK_HTML=$withval/html/docbook.dsl +DOCBOOK_PRINT=$withval/print/docbook.dsl +AC_MSG_RESULT(in $withval) + fi ],[ -for dir in \ - /usr/lib/sgml/stylesheet/dsssl/docbook/nwalsh \ - /usr/local/share/sgml/docbook/dsssl/modular \ - /usr/lib/dsssl/stylesheets/docbook \ - /usr/lib/dsssl/stylesheets/nwalsh-modular \ - /usr/lib/dsssl/stylesheets/docbook \ - /usr/lib/sgml/stylesheets/nwalsh-modular \ - /usr/lib/sgml/docbook\ - /usr/lib/sgml/stylesheets/docbook \ - /opt/sgml/lib/stylesheets/docbook \ - /usr/share/sgml/docbk30/dsl \ - /usr/share/sgml/docbkdsl \ - /usr/share/sgml/stylesheets/docbook \ - /usr/share/sgml/docbook/stylesheet/dsssl/modular \ - /usr/share/sgml/docbook/dsssl-stylesheets \ - /usr/local/lib/dsssl/stylesheets/docbook \ - /usr/local/lib/dsssl/stylesheets/nwalsh-modular \ - /usr/local/lib/sgml/stylesheets/docbook \ - /usr/local/lib/sgml/stylesheets/nwalsh-modular \ - /usr/local/lib/sgml/docbook \ - /usr/local/share/sgml/docbook/dsssl/modular \ - ../phpdoc-tools/dsssl/docbook \ - ../phpdoc-tools/dsssl \ - phpdoc-tools/dsssl/docbook \ - phpdoc-tools/dsssl + for dir1 in /usr/share/sgml \ + /usr/lib/sgml \ + /usr/lib/dsssl \ + /usr/local/lib/sgml \ + /usr/local/lib/dsssl \ + /opt/sgml/lib + do +for dir2 in docbook \ +docbook/dsssl-stylesheets \ +docbook/stylesheet/dsssl/modular \ +docbk30/dsl \ +docbkdsl \ +stylesheets/docbook \ +stylesheets/nwalsh-modular do - if test -f "$dir/html/docbook.dsl"; then -DOCBOOK_HTML="$dir/html/docbook.dsl" -DOCBOOK_PRINT="$dir/print/docbook.dsl" -AC_MSG_RESULT(autodetected: $dir) -break - fi + if test -f "$dir1/$dir2/html/docbook.dsl"; then +DOCBOOK_HTML="$dir1/$dir2/html/docbook.dsl" +DOCBOOK_PRINT="$dir1/$dir2/print/docbook.dsl" +AC_MSG_RESULT(autodetected: $dir1/$dir2) +break + fi done +if test ! -z "$DOCBOOK_HTML"; then break; fi + done ]) -if test -z "$DOCBOOK_HTML"; then -AC_MSG_ERROR(WARNING!!! DSSSL NOT FOUND - WON'T WORK THIS WAY) -fi -AC_SUBST(DOCBOOK_HTML) +AC_SUBST(DOCBOOK_HTML) AC_SUBST(DOCBOOK_PRINT) dnl }}} @@ -268,6 +256,12 @@ AC_SUBST(DOCBOOKXSL_PRINT) dnl }}} + +if test -z "$DOCBOOK_HTML" -a -z "$DOCBOOKXSL_HTML"; then + AC_MSG_ERROR(WARNING!!! NO STYLESHEETS FOUND - WON'T WORK THIS WAY) +fi + + dnl {{{ check for catalog files
[PHP-DOC] cvs: phpdoc /en/functions domxml.xml
irc-htmlSat Jan 5 15:46:08 2002 EDT Modified files: /phpdoc/en/functionsdomxml.xml Log: domxml_node_unlink_node: It's domxml_unlink_node Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.29 phpdoc/en/functions/domxml.xml:1.30 --- phpdoc/en/functions/domxml.xml:1.29 Tue Dec 18 14:08:15 2001 +++ phpdoc/en/functions/domxml.xml Sat Jan 5 15:46:08 2002 @@ -1,5 +1,5 @@ - + DOM XML functions DOM XML @@ -904,9 +904,9 @@ - + -domxml_node_unlink_node +domxml_unlink_node Deletes node @@ -915,7 +915,7 @@ Description - object domxml_node_unlink_node + object domxml_unlink_node
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 15:49:08 2002 EDT Modified files: /phpdoc configure.in Log: whitespace Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.96 phpdoc/configure.in:1.97 --- phpdoc/configure.in:1.96Sat Jan 5 15:45:05 2002 +++ phpdoc/configure.in Sat Jan 5 15:49:08 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.96 2002/01/05 20:45:05 hholzgra Exp $ +dnl $Id: configure.in,v 1.97 2002/01/05 20:49:08 hholzgra Exp $ dnl autoconf initialisation AC_INIT() @@ -309,11 +309,11 @@ AC_ARG_WITH(source, [ --with-source=[DIR] Look at the specified source directory], [ -if test -d "$withval" ; then - PHP_SOURCE=$withval -else - PHP_SOURCE=../php4 -fi + if test -d "$withval" ; then +PHP_SOURCE=$withval + else +PHP_SOURCE=../php4 + fi ],[ PHP_SOURCE=../php4 ]) @@ -329,25 +329,25 @@ AC_ARG_WITH(zendapi, [ --with-zendapi=[DIR] Look for ZendAPI documentation in the specified directory], [ -if test -d "$withval" ; then - ZENDAPI=$withval -fi + if test -d "$withval" ; then +ZENDAPI=$withval + fi ],[ -ZENDAPI="not found" -for dir in \ - ./ZendAPI \ - ../ZendAPI -do - if test -d "$dir"; then + ZENDAPI="not found" + for dir in \ +./ZendAPI \ +../ZendAPI + do +if test -d "$dir"; then ZENDAPI="autodetected $dir" -break - fi -done -if test -d "$ZENDAPI"; then - ZEND_FIGURES="cp -r $ZENDAPI/figures ." -else - ZEND_FIGURES="" + break fi + done + if test -d "$ZENDAPI"; then +ZEND_FIGURES="cp -r $ZENDAPI/figures ." + else +ZEND_FIGURES="" + fi ]) AC_MSG_RESULT($ZENDAPI) @@ -361,12 +361,10 @@ AC_MSG_CHECKING(for language) +PHP_BUILD_DATE=`date '+%Y-%m-%d'` AC_ARG_WITH(lang, [ --with-lang=LANGChoose a language to work with],[ if test "$withval" = "yes"; then -PHP_BUILD_DATE=`date '+%Y-%m-%d'` -AC_SUBST(PHP_BUILD_DATE) - LANG=en AC_MSG_RESULT([en (default)]) else @@ -375,36 +373,35 @@ AC_MSG_ERROR(Language \"$withval\" not supported!) fi -dnl day/month/year -PHP_BUILD_DATE=`date '+%d-%m-%Y'` -AC_SUBST(PHP_BUILD_DATE) - - case $withval in -kr) - LANG="ko" - LANGDIR="kr" -;; -hk) - LANG="zh_hk" - LANGDIR="hk" -;; -tw) - LANG="zh_tw" - LANGDIR="tw" -;; -*) - LANG=$withval - LANGDIR=$withval - esac -AC_MSG_RESULT( $withval ) -fi +PHP_BUILD_DATE=`date '+%d-%m-%Y'` + +case $withval in + kr) +LANG="ko" +LANGDIR="kr" + ;; + hk) +LANG="zh_hk" +LANGDIR="hk" + ;; + tw) +LANG="zh_tw" +LANGDIR="tw" + ;; + *) +LANG=$withval +LANGDIR=$withval +esac +AC_MSG_RESULT( $withval ) + fi ],[ -LANG=en -LANGDIR=en -AC_MSG_RESULT([en (default)]) + LANG=en + LANGDIR=en + AC_MSG_RESULT([en (default)]) ]) AC_SUBST(LANG) AC_SUBST(LANGDIR) +AC_SUBST(PHP_BUILD_DATE) MANUAL="php_manual_$LANG" AC_SUBST(MANUAL) @@ -559,13 +556,13 @@ if fgrep -q 'country: (dsssl-country-code)' /usr/share/sgml/docbkdsl/print/dbprint.dsl then if ! grep -q ';;.*country:' /usr/share/sgml/docbkdsl/print/dbprint.dsl - then -AC_MSG_WARN(to prevent a tex bug you should comment out ) -AC_MSG_WARN('country: (dsssl-country-code)' ) -AC_MSG_WARN(in /usr/share/sgml/docbkdsl/print/dbprint.dsl ) -AC_MSG_WARN(or update your DSSSL-Stylesheets) -AC_MSG_WARN(to at least version 1.54) - fi +then + AC_MSG_WARN(to prevent a tex bug you should comment out ) + AC_MSG_WARN('country: (dsssl-country-code)' ) + AC_MSG_WARN(in /usr/share/sgml/docbkdsl/print/dbprint.dsl ) + AC_MSG_WARN(or update your DSSSL-Stylesheets) + AC_MSG_WARN(to at least version 1.54) +fi fi fi fi @@ -587,16 +584,16 @@ echo "" > chapters.ent if test -d "$ZENDAPI"; then echo >> chapters.ent -echo "" >> chapters.ent -echo "" >> chapters.ent -echo "" >> chapters.ent + echo "" >> chapters.ent + echo "" >> +chapters.ent + echo "" >> chapters.ent echo >> chapters.ent echo "%zend.defs;" >> chapters.ent -echo "" >> chapters.ent + echo "" >> chapters.ent echo >> chapters.ent -else -echo "" >> chapters.ent -echo "" >> chapters.ent + else + echo "" >> chapters.ent + echo "" >> chapters.ent fi for file in `find $srcdir/en -name "*.xml" | sed -e"s%^$srcdir\/en\/%%g" | sort` do @@ -609,7 +606,7 @@ echo " untranslated $file (`wc -l <$file | tr -d ' '` lines)" fi DEPEND_FILES="$DEPEND_FILES $file" -echo "" >> chapters.ent + echo "" >> chapters.ent done echo "" >> chapters.ent
[PHP-DOC] cvs: phpdoc /en/functions domxml.xml
irc-htmlSat Jan 5 19:10:43 2002 EDT Modified files: /phpdoc/en/functionsdomxml.xml Log: reverting, the function is domxml_node_unlink_node Index: phpdoc/en/functions/domxml.xml diff -u phpdoc/en/functions/domxml.xml:1.30 phpdoc/en/functions/domxml.xml:1.31 --- phpdoc/en/functions/domxml.xml:1.30 Sat Jan 5 15:46:08 2002 +++ phpdoc/en/functions/domxml.xml Sat Jan 5 19:10:43 2002 @@ -1,5 +1,5 @@ - + DOM XML functions DOM XML @@ -904,9 +904,9 @@ - + -domxml_unlink_node +domxml_node_unlink_node Deletes node @@ -915,7 +915,7 @@ Description - object domxml_unlink_node + object domxml_node_unlink_node
[PHP-DOC] [PROPOSAL] database security issue
Hello, while surfing on the net I've found a few articles about web based appliction security and a dedicated site: Open Web Application Security Project where I read this article: http://www.owasp.org/projects/asac/iv-sqlinjection.shtml I'd love to know your position on writing a short section about "SQL injection and others" in security.xml, something similar has already done for filesystem security. It aims to be an introduction into the very basics of PHP related database security and vulnerability, because: " the strongest and most significant feature of PHP is " its support for a wide range of databases. Writing " a database-enabled web page is incredibly simple. [from the manual :)] IMHO, it's indeed incredible simple, but users must be aware of this attacking technique, too. What do you think? I have further examples and some avoiding techniques, and hopefully you may also share your valuable knowledge about this topic. Papp Gyozo - [EMAIL PROTECTED]
[PHP-DOC] cvs: phpdoc /de bookinfo.xml
mk Sat Jan 5 21:09:09 2002 EDT Modified files: /phpdoc/de bookinfo.xml Log: Added Friedhelm Betz Index: phpdoc/de/bookinfo.xml diff -u phpdoc/de/bookinfo.xml:1.28 phpdoc/de/bookinfo.xml:1.29 --- phpdoc/de/bookinfo.xml:1.28 Thu Jan 3 03:04:53 2002 +++ phpdoc/de/bookinfo.xml Sat Jan 5 21:09:08 2002 @@ -57,6 +57,9 @@ Sebastian Bergmann +Friedhelm Betz + + Cornelia Boenigk
[PHP-DOC] Make Test Errors
I was just trying to 'make test' and ran up with a couple errors... touch .manual.xml CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status config.status: creating manual.xml make: SP_OPTIONS@: Command not found make: *** [test] Error 127 Something that I'm missing here? I tried make clean then configure, same error. Best Regards, Kenneth Schwartz - http://www.irc-html.com E-mail: [EMAIL PROTECTED] Emergency Contact: 910-382-6280
Re: [PHP-DOC] Make Test Errors
Kenneth Schwartz wrote: > I was just trying to 'make test' and ran up with a couple errors... > > touch .manual.xml > CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status > config.status: creating manual.xml > make: SP_OPTIONS@: Command not found > make: *** [test] Error 127 > > Something that I'm missing here? I tried make clean then configure, > same error. > does running 'autoconf; configure; make test' help?
Re: [PHP-DOC] Make Test Errors
Ahh, thanks a bunch, works fine now. Best Regards, Kenneth Schwartz - http://www.irc-html.com E-mail: [EMAIL PROTECTED] Emergency Contact: 910-382-6280 On Sun, 06 Jan 2002 03:18:30 +0100 Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote: > Kenneth Schwartz wrote: > > > I was just trying to 'make test' and ran up with a couple errors... > > > > touch .manual.xml > > CONFIG_FILES=manual.xml CONFIG_HEADERS= ./config.status > > config.status: creating manual.xml > > make: SP_OPTIONS@: Command not found > > make: *** [test] Error 127 > > > > Something that I'm missing here? I tried make clean then configure, > > same error. > > > > > > does running 'autoconf; configure; make test' help? > >
[PHP-DOC] patch configure.in
Hi, this patch would make php with short_tags off and windows users happy :-). diff -r1.97 configure.in 36c36 < if test "yes" = `echo '3?"yes":"no"; ?>' | $PHP -q`; then --- > if test "yes" = `echo '3?"yes":"no"; ?>' | $PHP -q`; then 189c189,191 < /opt/sgml/lib --- > /opt/sgml/lib \ > ../phpdoc-tools/dsssl \ > phpdoc-tools/dsssl Friedhelm
[PHP-DOC] cvs: phpdoc /cs/functions ccvs.xml xslt.xml
hholzgraSat Jan 5 21:51:24 2002 EDT Modified files: /phpdoc/cs/functionsccvs.xml xslt.xml Log: fixed build Index: phpdoc/cs/functions/ccvs.xml diff -u phpdoc/cs/functions/ccvs.xml:1.6 phpdoc/cs/functions/ccvs.xml:1.7 --- phpdoc/cs/functions/ccvs.xml:1.6Thu Jan 3 08:29:12 2002 +++ phpdoc/cs/functions/ccvs.xmlSat Jan 5 21:51:24 2002 @@ -49,6 +49,344 @@ + + +ccvs_init +Initialize CCVS for use + + +Description + + + string ccvs_init + string name + + + + &warn.undocumented.func; + + + + + + +ccvs_done +Terminate CCVS engine and do cleanup work + + +Description + + + string ccvs_done + string sess + + + + &warn.undocumented.func; + + + + + + +ccvs_new +Create a new, blank transaction + + +Description + + + string ccvs_new + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_add +Add data to a transaction + + +Description + + + string ccvs_add + string session + string invoice + string argtype + string argval + + + + &warn.undocumented.func; + + + + + + +ccvs_delete +Delete a transaction + + +Description + + + string ccvs_delete + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_auth + + Perform credit authorization test on a transaction + + + +Description + + + string ccvs_auth + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_return + + Transfer funds from the merchant to the credit card holder + + + +Description + + + string ccvs_return + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_reverse + + Perform a full reversal on an already-processed authorization + + + +Description + + + string ccvs_reverse + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_sale + + Transfer funds from the credit card holder to the merchant + + + +Description + + + string ccvs_sale + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_void + + Perform a full reversal on a completed transaction + + + +Description + + + string ccvs_void + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_status +Check the status of an invoice + + +Description + + + string ccvs_status + string session + string invoice + + + + &warn.undocumented.func; + + + + + + +ccvs_count + + Find out how many transactions of a given type are stored in the system + + + +Description + + + int ccvs_count + string session + string type + + + + &warn.undocumented.func; + + + + + + +ccvs_lookup + + Look up an item of a particular type in the database # + + + +Description + + + string ccvs_lookup + string session + string invoice + int inum + + + + &warn.undocumented.func; + + + + + + +ccvs_report +Return the status of the background communication process + + + +Description + + + string ccvs_report + string session + string type + + + + &warn.undocumented.func; + + + + + + +ccvs_command + + Performs a command which is peculiar to a single protocol, + and thus is not available in the general CCVS API + + + +Description + + + string ccvs_command + string session + string type + string argval + + + + &warn.undocumented.func; + + + + + + +ccvs_textvalue +Get text return value for previous function call + + +Description + + + string ccvs_textvalue + string session + + + + &warn.undocumented.func; + + + +
[PHP-DOC] cvs: phpdoc / configure.in
hholzgraSat Jan 5 21:51:50 2002 EDT Modified files: /phpdoc configure.in Log: typo/thinko fixes Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.97 phpdoc/configure.in:1.98 --- phpdoc/configure.in:1.97Sat Jan 5 15:49:08 2002 +++ phpdoc/configure.in Sat Jan 5 21:51:50 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.97 2002/01/05 20:49:08 hholzgra Exp $ +dnl $Id: configure.in,v 1.98 2002/01/06 02:51:50 hholzgra Exp $ dnl autoconf initialisation AC_INIT() @@ -33,7 +33,7 @@ else AC_MSG_CHECKING([php version]) PHPVERSION=`$PHP -qv` - if test "yes" = `echo '3?"yes":"no"; ?>' | $PHP -q`; then + if test "yes" = `echo '3?"yes":"no"; ?>' | $PHP -q`; then AC_MSG_RESULT($PHPVERSION ok) else AC_MSG_RESULT($PHPVERSION) @@ -181,12 +181,14 @@ AC_MSG_RESULT(in $withval) fi ],[ - for dir1 in /usr/share/sgml \ + for dir1 in ../phpdoc-tools/dsssl \ + phpdoc-tools/dsssl \ + /usr/share/sgml \ /usr/lib/sgml \ /usr/lib/dsssl \ /usr/local/lib/sgml \ /usr/local/lib/dsssl \ - /opt/sgml/lib + /opt/sgml/lib do for dir2 in docbook \ docbook/dsssl-stylesheets \
[PHP-DOC] cvs: phpdoc /de/functions adabas.xml /es/functions adabas.xml /ja/functions adabas.xml
hholzgraSat Jan 5 21:54:23 2002 EDT Removed files: /phpdoc/de/functionsadabas.xml /phpdoc/es/functionsadabas.xml /phpdoc/ja/functionsadabas.xml Log: deprecate
[PHP-DOC] cvs: phpdoc /es/functions ccvs.xml
hholzgraSat Jan 5 22:51:09 2002 EDT Removed files: /phpdoc/es/functionsccvs.xml Log: untranslated
[PHP-DOC] cvs: phpdoc /es/functions array.xml ifx.xml mysql.xml oracle.xml pcre.xml sesam.xml snmp.xml xslt.xml
hholzgraSat Jan 5 23:16:45 2002 EDT Modified files: /phpdoc/es/functionsarray.xml ifx.xml mysql.xml oracle.xml pcre.xml sesam.xml snmp.xml xslt.xml Log: preparing for docbook4 Index: phpdoc/es/functions/array.xml diff -u phpdoc/es/functions/array.xml:1.7 phpdoc/es/functions/array.xml:1.8 --- phpdoc/es/functions/array.xml:1.7 Sat Jan 5 22:16:46 2002 +++ phpdoc/es/functions/array.xml Sat Jan 5 23:16:44 2002 @@ -1287,7 +1287,7 @@ Descripción - bool in_array + bool in_array mixed aguja array pajar Index: phpdoc/es/functions/ifx.xml diff -u phpdoc/es/functions/ifx.xml:1.7 phpdoc/es/functions/ifx.xml:1.8 --- phpdoc/es/functions/ifx.xml:1.7 Sat Jan 5 22:16:49 2002 +++ phpdoc/es/functions/ifx.xml Sat Jan 5 23:16:45 2002 @@ -623,7 +623,7 @@ ifx_query o ifx_prepare (sólo para consultas de selección). - position es un parámetro opcional + position es un parámetro opcional para una operación de lectura sobre un cursor de tipo "scroll": "NEXT" (siguiente), "PREVIOUS" (anterior), "CURRENT" (actual), "FIRST" (primero), "LAST" (último) o un número. Si se especifica un número, un registro concreto Index: phpdoc/es/functions/mysql.xml diff -u phpdoc/es/functions/mysql.xml:1.7 phpdoc/es/functions/mysql.xml:1.8 --- phpdoc/es/functions/mysql.xml:1.7 Sat Jan 5 22:16:50 2002 +++ phpdoc/es/functions/mysql.xml Sat Jan 5 23:16:45 2002 @@ -158,9 +158,7 @@ int mysql_connect string - hostname -:puerto -:/camino/al/socket + server @@ -1233,10 +1231,7 @@ int mysql_pconnect string - hostname -:puerto -:/camino/al/socket - + server string Index: phpdoc/es/functions/oracle.xml diff -u phpdoc/es/functions/oracle.xml:1.5 phpdoc/es/functions/oracle.xml:1.6 --- phpdoc/es/functions/oracle.xml:1.5 Sat Jan 5 22:16:51 2002 +++ phpdoc/es/functions/oracle.xml Sat Jan 5 23:16:45 2002 @@ -266,7 +266,7 @@ Devuelve el codigo numérico de error de la última declaración ejecutada en el cursor o conexion espacificada. - FIXME: se listarán los valores posibles? + El soporte para las identificaciones de conexión fue agregado en la versión 3.0.4. Index: phpdoc/es/functions/pcre.xml diff -u phpdoc/es/functions/pcre.xml:1.7 phpdoc/es/functions/pcre.xml:1.8 --- phpdoc/es/functions/pcre.xml:1.7Sat Jan 5 22:16:51 2002 +++ phpdoc/es/functions/pcre.xmlSat Jan 5 23:16:45 2002 @@ -302,7 +302,7 @@ Descripción - array preg_split + array preg_split string pattern string subject int limit Index: phpdoc/es/functions/sesam.xml diff -u phpdoc/es/functions/sesam.xml:1.6 phpdoc/es/functions/sesam.xml:1.7 --- phpdoc/es/functions/sesam.xml:1.6 Fri Dec 21 04:41:35 2001 +++ phpdoc/es/functions/sesam.xml Sat Jan 5 23:16:45 2002 @@ -1615,7 +1615,7 @@ sesam_query (select type queries only!). - whence is an optional + whence is an optional parameter for a fetch operation on "scrollable" cursors, which can be set to the following predefined constants: @@ -1689,17 +1689,17 @@ When using "scrollable" cursors, the cursor can be freely positioned on the result set. If the - whence parameter is + whence parameter is omitted, the global default values for the scrolling type (initialized to: SESAM_SEEK_NEXT, and settable by sesam_seek_row) are used. If - whence is supplied, + whence is supplied, its value replaces the global default. - offset is an optional + offset is an optional parameter which is only evaluated (and required) if - whence is either + whence is either SESAM_SEEK_RELATIVE or SESAM_SEEK_ABSOLUTE. This parameter is only valid for "scrollable" cursors. @@ -1792,8 +1792,8 @@ For the valid values of the optional - whenceand - offset parameters, + whenceand + offset parameters, see the sesam_fetch_row function for details. @@ -1965,7 +1965,7 @@ - offset is an optional + offset is an optional parameter which is only evaluated (and required) if whence is either SESAM_SEEK_RELATIVE or Index: phpdoc/es/functions/snmp.xml diff -u phpdoc/es/functions/snmp.xml:1.6 phpdoc/es/functions/snmp.xml:1.7 --- phpdoc/es/functions/snmp.xml:1.6Sat Jan 5 22:16:51 2002 +++ phpdoc/es/functions/snmp.xmlSat Jan 5 23:16:45 2002 @@ -259,8 +259,8 @@ La llamada a la función superior podría devolver - &false; si quick_print está activo, y - &true; si quick_print está activo. + &false; si quick_print está activo, y + &true;