Site works on debian but not on OpenSUSE

Hello people,
I always have problems with OpenSUSE, but unfortunately I'm not allowed to take it off the server … My problem is this, I have a site hosted on an OpenSUSE, with a "Guestbook" on the site, which does not use the database, this book records all in one file. "txt".
In debian this book works perfectly, as the message posted on OpenSUSE does not work, I used the same book in two OSes, just copied OpenSUSE for debian and it worked … I permission that I gave to the file was "chmod 666-name file.txt" …
In debian I had not given any permission and when I post the message, it complained that I could write the file, since openSUSE does not say anything … Maybe wrong php5 OpenSUSE or something?
Best Regards,
Garry kirtsen
