Sijun Forums Forum Index
Log in to check your private messages
My Profile Search Who's Online Member List FAQ Register Login Sijun Forums Forum Index

Post new topic   Reply to topic
   Sijun Forums Forum Index >> Digital Art Discussion
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

PostPosted: Fri May 28, 2004 9:48 am     Reply with quote
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. Smile
Matthew
Back to top
View user's profile Send private message Send e-mail
blehblehbleh
junior member


Member #
Joined: 10 Mar 2004
Posts: 40

PostPosted: Fri May 28, 2004 11:15 am     Reply with quote
You can't save anything using Javascript.

Google: php text files
http://codewalkers.com/tutorials/57/1.html
Back to top
View user's profile Send private message Visit poster's website
o0katz0o
junior member


Member #
Joined: 21 Jan 2004
Posts: 12
Location: Australia

PostPosted: Fri May 28, 2004 5:11 pm     Reply with quote
i can help you with coding it if you like
msn: [email protected]
email: [email protected]

and you can only do it with PHP, recording the data to a text file.
_________________
Katie
LUVED.ORG
CREATEDIGITAL.NET
Back to top
View user's profile Send private message Visit poster's website
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Fri May 28, 2004 10:13 pm     Reply with quote
many thanks for your help here guys. Smile

oOkatzOo, I will send you a pm.

Matthew
Back to top
View user's profile Send private message Send e-mail
eyewoo
member


Member #
Joined: 23 Jun 2001
Posts: 2662
Location: Carbondale, CO

PostPosted: Sat May 29, 2004 1:30 pm     Reply with quote
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
View user's profile Send private message Send e-mail Visit poster's website
Matthew
member


Member #
Joined: 05 Oct 2002
Posts: 3784
Location: I am out of here for good

PostPosted: Sat May 29, 2004 1:52 pm     Reply with quote
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. Smile

thanks there eyewoo. Smile
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 Cool

ok sleeping time right about now
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Sijun Forums Forum Index -> Digital Art Discussion All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2005 phpBB Group