Hi everybody!
I'm relatively new to php coding (Ok, so I've never used php before). I'm trying to install a poll script called php_poll (how redundant!) on my site, [url]www.mikestermedia.com.[/url] I have no idea where in the script the problem is, but, no matter what I try I keep getting the same errors. These are the error I get:
Warning: file("/home/httpd/vhosts/mikestermedia.com/httpdocs/poll_data.txt") - Permission denied in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 46
Warning: fopen("/home/httpd/vhosts/mikestermedia.com/httpdocs/poll_data.txt", "w") - Permission denied in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 59
Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 60
Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 61
Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 62
Warning: Supplied argument is not a valid File-Handle resource in /home/httpd/vhosts/mikestermedia.com/httpdocs/php_poll.php on line 63
rate saved
Could you please tell me what I'm doing wrong and how to fix it?
I'll Attach the zip file if anyone wants it.
to see for your self go to www.mikestermedia.com/php_poll.php
or www.mikestermedia.com/test.php