This script lists all files/directories in '.' directory. I wanna pass some
querystring with anchor around directories listed, so that if a user clicks
a directory-link, all the files in it are listed. How? Please help.
";
echo "Directories:";
while (false !== ($file = readdir($handle))) {
if(is
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
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 configurations
"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
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.net/unsub.php
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
Hello-
I'm trying to write a php script that creates a directory and then copies
uploaded files to that directory. That isn't hard but what is hard is the
fact that the script tells me that i do not have permission to do any of
these actions. I'm running red hat 7.1 and I have heard things abou
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
What is faster for a chat php software ?
To use a file for write or to use a MySQL database ?
Marian Vasile
IT Manager
Schnecker van Wyk & Pearson
www.investments.ro
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EM
12 matches
Mail list logo