Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-05-2005, 12:09 AM   #1
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Rep: Reputation: 15
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?

Sorry of my poor English

thx for your time to read my post :-)
Old 01-05-2005, 05:27 AM   #2
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Try looking for forum software that uses flat files as the database. UBB is perl but flat files.
Old 01-05-2005, 07:26 AM   #3
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419

Rep: Reputation: 30

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.

Good luck!
Old 01-05-2005, 09:52 AM   #4
Registered: Jan 2004
Distribution: Slackware
Posts: 96

Rep: Reputation: 15
If you can't run a database server, you may take a look at SQLite:
SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! Java Database programming using OOo Base mmarkvillanueva Programming 6 10-29-2005 01:20 AM can't use text database in calc or base brickbat Linux - Software 2 07-13-2005 02:43 PM
Need a user-friendly but versitile way to run a web site. jedson Linux - Software 3 10-30-2004 08:02 AM
PHP Software for my web site BrettPower Linux - Software 1 03-04-2004 05:56 PM
make a database and interface is web browser wood Programming 4 01-30-2004 06:35 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration