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
"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!');
> >
> >
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
> $
$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
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
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
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
7 matches
Mail list logo