Re: [PHP-DOC] docbook function naming

2001-11-13 Thread Egon Schmid

From: "Morgan Christiansson" <[EMAIL PROTECTED]>

> Hi, what is the standard for function naming in docbook?
>
> It's basically saying this in the various docs:
>
> Comply with pear standards but you must use lowercase.
> And pear standards say use getSettings instead of get_settings.
> And phpdoc standards say getsettings instead of getSettings.
>
> So what should it be?
>
> Can i use all lowercase in ID="function.functionname" and
> functionName and
functionName etc.?
>
> Or should i break the pear naming standards?
>
> the phpdoc/howto.html.tar.gz/howto/html/chapter-conventions.html
says:
>
> "Function reference IDs look like this (case should be consistent
with
> the rest of the function naming standards, i.e. lowercase):
> function.imageloadfont. Please note that since underscores cannot
be
> used in IDs, they should be replaced by minus signs (-)."
>
> http://php.net/manual/en/pear.standards.naming.php say:
>
> "Functions and methods should be named using the "studly caps"
style
> (also referred to as "bumpy case" or "camel caps"). Functions
should in
> addition have the package name as a prefix, to avoid name
collisions
> between packages. The initial letter of the name (after the
prefix) is
> lowercase, and each letter that starts a new "word" is
capitalized. Some
> examples:"

We don´ t use the rules written in some PEAR standards. If you want
document some undocumented functions, you have to use the function
name AS IS from the source code. The preferred naming scheme is
prefix_get_settings. Only the ID attribute should have minus signs
instead of underscores.

-Egon




[PHP-DOC] docbook function naming

2001-11-13 Thread Morgan Christiansson

Hi, what is the standard for function naming in docbook?

It's basically saying this in the various docs:

Comply with pear standards but you must use lowercase.
And pear standards say use getSettings instead of get_settings.
And phpdoc standards say getsettings instead of getSettings.


So what should it be?

Can i use all lowercase in ID="function.functionname" and 
functionName and functionName etc.?

Or should i break the pear naming standards?



the phpdoc/howto.html.tar.gz/howto/html/chapter-conventions.html says:

"Function reference IDs look like this (case should be consistent with 
the rest of the function naming standards, i.e. lowercase): 
function.imageloadfont. Please note that since underscores cannot be 
used in IDs, they should be replaced by minus signs (-)."


http://php.net/manual/en/pear.standards.naming.php say:

"Functions and methods should be named using the "studly caps" style 
(also referred to as "bumpy case" or "camel caps"). Functions should in 
addition have the package name as a prefix, to avoid name collisions 
between packages. The initial letter of the name (after the prefix) is 
lowercase, and each letter that starts a new "word" is capitalized. Some 
examples:"



/Morgan




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

2001-11-13 Thread Renato Arruda

rarruda Tue Nov 13 22:24:35 2001 EDT

  Added files: 
/phpdoc/pt_BR/appendicesaliases.xml 

  Modified files:  
/phpdoc/pt_BR   Translators 
  Log:
  atualizado o status do documento aliases.xml
  
  

Index: phpdoc/pt_BR/Translators
diff -u phpdoc/pt_BR/Translators:1.15 phpdoc/pt_BR/Translators:1.16
--- phpdoc/pt_BR/Translators:1.15   Tue Nov 13 15:25:18 2001
+++ phpdoc/pt_BR/TranslatorsTue Nov 13 22:24:34 2001
@@ -153,6 +153,7 @@
 yaz.xml
 zlib.xml
 --appendices
