-
PHP PM System Without SQL Database
Is there a way to make a pretty secure PM system without having to use a SQL Database. Would TXT files or XML work? If so, how would I go about doing it?
Thanks!
-
-
The problem is not security. The problem is how you would manage a system like that. Having a database (any kind) is useful to organize the information. You could store, for example, one text file per message, but then you would still need to have passwords and users stored somewhere. Yes, XML might help, but a database is still better.
You'd need to use PHP to generate .xml or .txt files (it doesn't really matter-- PHP can process a text file of any kind how you'd like-- you could even make up your own extension), then save the information in them. Use sessions as you would with a database but using the information stored in the text files. Then when needed display the text from a message stored in a text file.
But, really, you'll have a much easier time doing this if you do it with a database. Databases can be problematic but in this kind of situation they are very helpful and save a lot of time in the end.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
The Following User Says Thank You to djr33 For This Useful Post:
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks