| Author |
PHP comment system that doesn't require mySQL |
stealth-
Member

Posts: 999
Location: Eh?
Joined: 10.04.09 Rank: God |
|
Hi,
I'm working on a website on mine (stealth-x.com), and before I go around uploading the rest of the site i'd like to include a comment system. However, due to hosting restrictions, mySQL isn't running on the server. I know it should be possible to use a PHP comment system that runs off of text files, but I havn't the time to learn PHP right now, and I couldn't find anything of use from google. If anyone knows any project like this, and could point it out, that would be awesome 
The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
Mr_Cheese
HBH Owner

Posts: 2468
Location: Brighton, UK
Joined: 30.11.04 Rank: God |
|
you'll want to learn these php functions.
fwrite
fread
fopen
feof
that should do it. |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
hellboundhackersok
Member

Posts: 353
Location:
Joined: 20.09.07 Rank: God Warn Level: 95
|
|
I think you're looking for a Flat File Database ( http://www.google.com/search?q=flat+file+database )
Demonstration: http://www.designdetector.com/archives/04/10/FlatFileDatabaseDemo.php
Pretty easy to implement.
EDIT: Fixed URL, added demo
Paint.NET Pwns
Edited by hellboundhackersok on 26-06-09 09:26 |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
|
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website 
Wisdom spared is wisdom squared. |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
S1L3NTKn1GhT
Member

Posts: 468
Location: XXXX
Joined: 03.06.06 Rank: God Warn Level: 10
|
|
ranma wrote:
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website 
Its called X/HTML + CSS. . You don't HAVE to use php for a web site unless you want it to be more dynamic. I would suggest for this thought that you DO just buck it up and learn some PHP. Its not that hard and shouldn't take a WHOLE lot of time to get the hang of. Plus it'll give you a better background to move onto to making more dynamic web apps.
root@wtf.org#su - dumbass

Dude you're AWESOME!
-SystemMeltdown(MSN)
|
|
| Author |
RE: PHP comment system that doesn't require mySQL |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
S1L3NTKn1GhT wrote:
ranma wrote:
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website 
Its called X/HTML + CSS.  . You don't HAVE to use php for a web site unless you want it to be more dynamic. I would suggest for this thought that you DO just buck it up and learn some PHP. Its not that hard and shouldn't take a WHOLE lot of time to get the hang of. Plus it'll give you a better background to move onto to making more dynamic web apps.
I stopped considering javascblockedript-less and server-side-less websites as "making a website". I don't know why... I sorta forgot there's also plain websites. Makes me shiver
Wisdom spared is wisdom squared. |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
S1L3NTKn1GhT
Member

Posts: 468
Location: XXXX
Joined: 03.06.06 Rank: God Warn Level: 10
|
|
ranma wrote:
S1L3NTKn1GhT wrote:
ranma wrote:
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website 
Its called X/HTML + CSS.  . You don't HAVE to use php for a web site unless you want it to be more dynamic. I would suggest for this thought that you DO just buck it up and learn some PHP. Its not that hard and shouldn't take a WHOLE lot of time to get the hang of. Plus it'll give you a better background to move onto to making more dynamic web apps.
I stopped considering javasc blockedript-less and server-side-less websites as "making a website". I don't know why... I sorta forgot there's also plain websites. Makes me shiver
Why? Theres alot of REALLY cool and still quite dynamic as far as interactive, galleries etc. Google around for freelance web designers and you'll find some pretty cool designs that use merely CSS,HTML, AJAX scblockedripting. For personal sites its really not much of a requirement to use PHP.
root@wtf.org#su - dumbass

Dude you're AWESOME!
-SystemMeltdown(MSN)
|
|
| Author |
RE: PHP comment system that doesn't require mySQL |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
http://w3schools.com/ajax/default.asp
AJAX uses javascblockedript <.<
Wisdom spared is wisdom squared. |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
stealth-
Member

Posts: 999
Location: Eh?
Joined: 10.04.09 Rank: God |
|
|
hellboundhackersok wrote:
I think you're looking for a Flat File Database ( http://www.google.com/search?q=flat+file+database )
Demonstration: http://www.designdetector.com/archives/04/10/FlatFileDatabaseDemo.php
Pretty easy to implement.
EDIT: Fixed URL, added demo
Awesome, thats exactly what I was looking for. Thanks 
And I am planning on learning PHP, its just that I'd like to finish learning python and C before I move on to another languages.
The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com |
|
| Author |
RE: PHP comment system that doesn't require mySQL |
ranma
Member

Posts: 269
Location: Behind a sphere
Joined: 27.08.05 Rank: HBH Guru |
|
Lol. I don't think you can easily finish those two languages. They can go quite in-depth. But sure, whatever.
Wisdom spared is wisdom squared. |
|