+aliases.xmlrarruda done (not reviewed)
 debugger.xml   soneca  done (not reviewed)
 escaping.xml   soneca  done (not reviewed)
 history.xmlsoneca  done (not reviewed)

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



 Lista de sinônimos (aliases)
 
  Esta é a lista de funções sinônimas. Todas as funções sinônimas estão
  listadas aqui. Normalmente é uma má idéia utiliza-lás, pois elas
  estão em vias de ser obsoletas ou ser renomeadas, o que criaria um
  script não portável. Esta lista é fornecida para ajudar aqueles que
  querem atualizar os seus scripts antigos para a nova sintaxe.
 
 
  De qualquer forma, alguma funções simplismente tem dois nomes e não
  tem real preferência. (Por exemplo, is_int e
  is_integer são igualmente boas)
 
 
  Esta lista é consistente com PHP 4.0.6.
 
 
  
   Aliases
   
 
  
   Função sinonimo (alias)
   Função mestre
   Extensão usada
  
 
 

 add
 swfmovie_add
 Ming (flash)


 add
 swfsprite_add
 Ming (flash)


 add_root
 domxml_add_root
 DOM XML


 addaction
 swfbutton_addAction
 Ming (flash)


 addcolor
 swfdisplayitem_addColor
 Ming (flash)


 addentry
 swfgradient_addEntry
 Ming (flash)


 addfill
 swfshape_addfill
 Ming (flash)


 addshape
 swfbutton_addShape
 Ming (flash)


 addstring
 swftext_addString
 Ming (flash)


 addstring
 swftextfield_addString
 Ming (flash)


 align
 swftextfield_align
 Ming (flash)


 attributes
 domxml_attributes
 DOM XML


 children
 domxml_children
 DOM XML


 chop
 rtrim
 Base syntax


 close
 closedir
 Base syntax


 com_get
 com_propget
 COM


 com_propset
 com_propput
 COM


 com_set
 com_propput
 COM


 cv_add
 ccvs_add
 CCVS


 cv_auth
 ccvs_auth
 CCVS


 cv_command
 ccvs_command
 CCVS


 cv_count
 ccvs_count
 CCVS


 cv_delete
 ccvs_delete
 CCVS


 cv_done
 ccvs_done
 CCVS


 cv_init
 ccvs_init
 CCVS


 cv_lookup
 ccvs_lookup
 CCVS


 cv_new
 ccvs_new
 CCVS


 cv_report
 ccvs_report
 CCVS


 cv_return
 ccvs_return
 CCVS


 cv_reverse
 ccvs_reverse
 CCVS


 cv_sale
 ccvs_sale
 CCVS


 cv_status
 ccvs_status
 CCVS


 cv_textvalue
 ccvs_textvalue
 CCVS


 cv_void
 ccvs_void
 CCVS


 die
 exit
 Miscellaneous functions


 dir
 getdir
 Base syntax


 diskfreespace
 disk_free_space
 Filesystem


 domxml_getattr
 domxml_get_attribute
 DOM XML


 domxml_setattr
 domxml_set_attribute
 DOM XML


 doubleval
 floatval
 Base syntax


 drawarc
 swfshape_drawarc
 Ming (flash)


 drawcircle
 swfshape_drawcircle
 Ming (flash)


 drawcubic
 swfshape_drawcubic
 Ming (flash)


 drawcubicto
 swfshape_drawcubicto
 Ming (flash)


 drawcurve
 swfshape_drawcurve
 Ming (flash)


 drawcurveto
 swfshape_drawcurveto
 Ming (flash)


 drawglyph
 swfshape_drawglyph
 Ming (flash)


 drawline
 swfshape_drawline
 Ming (flash)


 drawlineto
 swfshape_drawlineto
 Ming (flash)


 dtd
 domxml_intdtd
 DOM XML


 dumpmem
 domxml_dumpmem
 DOM XML


 fbsql
 fbsql_db_query
 FrontBase


 fputs
 fwrite
 Base syntax


 get_attribute
 domxml_get_attribute
 DOM XML


 getascent
 swffont_getAscent
 Ming (flash)


 getascent
 swftext_getAscent
 Ming (flash)


 getattr
 domxml_get_attribute
 DOM XML


 getdescent
 swffont_getDescent
 Ming (flash)


 getdescent
 swftext_getDescent
 Ming (flash)


 getheight
 swfbitmap_getHeight
 Ming (flash)


 getleading
 swffont_getLeading
 Ming (flash)


 getleading
 swftext_getLeading
 Ming (flash)


 getshape1
 swfmorph_getShape1
 Ming (flash)


 getshape2
 swfmorph_getShape2
 Ming (flash)


 getwidth
 swfbitmap_getWidth
 Ming (flash)


 getwidth
 swffont_getWidth
 Ming (flash)


 getwidth
 swftext_getWidth
 Ming (flash)


 gzputs
 gzwrite
 Zlib


 i18n_convert
 mb_convert_encoding
 Multi-bytes Strings


 i18n_discover_encoding
 mb_detect_encoding
 Multi-bytes Strings


 i18n_http_input
 mb_http_input
 Multi-bytes Strings


 i18n_http_output
 mb_http_output
 Multi-bytes Strings


 i18n_internal_encoding
 mb_internal_encoding
 Multi-bytes Strings


 i18n_ja_jp_hantozen
 mb_convert_kana
 Multi-bytes Strings


 i18n_mime_header_decode
 mb_decode_mimeheader
 Multi-bytes Strings


 i18n_mime_header_encode
 mb_encode_mimeheader
 Multi-bytes Strings


 imap_create
 imap_createmailbox
 IMAP


 imap_fetchtext
 imap_body
 IMAP


 imap_getmailboxes
 imap_list_full
 IMAP

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

2001-11-13 Thread Renato Arruda

rarruda Tue Nov 13 22:07:44 2001 EDT

  Modified files:  
/phpdoc/pt_BR/functions filesystem.xml 
  Log:
  Initial translation up to fgets function.
  
  

