Updating Information Edited.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
caspar
Forum Newbie
Posts: 1
Joined: Mon Oct 22, 2007 10:01 pm

Updating Information Edited.

Post by caspar »

Hi, I'm creating a database system using php programming but i can't seem to update this particular information when it's edited. what seems to be the problem here? It worked on xampp server when I edited but it is only used as a testing server. It won't work when i use it on Mozilla Firefox. Here's the error.

- Warning: fopen(/home/mp15/public_html/gleam/gleam.include/gleam.conf.inc): failed to open stream: Permission denied in /home/mp15/public_html/gleam/gleam-module-setup.php on line 92
Cannot open file (/home/mp15/public_html/gleam/gleam.include/gleam.conf.inc)

92 if (!$handle = fopen($filename, 'w')) {
93 echo "Cannot open file ($filename)";
94 exit;
95 }
96
97 if (fwrite($handle, $content) == FALSE)
98 {
99 echo "Cannot write to file ($filename)";
100 exit;
101 }

Help needed urgently. Thanks!
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

What does the error say again?


.. Permissions are not set correctly to open the file, for what ever server software you are using.
Post Reply