Jason Wong wrote:
On Friday 14 February 2003 16:36, Dunkel wrote:
How do I ensure that all file access permissions are allowed? What is
the proper way to do it?
- I tried to 'fopen' an existing text file but got "Permission denied"
error.
- I tried different parameters,
text to add\n";
$handle = fopen($filename, 'a+w');
fwrite($handle, $somecontent);
fclose($handle);
?>
So, what should I do to get it work?
Yours,
Paul Dunkel
--
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ontent = 'PERKELE\n';
$filename = 'teksti.txt';
$handle = fopen($filename, 'wb');
fwrite($handle, $somecontent);
fclose($handle);
I've tried this in two totally different servers, today I'll try on the
third one.
All help absolutely welcome!
Paul Dunkel
--
pdun
ERKELE\n';
$filename = 'teksti.txt';
$handle = fopen($filename, 'wb');
fwrite($handle, $somecontent);
fclose($handle);
I've tried this in two totally different servers, tomorrow I'll try on
the third one.
All help absolutely welcome!
Paul Dunkel
--
pdunkel.nic.fi
4 matches
Mail list logo