Index: phpdoc/pt_BR/functions/filesystem.xml
diff -u /dev/null phpdoc/pt_BR/functions/filesystem.xml:1.3
--- /dev/null   Tue Nov 13 22:07:44 2001
+++ phpdoc/pt_BR/functions/filesystem.xml   Tue Nov 13 22:07:43 2001
@@ -0,0 +1,2959 @@
+
+
+ 
+  Funções do Filesystem
+  Filesystem
+
+  
+   
+basename
+
+ Retorna a parte do nome do arquivo do path
+
+   
+   
+Descrição
+
+ 
+  string basename
+  string path
+  string suffixo
+ 
+
+
+ Dado uma string contendo um path para um arquivo, essa função irá
+ retornar o nome base do arquivo.
+ Se o nome do arquivo é terminado em um suffixo
+ este tambem será retirado.
+
+
+ No Windows, tanto a barra (/) quanto a
+ barrainvertida (\) são usadas como caracter de
+ separacao do path. Em outros ambientes, somente a barra
+ (/).
+
+
+ 
+  exemplo do basename
+  
+$path = "/home/httpd/html/index.php";
+$arquivo = basename ($path);// $arquivo conterá "index.php"
+$arquivo = basename ($path,".php"); // $arquivo conterá "index"
+  
+ 
+
+
+ 
+  O parametro suffixo foi adicionado no PHP 4.1.0.
+ 
+
+
+ Veja também: dirname
+
+   
+  
+
+  
+   
+chgrp
+Modifica o grupo do arquivo
+   
+   
+Descrição
+
+ 
+  int chgrp
+  string arquivo
+  mixed grupo
+ 
+
+
+ Tenta modificar o grupo do
+ arquivo para o
+ grupo. Somente o superusuário pode mudar
+ o grupo de um arquivo arbitrário; outros usuários podem somente
+ mudar o grupo de um arquivo para qual o usuário pertence.
+
+
+ Retorna &verdadeiro; se obtiver sucesso; caso contrário retorna
+ &falso;.
+
+
+ Veja também chown e
+ chmod.
+
+
+ 
+  Esta função não funciona em sistemas Windows.
+ 
+
+   
+  
+
+  
+   
+chmod
+Modifica as permissões do arquivo
+   
+   
+Descrição
+
+ 
+  int chmod
+  string arquivo
+  int modo
+ 
+
+
+ Tenta mudar as permissões do arquivo especificado por
+ arquivo para o dado em
+ modo.
+
+
+ Note que mode não é assumido ser um numero
+ octal, então strings (como "g+w") não irá funcionar. Para garantir
+ que a operação seja bem sucedide é necessário o prefixo zero (0)
+ em mode:
+ 
+  
+chmod ("/algumdir/algumarquivo", 755);   // decimal; provavelmente incorreto
+chmod ("/algumdir/algumarquivo", "u+rwx,go+rx"); // string; incorreto
+chmod ("/algumdir/algumarquivo", 0755);  // octal; correto valor da permissão
+  
+ 
+
+
+ Retorna &verdadeiro; se obtiver sucesso e caso contrário &falso;.
+
+
+ Veja também chown e
+ chgrp.
+
+
+ 
+  Esta função não funciona em sistemas Windows.
+ 
+
+   
+  
+
+  
+   
+chown
+Modifica o dono do arquivo
+   
+   
+Descrição
+
+ 
+  int chown
+  string arquivo
+  mixed usuário
+ 
+
+
+ Tenta modificar o dono do arquivo "arquivo" para o usuário
+ "usuário". Somente o superusuário pode modificar o dono de
+ um arquivo.
+
+
+ Retorna &verdadeiro; se obtiver sucesso e caso contrário &falso;.
+
+
+ Veja também chown e
+ chmod.
+
+
+ 
+ Esta função não funciona em sistemas Windows.
+ 
+
+   
+  
+
+  
+   
+clearstatcache
+Limpa o  cache do file stat
+   
+   
+Descrição
+
+ 
+  void clearstatcache
+  
+ 
+
+
+ Invocando a função do sistema (system call)
+ stat ou lstat
+ na maior parte do sistema é bem caro. Então, o resultado da ultima
+ chamada para qualquer chamada para as funções de status (listadas
+ abaixo) é guardada para a ultilização nas possiveis procimas
+ chamadas utilizando o mesmo nome de arquivo. Se voce deseja forcar
+ um check no status, por exemplo se o arquivo  for checado muitas
+ vezes e pode mudar ou disaparecer, use esta função para limpar os
+ resultados da ultima chamada da memória.
+
+
+ Este valor somente reside no cache pelo tempo de somente um pedido.
+
+
+ As funções afetadas são stat,
+ lstat,
+ file_exists,
+ is_writable,
+ is_readable,
+ is_executable,
+ is_file,
+ is_dir,
+ is_link,
+ filectime,
+ fileatime,
+ filemtime,
+ fileinode,
+ filegroup,
+ fileowner,
+ filesize,
+ filetype, e
+ fileperms.
+
+   
+  
+
+  
+   
+copy
+Copia arquivo
+   
+   
+Descrição
+
+ 
+  int copy
+  string origem
+  string destino
+ 
+
+
+ Faz uma cópia de um arquivo. Retorna &verdadeiro; se a copia é
+ obtida com sucesso, c

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

2001-11-13 Thread Harald Radi

phanto  Tue Nov 13 19:31:44 2001 EDT

  Modified files:  
/phpdoc global.ent 
  Log:
  added links for com docu
  
Index: phpdoc/global.ent
diff -u phpdoc/global.ent:1.124 phpdoc/global.ent:1.125
--- phpdoc/global.ent:1.124 Sat Nov 10 09:50:34 2001
+++ phpdoc/global.ent   Tue Nov 13 19:31:38 2001
@@ -1,6 +1,6 @@
 

[PHP-DOC] cvs: phpdoc /en/faq com.xml /en/functions com.xml

2001-11-13 Thread Harald Radi

phanto  Tue Nov 13 19:30:57 2001 EDT

  Modified files:  
/phpdoc/en/faq  com.xml 
/phpdoc/en/functionscom.xml 
  Log:
  removed hardcoded links
  
Index: phpdoc/en/faq/com.xml
diff -u phpdoc/en/faq/com.xml:1.4 phpdoc/en/faq/com.xml:1.5
--- phpdoc/en/faq/com.xml:1.4   Sat Nov 10 16:49:28 2001
+++ phpdoc/en/faq/com.xml   Tue Nov 13 19:30:56 2001
@@ -1,5 +1,5 @@
 
