Do PHP can make a user base update web site whitout Database?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Do PHP can make a user base update web site whitout Database?
Hi all,
I am newbie on Programming, now, I self-learning build web site.
I want to ask, do PHP can make a user base (only need this user name and password, without database manage like mysql etc, since my web host don't provide a database like mysql etc for me to development the web site) update web site without database?
My need is very simply, just need make a page for this user login, and then enter some text base content with some photo and some text control like , [ul][li][/li][/ul] etc for the text position etc. and then update and add the text to the page. Of course, the user can del the post and change the content as need in future too.
I want to ask, do anyone know how to do like this? or where can find the example PHP code, and the keyword of like this search is what?
If you can't use a database, you could use text files. (That would be your search term for more material: "PHP text files".) Here is a tutorial on working with PHP and text files:
If security is an issue, think about changing hosts to one that provides database support. At the very least, make sure you keep the text files out of your web space. If your document root is /home/user/public_html, don't keep the text files in public_html or any subdirectory.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.