Re: [PHP] how to create a file with php

2002-04-11 Thread Andrey Hristov
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

Re: [PHP] how to create a file with php

2002-04-11 Thread Rasmus Lerdorf
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

Re: [PHP] how to create a file with php

2002-04-11 Thread heinisch
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

Re: [PHP] how to create a file with php

2002-04-11 Thread Andrey Hristov
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,

Re: [PHP] how to create a file with php

2002-04-11 Thread Rasmus Lerdorf
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

[PHP] how to create a file with php

2002-04-11 Thread andy
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