I'm really happy that I learnt for this function :)
Andrey
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 7:17 PM
Subject: Re: [PHP] how to create a file with
PHP has a touch() function. No need to exec()
On Thu, 11 Apr 2002 [EMAIL PROTECTED] wrote:
> At 11.04.2002 17:14, you wrote:
> >Hi there,
> >
> >I am wondering how to create a file on the server. I do not want to write
> >anything to the file. Just create it.
> >
> >Thanx Andy
>
> exec("touch
At 11.04.2002 17:14, you wrote:
>Hi there,
>
>I am wondering how to create a file on the server. I do not want to write
>anything to the file. Just create it.
>
>Thanx Andy
exec("touch filename"); // if you´re allowed to do this. c 'rights'
Oliver
--
PHP General Mailing List (http://www.php.ne
exec("touch /path/to/filename");
exec(":> /path/to/filename");
or just
fclose(fopen("/path/to/filename","w+"));
Andrey
- Original Message -
From: "andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11,
http://php.net/touch
On Thu, 11 Apr 2002, andy wrote:
> Hi there,
>
> I am wondering how to create a file on the server. I do not want to write
> anything to the file. Just create it.
>
> Thanx Andy
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://w
Hi there,
I am wondering how to create a file on the server. I do not want to write
anything to the file. Just create it.
Thanx Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo