You are here: RE: [PHP] PDF permissions problems « PHP « IT news, forums, messages
RE: [PHP] PDF permissions problems

Posted by Jay Blanchard on 10/31/05 20:30

[snip]
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.
[/snip]

I typed "lesson on directory permissions" in Google, and it was amazing.

In the case that you are talking about the 'person' that the web server is
running as must have write permissions to a directory where it is trying to
write things.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация