View previous topic :: View next topic |
Author |
Topic : "php comment system without mySQL?" |
Matthew member
Member # Joined: 05 Oct 2002 Posts: 3784 Location: I am out of here for good
|
Posted: Fri May 28, 2004 9:48 am |
|
![](templates/drizz/images/hrline.gif) |
php comment system without mySQL?
is this possible?
The thing is that my web-provider charges me extra for using mySQL and that really sucks and nothing that I can afford. I was thinking that maybe I can build a comment system without mySQL, been looking through a lot of java-script and php code and stuff but I am not that good with it since I am more of an old html coder.
Any feedback about this will be greatly appreciated and if anyone of you have links to info about this or know it by yourself it would be great.
I have google it and have been seeking info all around but no source really hit the target on if this really is possible.
Maybe java-script form handling can be used, can this be made to overwrite html pages so that anyone that makes a comment is adding to the html page?
any tips will be helpful
thanks in advance.
Matthew |
|
Back to top |
|
blehblehbleh junior member
Member # Joined: 10 Mar 2004 Posts: 40
|
|
Back to top |
|
o0katz0o junior member
Member # Joined: 21 Jan 2004 Posts: 12 Location: Australia
|
|
Back to top |
|
Matthew member
Member # Joined: 05 Oct 2002 Posts: 3784 Location: I am out of here for good
|
Posted: Fri May 28, 2004 10:13 pm |
|
![](templates/drizz/images/hrline.gif) |
many thanks for your help here guys.
oOkatzOo, I will send you a pm.
Matthew |
|
Back to top |
|
eyewoo member
Member # Joined: 23 Jun 2001 Posts: 2662 Location: Carbondale, CO
|
Posted: Sat May 29, 2004 1:30 pm |
|
![](templates/drizz/images/hrline.gif) |
You can certainly use PHP to save and retrieve comments from a text file stored on your server rather than in an SQL database. With a little extra work, you can set up the comment save/retrieve system so that it only saves/retrieves a set amount of comments - like the last 40 or so. For comments related to separate images, each set of comments can be saved in separate text files, probably best named the same as the image file, but with a TXT extension... At any rate, as with all programming there are a hundred ways to do what ever it is you want to do... PHP is great. It's simple and so well integrated with HTML. _________________ HonePie.com
tumblr blog
digtal art |
|
Back to top |
|
Matthew member
Member # Joined: 05 Oct 2002 Posts: 3784 Location: I am out of here for good
|
Posted: Sat May 29, 2004 1:52 pm |
|
![](templates/drizz/images/hrline.gif) |
yea I was thinking of to add separate text files for every image.
I got a really nice script from oOkatzOo that I am messing around with at the moment, thanks again oOkatzOo.
I was a bit afraid to look into this php thing but once u put your mind into it, it is very close to html stuff but with its own layout.
I wish the text files could be added into the php page though but that has to be a later question cause I am still messing around with the basics hehe.
thanks there eyewoo.
Matthew
btw is it possible to add to the thumbnail how many comments that has been posted? would this be the same as a text file but for the thumbnail instead? oh wait would that take for the both text files to be over-written? sniff it is confusing aswell.
*personal reminder, don't think out loud when posting in the forums* ah maan
ok sleeping time right about now |
|
Back to top |
|
|