Follow us on Twitter!
One mans freedom fighter, another's terrorist.
Thursday, April 17, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 15
Guests Online: 15
Members Online: 0

Registered Members: 82815
Newest Member: medjiking
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

PHP comment system that doesn't require mySQL

stealth-
Member



Posts: 1003
Location: Eh?
Joined: 10.04.09
Rank:
Mad User
Posted on 26-06-09 08:06
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 Smile


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. . .
http://www.stealth-x.com
Author

RE: PHP comment system that doesn't require mySQL

Mr_Cheese




Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
Uber Elite
Posted on 26-06-09 08:56
you'll want to learn these php functions.

fwrite
fread
fopen
feof

that should do it.
http://www.hellboundhackers.org/
Author

RE: PHP comment system that doesn't require mySQL

hellboundhackersok
Member



Posts: 353
Location:
Joined: 20.09.07
Rank:
Moderate
Warn Level: 95
Posted on 26-06-09 09:23
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


i.imgur.com/qBWHo0R.png


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
Posted on 26-06-09 17:09
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

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-06-09 17:45
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. Pfft . 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
Posted on 26-06-09 18:28
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. Pfft . 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

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 26-06-09 18:41
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. Pfft . 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
Posted on 26-06-09 18:46
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
Posted on 26-06-09 19:39
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 Smile

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. . .
http://www.stealth-x.com
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
Posted on 26-06-09 20:16
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.