I've always used MySQL with PHP and on my site I added a chat system that uses MySQL which as you would know is VERY database heavy so I think I'm going to switch it over to XML files for each user just for the chat system to take all the load off of the DB.
I have never used XML with PHP before so I was looking for information, and found that the queries are pretty similar to MySQL.
Here are my questions:
- Is it the client writing to the file or the server writing to the file?
- Do I have to
chmod
them as 777? - Do I also have to
chmod
the XML file as 777? - If I do have to set the permissions to 777, does that drastically decrease security and is there any way to tighten that up?
- Does anyone have any tutorials they would recommend me to as well? Most of the stuff I found is from 2003 - 2005. Don't know how much has changed in it.
Hope it's cool I ask this question here.
Thanks a bunch -Sal