-
+
  
   PHP and COM
   PHP and COM
@@ -189,7 +189,7 @@
 
  
   The answer is as simple as unsatisfying. I don't know exactly but i think you 
can do nothing.
-  If someone has specific information about this, please let mailto:[EMAIL PROTECTED]";>me know :)
+  If someone has specific information about this, please let mailto:&email.harald;";>me know :)
  
 

Index: phpdoc/en/functions/com.xml
diff -u phpdoc/en/functions/com.xml:1.23 phpdoc/en/functions/com.xml:1.24
--- phpdoc/en/functions/com.xml:1.23Sun Nov 11 20:52:26 2001
+++ phpdoc/en/functions/com.xml Tue Nov 13 19:30:56 2001
@@ -1,5 +1,5 @@
 
-
+
  
   COM support functions for Windows 
   COM 
@@ -16,9 +16,9 @@
 COM functions are only available on the Windows version of
PHP. 
 For further information on COM read the 
-   http://www.microsoft.com/Com/resources/comdocs.asp";>COM
- specificationor perhaps take a look at Don Box's 
-   http://www.developmentor.com/dbox/yacl.htm";> Yet Another 
COM
+   COM
+ specification or perhaps take a look at Don Box's 
+Yet Another COM
  Libracy (YACL)  

  





[PHP-DOC] cvs: phpdoc /en/chapters security.xml

2001-11-13 Thread Philip Olson

philip  Tue Nov 13 19:20:50 2001 EDT

  Modified files:  
/phpdoc/en/chapters security.xml 
  Log:
  Fix typo. (on => off)
  
  
Index: phpdoc/en/chapters/security.xml
diff -u phpdoc/en/chapters/security.xml:1.33 phpdoc/en/chapters/security.xml:1.34
--- phpdoc/en/chapters/security.xml:1.33Sat Nov 10 16:49:28 2001
+++ phpdoc/en/chapters/security.xml Tue Nov 13 19:20:50 2001
@@ -1,5 +1,5 @@
 
-
+
  
   Security
 
@@ -653,7 +653,7 @@
 ?>
  
 
-Of course, simply turning on register globals does not mean code
+Of course, simply turning off register_globals does not mean code
 is secure. For every piece of data that is submitted, it
 should also be checked in other ways.






Re: [PHP-DOC] cvs: phpdoc /pl/faq migration4.xml

2001-11-13 Thread Egon Schmid

From: "Gabor Hojtsy" <[EMAIL PROTECTED]>

> > leszek Sun Nov 11 19:03:33 2001 EDT
> >
> >   Modified files:
> > /phpdoc/pl/faq migration4.xml
> >   Log:
> >   update, orthographic erorrs ;-(
> >   added version attribute to  You do not need to commit one file at a time.
> You can specify more than only one file for a
> commit, so we don't get that much mail :))

IMHO it is better to commit one file at a time. With that method,
you can look for errors. It isn´t possible to look for errors in
commits with a size of one megabyte. If you aren´t interested in the
"pl" commits, so delete it :)

-Egon




[PHP-DOC] cvs: phpdoc /pl/appendices aliases.xml

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:27 2001 EDT

  Modified files:  
/phpdoc/pl/appendices   aliases.xml 
  Log:
  Upgraded to 1.14. (New alias: diskfreespace, added)
  
Index: phpdoc/pl/appendices/aliases.xml
diff -u phpdoc/pl/appendices/aliases.xml:1.2 phpdoc/pl/appendices/aliases.xml:1.3
--- phpdoc/pl/appendices/aliases.xml:1.2Sat Nov 10 16:50:06 2001
+++ phpdoc/pl/appendices/aliases.xmlTue Nov 13 18:03:27 2001
@@ -1,5 +1,5 @@
 
-
+
 
  Lista aliasów
  
@@ -208,6 +208,11 @@
  dir
  getdir
  Podstawowa sk³adnia
+
+
+ diskfreespace
+ disk_free_space
+ System plików
 
 
  domxml_getattr





[PHP-DOC] cvs: phpdoc /pl/functions filesystem.xml

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:21 2001 EDT

  Added files: 
/phpdoc/pl/functionsfilesystem.xml 
  Log:
  About 25% done
  


Index: phpdoc/pl/functions/filesystem.xml
+++ phpdoc/pl/functions/filesystem.xml


 
  Funkcje systemu plików
  System plików

  
   
basename

 Zwraca nazwê pliku, bêd±cego sk³adow± ¶cie¿ki

   
   
Opis

 
  string basename
  string ¶cie¿ka
  string 
przyrostek
 


 Z podanego ³añcucha zawieraj±cego ¶cie¿kê do pliku, funkcja
 zwraca sam± nazwê pliku.
 Je¶li koniec nazwy pliku pasuje do parametru przyrostek
 to zostanie on tak¿e obciêty.


 W Windows jako separator ¶cie¿ki u¿ywany jest znak slash
 (/) i backslash (\).  W
 innych ¶rodowiskach jest to slash (/).


 
  basename przyk³ad
  
$path = "/home/httpd/html/index.php";
$file = basename ($path);// $file zawiera "index.php"
$file = basename ($path,".php"); // $file zawiera "index"
  
 


 
  Parametr przyrostek zosta³ dodany w PHP 4.1.0.
 


 Patrz tak¿e: dirname

   
  

  
   
