🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.php
Article #31

Re: Creating new file

#31
From: Siim Einfeldt
Date: Fri, 14 Jul 2000 00:00
30 lines
1797 bytes

Thank you

On Fri, 14 Jul 2000, Martin Jansen wrote:

> * 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
> 

-- 

_______________________________________________________________________________
 ___                                 
||_   Siim Einfeldt                         |<---------------------------------   
||__  siim_e@pshg.edu.ee                    |<---------------------------------      
||__  "Everything Is Possible"              |<---------------------------------
|___| http://www.pshg.edu.ee/~siim_e/vb     |<---------------------------------
Technical Details
Message-ID: <Pine.LNX.4.21.0007141049310.19181-100000@pshg.edu.ee>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8kjovp$fb1$1@talia.mad.ttd.net> <3c9smscj8c7mo3cfnmgm40t1ca08aqro92@4ax.com> <Pine.LNX.4.21.0007132332331.9382-100000@pshg.edu.ee> <qbatmscnts9kfeaggq6928tuhcdfftf50o@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f92b,d1e182c066e0b422
X-Google-Attributes: gid10f92b,public
X-Google-Thread: 10ce1c,d1e182c066e0b422
X-Google-Attributes: gid10ce1c,public
From: Siim Einfeldt <siim_e@pshg.edu.ee>
Subject: Re: Creating new file
Date: 2000/07/14
Message-ID: <Pine.LNX.4.21.0007141049310.19181-100000@pshg.edu.ee>
X-Deja-AN: 646243706
References: <8kjovp$fb1$1@talia.mad.ttd.net> <3c9smscj8c7mo3cfnmgm40t1ca08aqro92@4ax.com> <Pine.LNX.4.21.0007132332331.9382-100000@pshg.edu.ee> <qbatmscnts9kfeaggq6928tuhcdfftf50o@4ax.com>
To: Martin Jansen <derjansen@gmx.de>
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: diablo.uninet.ee 963564594 18082 siim_e@193.40.46.193
MIME-Version: 1.0
Newsgroups: de.comp.lang.php,ba.php