Re: [PHP] File system management

2004-10-24 Thread raditha dissanayake
Jose wrote: Hi, Some of the filesystem function can't be executed in a linux httpd server. I tried, mkdir(); chmod(); fwrite(); and some other filesystem functions. Those worked in widows enviornment but in linux i got a message "Permission denied" My PHP version is 4.2.3 in linux. What are the con

Re: [PHP] File System

2003-03-17 Thread Joel Colombo
"Charles Kline" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 17, 2003 6:04 PM > Subject: Re: [PHP] File System > > > > $result = unlink("file.txt") or die("Operation failed!'); > > > >

Re: [PHP] File System

2003-03-16 Thread Philip J. Newman
how about just if (file_exists($dest_file)) { unlink ($dest_file); } - Original Message - From: "Charles Kline" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 6:04 PM Subject: Re: [PHP] File System > $

Re: [PHP] File System

2003-03-16 Thread Charles Kline
$result = unlink("file.txt") or die("Operation failed!'); On Monday, March 17, 2003, at 12:58 AM, Philip J. Newman wrote: How do i delete a file ... ? kill?? dele *srugs* -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- PHP General Mailing List (ht

Re: [PHP] File System

2003-03-16 Thread Charles Kline
On Monday, March 17, 2003, at 12:58 AM, Philip J. Newman wrote: How do i delete a file ... ? kill?? dele *srugs* -- Philip J. Newman. Head Developer [EMAIL PROTECTED] +64 (9) 576 9491 +64 021-048-3999 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] file system question

2001-10-24 Thread Rafael Steil
Well, this is a problem.. with perl, you can use suidperl, but not with php.. the most easyest way is to give write permission to apache user to the directory you want to upload the files... Rafael Steil On Wednesday 24 October 2001 11:43, you wrote: > Hello- > > I'm trying to write a

Re: [PHP] File system or MySQL ?

2001-03-15 Thread Chris Lee
I would guess that file access is faster, try it out. write a simple app that will write data to a file, close it, open it write it etc. compare this to same on a db. every computer every server is differnet, test to see what is fast on your system. thats ultimitly the most importnat no? that i