You are here: Question about Safe Mode « PHP « IT news, forums, messages
Question about Safe Mode

Posted by Rick Root on 01/31/05 15:30

I have a little home made CMS that writes files... on the server I've
recently installed this CMS on, those files get written as apache:apache ...

that file uses include to include other files that are not owned by
"apache", and this doesn't work.

Warning: main(): SAFE MODE Restriction in effect. The script whose uid
is 48 is not allowed to access ./inc_pagecontent.php owned by uid 538 in
/home/virtual/site36/fst/var/www/html/test.php on line 3


So... how do I work around this? Can I get php to write the files so
they aren't owned by "apache" but rather thwn owner of the php script
that creates them?

Thanks.

Rick






--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 1/28/2005

 

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

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