<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>PHP Community</title><link>http://forums.iis.net/1102.aspx</link><description>A forum for the PHP community running on IIS</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: PHP Error related to permissions</title><link>http://forums.iis.net/thread/1908646.aspx</link><pubDate>Mon, 29 Jun 2009 20:02:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908646</guid><dc:creator>paulwratt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908646.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1908646</wfw:commentRss><description>&lt;p&gt;glad you figured it out..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;.. can you give me any pointers (from&amp;nbsp;your setup) as to how you are getting PHP error output (I have checked php-cgi to make sure its not dll related)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;EDIT:&lt;/p&gt;
&lt;p&gt;.. OK, it must be contagiuos, I also figured it out, correct &amp;quot;windows&amp;quot; php.ini setup.&lt;/p&gt;
&lt;p&gt;for anyone else who gets this far (working php but not errors) go &lt;a href="http://www.iis-aid.com/articles/how_to_guides/installing_php_5_on_iis_in_5_simple_steps?page=0%2C3" target="_blank"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: PHP Error related to permissions</title><link>http://forums.iis.net/thread/1908436.aspx</link><pubDate>Sat, 27 Jun 2009 13:52:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908436</guid><dc:creator>JohnnyDangerously</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908436.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1908436</wfw:commentRss><description>Just figured it out.  After hours of troubleshooting, I realized that I had the wrong file path.</description></item><item><title>PHP Error related to permissions</title><link>http://forums.iis.net/thread/1908435.aspx</link><pubDate>Sat, 27 Jun 2009 13:48:18 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908435</guid><dc:creator>JohnnyDangerously</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908435.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1102&amp;PostID=1908435</wfw:commentRss><description>ERROR: 
PHP Warning:  fopen(inquiry.txt) [&lt;a&gt;function.fopen&lt;/a&gt;]: failed to open stream: Permission denied in C:\inetpub\wwwroot\HollyDilts\eform.php on line 16

CODE: 
$name = $_POST[&amp;#39;name&amp;#39;];
$email = $_POST[&amp;#39;email&amp;#39;];
$message = $_POST[&amp;#39;message&amp;#39;];
// set file to write
$file = &amp;#39;inquiry.txt&amp;#39;; 
// open file 
$fh = fopen($file, &amp;#39;w&amp;#39;) or die(&amp;#39;Could not open file!&amp;#39;); 
// write to file 
fwrite($fh, &amp;quot;Cool message&amp;quot;) or die(&amp;#39;Could not write to file&amp;#39;); 
// close file 
fclose($fh); 
?&amp;gt; 


PERMISSIONS ALREADY SET:
IIS_IUSRS have FULL PERMISSIONS from wwwroot on down.

ENVIRONMENT:
Vista 32 / IIS 7 / PHP 5

ANY assistance would be greatly appreciated.</description></item></channel></rss>