Article View: de.comp.lang.php
Article #30Re: Creating new file
From: Martin Jansen
Date: Fri, 14 Jul 2000 00:00
Date: Fri, 14 Jul 2000 00:00
17 lines
1382 bytes
1382 bytes
* Siim Einfeldt <siim_e@pshg.edu.ee> wrote:
>How can I create a new file in php?
With fopen():
<http://www.php.net/manual/function.fopen.php> says:
"[...]'w' - Open for writing only; place the file pointer at the
beginning of the file and truncate the file to zero length. If the
^^^^^^
file does not exist, attempt to create it.[...]"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Martin
--
Martin Jansen � mailto:mail@martin-jansen.de
PGP 0x18176561 � http://www.php.martin-jansen.de/
Technical Details
Message-ID:
<qbatmscnts9kfeaggq6928tuhcdfftf50o@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8kjovp$fb1$1@talia.mad.ttd.net> <3c9smscj8c7mo3cfnmgm40t1ca08aqro92@4ax.com> <Pine.LNX.4.21.0007132332331.9382-100000@pshg.edu.ee>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10f92b,d1e182c066e0b422 X-Google-Attributes: gid10f92b,public X-Google-Thread: 10ce1c,d1e182c066e0b422 X-Google-Attributes: gid10ce1c,public From: Martin Jansen <mail@martin-jansen.de> Subject: Re: Creating new file Date: 2000/07/14 Message-ID: <qbatmscnts9kfeaggq6928tuhcdfftf50o@4ax.com> X-Deja-AN: 646206663 Content-Transfer-Encoding: 8bit References: <8kjovp$fb1$1@talia.mad.ttd.net> <3c9smscj8c7mo3cfnmgm40t1ca08aqro92@4ax.com> <Pine.LNX.4.21.0007132332331.9382-100000@pshg.edu.ee> Content-Type: text/plain; charset=ISO-8859-1 X-Trace: fu-berlin.de 963554024 2864917 212.202.70.237 (16 1667 [8988]) Organization: Chaos, Unordnung & Co GmbH Mime-Version: 1.0 Reply-To: derjansen@gmx.de (Martin Jansen) Newsgroups: de.comp.lang.php,ba.php