cvs: phpdoc-hu /reference/filesystem/functions is-dir.xml is-executable.xml is-file.xml is-readable.xml is-writable.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170097798@cvsserver>
chappy		Mon Jan 29 19:09:58 2007 UTC

  Added files:                 
    /phpdoc-hu/reference/filesystem/functions	is-file.xml 
                                             	is-executable.xml 
                                             	is-writable.xml 
                                             	is-readable.xml 
                                             	is-dir.xml 
  Log:
  sync
chappy-20070129190958.txt (text/plain, 10.6 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-file.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/is-file.xml
+++ phpdoc-hu/reference/filesystem/functions/is-file.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.is-file">
   <refnamediv>
    <refname>is_file</refname>
    <refpurpose>Megállapítja hogy a megadott fájlnév valódi fájl-e</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>bool</type><methodname>is_file</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     &true;-val tér vissza, ha a megadott fájlnév létezik és valódi fájl.
    </para>
    <para>
     <example>
      <title><function>is_file</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?php
var_dump(is_file('a_file.txt')) . "\n";
var_dump(is_file('/usr/bin/')) . "\n";
?>
]]>
      </programlisting>
      &example.outputs;
      <screen>
<![CDATA[
bool(true)
bool(false)
]]>
      </screen>
     </example>
    </para>

    &note.clearstatcache;
    
    &tip.fopen-wrapper.stat;

    <para>
     Lásd még: <function>is_dir</function> és
     <function>is_link</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-executable.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/is-executable.xml
+++ phpdoc-hu/reference/filesystem/functions/is-executable.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.12 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.is-executable">
   <refnamediv>
    <refname>is_executable</refname>
    <refpurpose>Megállapítja hogy a megadott fájlnév futtatható-e</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>bool</type><methodname>is_executable</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     &true;-val tér vissza, ha a megadott fájlnév létezik és az futtatható.
    </para>
    <para>
     <function>is_executable</function> elérhetõ Windowson is
     <productname>Windows</productname> a PHP 5.0.0 óta.
    </para>
    <para>
     <example>
      <title><function>is_executable</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?php

$file = '/home/vincent/somefile.sh';

if (is_executable($file)) {
    echo $file.' is executable';
} else {
    echo $file.' is not executable';
}

?>
]]>
      </programlisting>
     </example>
    </para>
    
    &note.clearstatcache;

    &tip.fopen-wrapper.stat;

    <para>
     Lásd még: <function>is_file</function> és
     <function>is_link</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-writable.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/is-writable.xml
+++ phpdoc-hu/reference/filesystem/functions/is-writable.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.is-writable">
   <refnamediv>
    <refname>is_writable</refname>
    <refpurpose>Megállapítja hogy a megadott fájlnév írható-e</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>bool</type><methodname>is_writable</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     &true;-val tér vissza ha a <parameter>filename</parameter> paraméterben megadott fájl létezik, és az 
	 írható. A <parameter>filename</parameter> paraméter lehet könyvtár is, így a 
	 könyvtárak írhatósága is ellenõrizhetõ.
    </para>
    <para>
     Tartsd fejben, hogy a PHP azzal a felhasználói azonosítóval férhet hozzá a fájlokhoz,
	 amelyen a webszerver fut (rendszerint 'nobody'). A safe mode 
	 korlátozások nincsenek bevonva a fiókba.
    </para>
    <para>
     <example>
      <title><function>is_writable</function> példa</title>
      <programlisting role="php">
<![CDATA[      
<?php
$filename = 'test.txt';
if (is_writable($filename)) {
    echo 'The file is writable';
} else {
    echo 'The file is not writable';
}
?>
]]>
      </programlisting>
     </example>
    </para>

    &note.clearstatcache;
    
    &tip.fopen-wrapper.stat;
    
    <para>
     Lásd még: <function>is_readable</function>,
     <function>file_exists</function>, és 
     <function>fwrite</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-readable.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/is-readable.xml
+++ phpdoc-hu/reference/filesystem/functions/is-readable.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.is-readable">
   <refnamediv>
    <refname>is_readable</refname>
    <refpurpose>Megállapítja, hogy a megadott megadott fájlnév olvasható-e</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>bool</type><methodname>is_readable</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     &true;-val tér vissza ha a <parameter>filename</parameter> paraméterben megadott fájl létezik, és az 
	 olvasható.
    </para>
    <para>
     Tartsd fejben, hogy a PHP azzal a felhasználói azonosítóval férhet hozzá a fájlokhoz,
	 amelyen a webszerver fut (rendszerint 'nobody'). A safe mode 
	 korlátozások nincsenek bevonva a fiókba.
    </para>
    <para>
     <example>
      <title><function>is_readable</function> példa</title>
      <programlisting role="php">
<![CDATA[      
<?php
$filename = 'test.txt';
if (is_readable($filename)) {
    echo 'The file is readable';
} else {
    echo 'The file is not readable';
}
?>
]]>
      </programlisting>
     </example>
    </para>

    &note.clearstatcache;

    &tip.fopen-wrapper.stat;

    <para>
     Lásd még: <function>is_writable</function>, 
     <function>file_exists</function>, és
     <function>fgets</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/is-dir.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/is-dir.xml
+++ phpdoc-hu/reference/filesystem/functions/is-dir.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.is-dir">
   <refnamediv>
    <refname>is_dir</refname>
    <refpurpose>Megállapítja, hogy a megadott fájlnév valódi könyvtár-e</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>bool</type><methodname>is_dir</methodname>
      <methodparam><type>string</type><parameter>filename</parameter></methodparam>
     </methodsynopsis>
    <para>
     &true;-val tér vissza, ha a megadott fájlnév létezik és az valódi könyvtár
	 Ha a <parameter>filename</parameter> relatív fájlnév, a 
	 jelenlegi könyvtárhoz viszónyítva ellenõrzi a PHP.
    </para>
    &note.clearstatcache;
    <para>
     <example>
      <title><function>is_dir</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?
var_dump(is_dir('a_file.txt')) . "\n";
var_dump(is_dir('bogus_dir/abc')) . "\n";

var_dump(is_dir('..')); //egy könyvtárral feljebb
?>
]]>
      </programlisting>
      &example.outputs;
      <screen>
<![CDATA[
bool(false)
bool(false)
bool(true)
]]>
      </screen>
     </example>
    </para>    
    &tip.fopen-wrapper.stat;

    <para>
     Lásd még: <function>chdir</function>, <link linkend="class.dir">dir</link>,
     <function>opendir</function>, <function>is_file</function> és
     <function>is_link</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.