chgrp
Zmienia grupê pliku
   
   
Opis

 
  int chgrp
  string nazwa_pliku
  mixed grupa
 


 Dokonuje zmiany grupy pliku podanego w parametrze
 nazwa_pliku na wybran± parametrem
 grupa. Tylko superu¿ytkownik mo¿e zmieniæ
 dowolnie grupê pliku; inni u¿ytkownicy mog± zmieniæ grupê pliku
 na dowoln± grupê, której cz³onkiem jest ten u¿ytkownik.


 Zwraca &true; gdy sukces; w przeciwnym wypadku zwraca &false;.


 Patrz tak¿e chown i
  chmod.


 
  Ta funkcja nie dzia³a w systemach Windows
 

   
  

  
   
chmod
Zmienia prawa dostêpu do pliku
   
   
Opis

 
  int chmod
  string nazwa_pliku
  int prawa
 


 Dokonuje zmiany praw pliku podanego w parametrze
 nazwa_pliku na podane w
 prawa.


 Pamiêtaj, ¿e parametr prawa nie jest
 automatycznie zastêpowany warto¶ci± oktaln±, wiêc ³añcuchy
 (takie jak "g+w") nie bêd± poprawnie interpretowane.
 Aby zapewniæ poprawno¶æ operacji musisz parametr
 prawa poprzedziæ prefixem zero (0):
 
  
chmod ("/katalog/plik", 755);   // dziesiêtnie; prawdopodobnie nieprawid³owo
chmod ("/katalog/plik", "u+rwx,go+rx"); // ³añcuch; nieprawid³owo
chmod ("/katalog/plik", 0755);  // ósemkowo; poprawna warto¶æ dla praw
  
 


 Zwraca &true; gdy sukces i &false; w przeciwnym wypadku.


 Patrz tak¿e chown i
 chgrp.


 
  Ta funkcja nie dzia³a w systemach Windows
 

   
  

  
   
chown
Zmienia w³a¶ciciela pliku
   
   
Opis

 
  int chown
  string nazwa_pliku
  mixed u¿ytkownik
 


 Dokonuje zmiany w³a¶ciciela pliku nazwa_pliku na u¿ytkownika
 podanego w parametrze u¿ytkownik.
 Tylko superu¿ytkownik mo¿e zmieniæ w³a¶ciciela pliku.


  Zwraca &true; gdy sukces; w przeciwnym wypadku zwraca &false;.


 Patrz tak¿e chown i
 chmod.


 
 Ta funkcja nie dzia³a w systemach Windows


   
  

  
   
clearstatcache
Czy¶ci cache statystki pliku
   
   
Opis

 
  void clearstatcache
  
 


 Wywo³ywanie systemowych stat lub
 lstat w wiêkszo¶ci systemów jest
 zbyt kosztowne. Dlatego, wynik ostatniego wywo³ania ka¿dej z funkcji
 statusowej (przedstawionej poni¿ej) jest przechowywany do wykorzystania
 go przy nastêpnym wywo³aniu funkcji z t± sam± nazw± pliku.
 Je¶li chcesz wymusiæ ponowne sprawdzenie statusu, pliku który jest
 sprawdzany wielokrotnie i móg³ siê zmieniæ lub znikn±æ, u¿yj tej
 funkcji aby wyczy¶ciæ wyniki ostatniego wywo³ania tych funkcji z pamiêci.


 Te warto¶ci s± cachowane tylko przez czas dzia³ania pojedynczego wywo³ania.


 Dotyczy funkcji stat,
 lstat,
 file_exists,
 is_writable,
 is_readable,
 is_executable,
 is_file,
 is_dir,
 is_link,
 filectime,
 fileatime,
 filemtime,
 fileinode,
 filegroup,
 fileowner,
 filesize,
 filetype i
 fileperms.

   
  

  
   
copy
Kopiuje plik
   
   
Opis

 
  int copy
  string ¼ród³o
  string przeznaczenie
 


 Tworzy kopiê pliku. Zwraca &true; je¶li kopiowanie powiod³o siê,
 &false; w przeciwnym przypadku.
 
  copy przyk³ad
  
