PDF permissions problems
| From: | Jeremy Reynolds | Date: | Mon, 31 Oct 2005 18:24:37 +0000 |
| Subject: | PDF permissions problems | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224897@lists.php.net to get a copy of this message | ||
I'm trying to write a FDF file into a directory outside of the webserver. I keep getting errors such as:
Warning: fopen(/x/x/FDF/FLQual.fdf): failed to open stream: Permission denied in /Library/WebServer/Documents/x/x/FLCorpQual.php on line 36
Can someone give me a quick lesson in permissions? For example, as long as the director I want to write into has read permissions, I'm ok, right? But what if that director is inside another directory that doesn't have read permissions? And does it matter that I'm writing from a PHP page that's within the Web Directory out into a director that's not within the Web Directory? I'm using absolute paths.
Jeremy