Václav Slováček wrote:

When my web is hosted, there is no other way how to solve it? I realized that I can't see the file in my ftp client, so I cant't change the permissions. Of course, I can't use chmod() to change the permissions when I'm not allowed to write into the file. So the only solution is to contact admin?

ftp clients usually have a special configuration setting that will allow you to view such 'hidden' files.



Dne Mon, 5 Jul 2004 17:40:55 +0800 napsal/-a Jason Wong <[EMAIL PROTECTED]> příspěvek následujícího znění::


On Monday 05 July 2004 16:58, Václav Slováček wrote:

I have a problem, but maybe it's more about Apache than about PHP. I need
to access a Apache .htaccess file from PHP and modify it, but I always get
"access denied" error. Could you help me, with solving this problem?


"access denied" most likely means you don't have permission to read/write it.
If you're running your own server, change the permissions accordingly,
otherwise explain to your server admin why you want to change the .htaccess
file(s).





--
Raditha Dissanayake.
---------------------------------------------
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to