if (!copy($file, $file.'.bak')) {
print ("Kopiowanie pliku nie powiod³o siê...
\n"); } Patrz tak¿e: rename. delete ¦lepy wpis Opis void delete string plik To jest ¶lepy wpis aby zadowoliæ ludzi którzy szukaj± unlink lub unset w nie w³a¶ciwym miejscu.

[PHP-DOC] cvs: phpdoc /pl/functions ftp.xml

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:15 2001 EDT

  Modified files:  
/phpdoc/pl/functionsftp.xml 
  Log:
  Updated to 1.26
  
Index: phpdoc/pl/functions/ftp.xml
diff -u phpdoc/pl/functions/ftp.xml:1.4 phpdoc/pl/functions/ftp.xml:1.5
--- phpdoc/pl/functions/ftp.xml:1.4 Sat Nov 10 16:50:10 2001
+++ phpdoc/pl/functions/ftp.xml Tue Nov 13 18:03:15 2001
@@ -1,5 +1,5 @@
 
-
+
  
   Funkcje FTP
   FTP
@@ -627,6 +627,6 @@
 sgml-local-ecat-files:nil
 End:
 vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
+vim: et tw=78 syn=xml
 vi: ts=1 sw=1
 -->





[PHP-DOC] cvs: phpdoc /pl Translators

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:10 2001 EDT

  Modified files:  
/phpdoc/pl  Translators 
  Log:
  Correction filesystem.xml revision to orginal revision = 1.87
  Update revision filesystem.xml from 1.5 to 1.7 our CVS
  Updated config.xml to 1.30, install.xml to 1.94
  Updated ftp.xml to 1.26
  
Index: phpdoc/pl/Translators
diff -u phpdoc/pl/Translators:1.13 phpdoc/pl/Translators:1.14
--- phpdoc/pl/Translators:1.13  Sun Nov 11 19:02:20 2001
+++ phpdoc/pl/Translators   Tue Nov 13 18:03:10 2001
@@ -28,8 +28,8 @@
 reserved.xml Qrak done 1.10
 resources.xml
 --- chapters --
-config.xml Leon done 1.29
-install.xml Leon done 1.90
+config.xml Leon done 1.30
+install.xml Leon done 1.94
 intro.xml Leon done 1.24
 security.xml
 --- faq ---
@@ -84,8 +84,8 @@
 fbsql.xml
 fdf.xml
 filepro.xml
-filesystem.xml adi started 1.5
-ftp.xml Leon done 1.25
+filesystem.xml adi started 1.87
+ftp.xml Leon done 1.26
 funchand.xml
 gettext.xml
 gmp.xml





[PHP-DOC] cvs: phpdoc /pl/chapters config.xml

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:06 2001 EDT

  Modified files:  
/phpdoc/pl/chapters config.xml 
  Log:
  Updated to 1.30
  
Index: phpdoc/pl/chapters/config.xml
diff -u phpdoc/pl/chapters/config.xml:1.5 phpdoc/pl/chapters/config.xml:1.6
--- phpdoc/pl/chapters/config.xml:1.5   Sun Nov 11 19:02:16 2001
+++ phpdoc/pl/chapters/config.xml   Tue Nov 13 18:03:06 2001
@@ -1,5 +1,5 @@
 
-
+
  
   Konfiguracja
 
@@ -387,6 +387,30 @@
  ¿e PHP bêdzie ca³kowicie ignorowa³ ciasteczka i przebija³ wszystkie
  zmienne otrzymane metod± GET zmiennymi o tej samej nazwie otrzymanymi
  metod± POST.
+
+
+ Zauwa¿, ¿e ta opcja nie jest dostêpna w PHP 4. U¿yj opcji variables_order.
+
+   
+  
+
+  
+   
+variables_order
+string
+   
+   
+
+ Ustawia porz±dek przetwarzania zmiennych EGPCS (Environment, GET,
+ Post, Cookie, Server). Domy¶lne ustawienie tej dyrektywy to
+ "EGPCS".Ustawienie tej dyrektywy np. na "GP" spowoduje,
+ ¿e PHP bêdzie ca³kowicie ignorowa³ ciasteczka i przebija³ wszystkie
+ zmienne otrzymane metod± GET zmiennymi o tej samej nazwie otrzymanymi
+ metod± POST.
+
+
+ Patrz tak¿e register_globals.
 

   





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

2001-11-13 Thread Leszek Krupinski

leszek  Tue Nov 13 18:03:01 2001 EDT

  Modified files:  
/phpdoc/pl/chapters install.xml 
  Log:
  Updated to 1.94
  
Index: phpdoc/pl/chapters/install.xml
diff -u phpdoc/pl/chapters/install.xml:1.4 phpdoc/pl/chapters/install.xml:1.5
--- phpdoc/pl/chapters/install.xml:1.4  Sun Nov 11 19:02:08 2001
+++ phpdoc/pl/chapters/install.xml  Tue Nov 13 18:03:01 2001
@@ -1,5 +1,5 @@
 
-
+
  
   Instalacja
   
@@ -2443,9 +2443,24 @@

   
  
+
+  
+   
+   --enable-overload 
+   
+   
+   
+PHP 3: Opcja niedostêpna w PHP 3
+
+   
+PHP 4: W³±cz obs³ugê przeci±¿ania w³a¶ciwo¶ci i metod obiektów.
+   
+   
+  
 

 
+

 Sieæ
 
@@ -3285,12 +3300,12 @@

 Skopiuj wybrany plik ini (zobacz ni¿ej) do swojego katalogu 
 '%WINDOWS%' na Windows 95/98 lub do katalogu
-'%SYSTEMROOT%' na Windows NT lub Windows 
-2000 i zmieñ jego nazwê na php.ini. Twój katalog
+'%SYSTEMROOT%' na Windows NT/2000/XP
+mieñ jego nazwê na php.ini. Twój katalog
 '%WINDOWS%' lub '%SYSTEMROOT%' to zazwyczaj:
 
  c:\windows na Windows 9x/Me
- c:\winnt lub c:\winnt40 na NT/2000 Server
+ c:\winnt lub c:\winnt40 na NT/2000/XP
 


@@ -3339,7 +3354,7 @@
Na PWS i IIS mo¿esz ustawiæ browscap.ini aby
wskazywa³o na 'c:\windows\system\inetsrv\browscap.ini' na
Windows 9x/Me lub 'c:\winnt\system32\inetsrv\browscap.ini'
-   na NT/2000 Server. 
+   na NT/2000/XP. 
   
  
  
@@ -3618,7 +3633,7 @@
   przeszukije Windows. Dobrymi miejscami s±:
   
c:\windows\system dla Windows 9x/Me
-   c:\winnt\system32 dla Windows NT/2000
+   c:\winnt\system32 dla Windows NT/2000/XP
   
   Je¶³i które¶ z nich s± ju¿ zainstalowane na twoim systemie, nadpisz je
   tylko je¶li co¶ nie dzia³a w porz±dku (przed nadpisaniem ich dobrze jest
@@ -4117,7 +4132,7 @@
 
  Je¶li chcesz u¿ywaæ PHP w postaci modu³u Apache, upewnij siê ¿e
  plik php4ts.dll znajduje siê w katalogu windws/system
- (dla Windows 9x/Me) lub winnt/system32 (dla Windows NT/2000), nadpisuj±c
+ (dla Windows 9x/Me) lub winnt/system32 (dla Windows NT/2000/XP), nadpisuj±c
  jakiekolwiek starsze pliki. Potem powiniene¶ dodaæ poni¿sze 2 linie do
  pliku konfiguracyjnego Apache:
  
@@ -4503,10 +4518,10 @@

 

-Windows NT/2000 i IIS 4 lub nowszy
+Windows NT/2000/XP i IIS 4 lub nowszy
 
 
- Aby zainstalowaæ PHP na systemie NT/2000 Server z serwerm WWW IIS 4 lub
+ Aby zainstalowaæ PHP na systemie NT/2000/XP Server z serwerm WWW IIS 4 lub
  nowszym, wype³nij poni¿sze instrukcje. Masz dwie mo¿liwo¶ci korzystania z
  PHP: u¿ywaj±c binariów CGI (php.exe) lub modu³u
  ISAPI.
@@ -4516,7 +4531,7 @@
  W obu przypadkach, musisz uruchomiæ Microsoft Management
  Console (mo¿e istnieæ jako 'Internet Services Manager', w Windows NT
  4.0 Option Pack lub w Control Panel=>Administrative Tools w Windows
- 2000). Potem kliknij prawym przyciskiem na wê¼le twojego serwera WWW
+ 2000/XP). Potem kliknij prawym przyciskiem na wê¼le twojego serwera WWW
  (najprawdopodobniej bêdzie to 'Default Web Server'), i wybierz
  'Properties'.
 





Re: [PHP-DOC] cvs: phpdoc /en/functions com.xml

2001-11-13 Thread Gabor Hojtsy

> + http://www.microsoft.com/Com/resources/comdocs.asp";>COM
> +   specificationor perhaps take a look at Don Box's
> + http://www.developmentor.com/dbox/yacl.htm";> Yet Another COM
> +   Libracy (YACL) 
> +  

Please use entities here for all URLs. The reason for
this, that we use entities for URLs is that may change
from time to time. If we use entities, the URL changes
in all languages. If you use URLs alone, it won't change.

Please add these two URLs in global.ent and use entities
here.

Thanks,
Goba




Re: [PHP-DOC] cvs: phpdoc /pl/faq migration4.xml

2001-11-13 Thread Gabor Hojtsy

> leszek Sun Nov 11 19:03:33 2001 EDT
> 
>   Modified files:  
> /phpdoc/pl/faq migration4.xml 
>   Log:
>   update, orthographic erorrs ;-(
>   added version attribute to 


[PHP-DOC] cvs: phpdoc /de Translators

2001-11-13 Thread Sebastian Nohn

nohnTue Nov 13 15:42:19 2001 EDT

  Modified files:  
/phpdoc/de  Translators 
  Log:
  started translation of nis functions
  
Index: phpdoc/de/Translators
diff -u phpdoc/de/Translators:1.203 phpdoc/de/Translators:1.204
--- phpdoc/de/Translators:1.203 Mon Nov 12 07:33:11 2001
+++ phpdoc/de/Translators   Tue Nov 13 15:42:19 2001
@@ -110,7 +110,7 @@
 mssql.xml   Martin Samesch  Änderungen
 mysql.xml   Uwe Steinmann   fertig
 network.xml Thomas Schuermann   fertig (bis V. 1.26)
-nis.xml
+nis.xml Sebastian Nohn  in Arbeit
 oci8.xmlThomas Frommin Arbeit
 openssl.xml Friedhelm Betz  in Arbeit
 oracle.xml  Martin Samesch  fertig (Rev. 1.19)





[PHP-DOC] cvs: phpdoc /pt_BR Translators

2001-11-13 Thread Renato Arruda

rarruda Tue Nov 13 15:25:18 2001 EDT

  Modified files:  
/phpdoc/pt_BR   Translators 
  Log:
  Added myself and pointed the file that i will be working on initially.
  
  
Index: phpdoc/pt_BR/Translators
diff -u phpdoc/pt_BR/Translators:1.14 phpdoc/pt_BR/Translators:1.15
--- phpdoc/pt_BR/Translators:1.14   Mon Nov 12 20:44:30 2001
+++ phpdoc/pt_BR/TranslatorsTue Nov 13 15:25:18 2001
@@ -38,7 +38,7 @@
 lucasr  Lucas Rocha [EMAIL PROTECTED]
 cpereira   Claudio Pereira [EMAIL PROTECTED]
 andre_aeAndré L F S Bacci   [EMAIL PROTECTED]
-
+rarrudaRenato Arruda   [EMAIL PROTECTED]
 
 file   person  status
 
@@ -94,7 +94,7 @@
 exec.xml
 fdf.xml
 filepro.xml
-filesystem.xml
+filesystem.xml rarruda started
 ftp.xml
 funchand.xml
 gettext.xml





[PHP-DOC] ¬°¤½¥q¸`¬Ù¤jµ§¹q¸Ü¶O¡I

2001-11-13 Thread wbb8gfdrt8


  ¬°¤½¥q¸`¬Ù¤jµ§¹q¸Ü¶O


­P¤½¥q¡B¥ø·~¸gÀçªÌ¡G

±z·Q§â±z¤½¥qªº°ê»Ú¡B°ê¤ºªø³~¡B¤j­ô¤jªº³q¸Ü¶O¥Î¤j´T­°§C¶Ü¡H

¨ä¹ê§Ú­Ì¤ñ¹qµø¼s§i¤Wªº³q¸Ü¶O¡AÁÙ­n«K©y³\¦h¡C



§Ú­Ì»P¤@Ãþ¹q«H·~ªÌ¡]°ê¤º¥Ø«e¦³¥|®a¡^¤ñ¸û°_¨Ó¡G


1. ³q¸Ü¥»¨­¤è­±¡G

   ³q¸Ü«~½è¤@¼Ë¦n¡I
   ±µ³q³t«×¤@¼Ë§Ö¡I
   ±µ³q²v¤@¼Ë°ª¡I
   í©w«×©M¨ä¥L¤@Ãþ·~ªÌ¨S®t§O¡I
   ­ì¦³¼·¸¹²ßºD¤£¥²§ïÅÜ¡I¡I

2. ¦ý¬O¦b»ù¿ú¡BªA°È¤è­±¡G

   ¤ñ¤@Ãþ¹q«H·~ªÌ¦b¹qµø¼s§i¤Wªº»ù¿úÁÙ­n«K©y³\¦h¡I¡I¡I
   ¤ñ¤@Ãþ¹q«H·~ªÌ¦bªA°È«~½è¤è­±§ó¬°¶K¤ß¡B©P¨ì¡I¡I¡I¡I
   ¦]¬°ªA°È©P¨ì¡A©Ò¥H§K°ò¥»¤ë¯²¶O¡B¦w¸Ë¶O¡B¾¹§÷¯²¥Î¶O¡I¡I


§Ú­Ì¬O±M¥H¤½¥q¥ø·~¬°ªA°È¹ï¶Hªº¦Xªk¤GÃþ¹q«H·~ªÌ¡A

§Ú­Ì²`²`ÁA¸Ñ¡A³q¸Ü¶O§Y¨Ï¦A«K©y¡A¥ø·~¥Î¤á­Ì³Ì»Ý­nªºÁÙ¬O¡G

Àu¨}¡Bí©w¡B¥i¾aªº³q¸Ü¨t²Î»P±M·~©P¨ìªºªA°È¡C

