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

Posts: 1003 Location: Eh?
Joined: 10.04.09 Rank: Mad User | |
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.stealt. . . |
 |
Author | RE: PHP comment system that doesn't require mySQL |
Mr_Cheese Member

Posts: 2468 Location: Brighton, UK
Joined: 30.11.04 Rank: Uber Elite | |
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: Wiseman 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
Edited by hellboundhackersok on 26-06-09 09:26 |
 |
Author | RE: PHP comment system that doesn't require mySQL |
ranma Member

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

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
ranma wrote:
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website :whoa:
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.
|
 |
Author | RE: PHP comment system that doesn't require mySQL |
ranma Member

Posts: 273 Location: Behind a sphere
Joined: 27.08.05 Rank: Active User | |
S1L3NTKn1GhT wrote:
ranma wrote:
stealth- wrote:
but I havn't the time to learn PHP right now
Then how are you making a website :whoa:
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 javascript-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 |
Member

Posts: Location:
Joined: 01.01.70 Rank: Guest | |
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 :whoa:
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 javascript-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 scripting. For personal sites its really not much of a requirement to use PHP.
|
 |
Author | RE: PHP comment system that doesn't require mySQL |
ranma Member

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

Posts: 1003 Location: Eh?
Joined: 10.04.09 Rank: Mad User | |
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.stealt. . . |
 |
Author | RE: PHP comment system that doesn't require mySQL |
ranma Member

Posts: 273 Location: Behind a sphere
Joined: 27.08.05 Rank: Active User | |
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. |
 |