§Ú­Ì«D±`Åwªï±z¨Ó¹q¸ß°Ý¡I


ªA°È±M½u¡G

02-27548587
0927161901



¡]¤Z¬O¨Ó¹qªÌ§Y®Ú¾Ú±zªº·NÄ@¡AÃØ°e¶Q¤½¥q­û¤u¨C¤H¤j­ô¤j+ªù¸¹¡A

³o¼Ë¶Q¤½¥q­û¤u¥Î¤j­ô¤j¤¬¬ÛÁpµ¸®É¡A§Y¥i§¹¥þ§K°£³q¸Ü¶O¥Î¡C¡^





[PHP-DOC] cvs: phpdoc /it Translators

2001-11-13 Thread Luca Perugini

peruginiTue Nov 13 13:43:23 2001 EDT

  Modified files:  
/phpdoc/it  Translators 
  Log:
  Added functions/overload.xml.
  
  
Index: phpdoc/it/Translators
diff -u phpdoc/it/Translators:1.71 phpdoc/it/Translators:1.72
--- phpdoc/it/Translators:1.71  Mon Nov 12 16:05:05 2001
+++ phpdoc/it/Translators   Tue Nov 13 13:43:23 2001
@@ -140,6 +140,7 @@
 openssl.xml
 oracle.xml cucinatoT1.23
 outcontrol.xml
+overload.xml
 ovrimos.xml
 pcntl.xml
 pcre.xml   





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

2001-11-13 Thread Marco Cucinato

cucinatoTue Nov 13 04:22:13 2001 EDT

  Modified files:  
/phpdoc/it/functionsoracle.xml 
  Log:
  Typo fix
  
  
Index: phpdoc/it/functions/oracle.xml
diff -u phpdoc/it/functions/oracle.xml:1.16 phpdoc/it/functions/oracle.xml:1.17
--- phpdoc/it/functions/oracle.xml:1.16 Mon Nov 12 16:04:12 2001
+++ phpdoc/it/functions/oracle.xml  Tue Nov 13 04:22:12 2001
@@ -325,7 +325,7 @@
  
 
 
- Restituisce il codice numerido di errore dell'ultimo comando eseguito sul
+ Restituisce il codice numerico di errore dell'ultimo comando eseguito sul
  cursore o sulla connessione specificata.