0

Please help me can sumebody give me a comment script that uses PHP but it doesnt need to use a MYSQL database.

4
Contributors
14
Replies
15
Views
6 Years
Discussion Span
Last Post by d3rck
0

use .txt files, if someone comments, a php-file will insert an json-code, and update it when someone comments it again, like for post 2034 the php-file first creates the file 2034.txt, and it will add the comment like:

{1 : {'author':'Me','comment':'This is a comment','date','2011-02-22'}}

on the posts' page it will be read out simply with php or javascript and if a user adds one more comment, first php will read and save the json before, add the new comment and updates the file with the new json.

0

could you possibly make this script for me as i am a noob when it comes to php

0

thanks for the reply, could you possibly make this script for me as i am a noob when it comes to php

0

you could also use a free comment-service like: http://disqus.com/
if you can't do this in php.
We do not code scripts for you, we only help with soultions for your problems you have while coding.

0

out of curiousity, why would you prefer an on file (.txt) storage than mysql?

I don't think spoon feeding is allowed here but should you have the motivation to learn php and do some scripts of your own, I would recommend you watch this http://www.youtube.com/watch?v=8NWR4iINHLM&feature=relmfu

This one helped me out a lot in creating my own scripts (After I got my hands dirty first). The instructor teaches you things by example so you will learn quickly.

Edited by d3rck: n/a

0

> could you possibly make this script for me as i am a noob when it comes to php

Certainly, what figure did you have in mind?

0

what do you mean what figuer do you have mind, if you mean pay you thats not possible sorry,

0

i am currently using disqus but i want my website to look more professional, please view my website

Edited by Ezzaral: Please do not link to personal sites unless it is absolutely required by the question.

0

> what do you mean what figuer do you have mind, if you mean pay you thats not possible sorry,

But you asked,

> could you possibly make this script for me as i am a noob when it comes to php

I assumed, you were asking somebody to write the code for you. You obviously didn't mean to ask somebody to write bespoke code for free, so I got confused. What did you mean?

>i am currently using disqus but i want my website to look more professional

And? What do you want? I would like a bigger house, but telling a random stranger that ain't gonna make it happen. Unless I find some builder-cum-architect schmuck that'll build a new house with really cool specs and just give it to me. Get me?

0

sorry mate im just kind of buzy with school and exams and stuff, all i wanted was a php comment box that doesnt use mysql sorry.

0

1. then whats the problem about disqus?
2. I'm in my last weeks of exams for school too..

0

Look, do some research and some searches with good keywords and you'll get hundreds of hits. Brush up on your mysql so you can produce a proper system. Using files is lame. Being a script bunny won't develop your skills as a programmer. Sorry if I came on a little strong.

0

I second ardav's comment. All of us is here in the forums to help one another but HELPING has some limitations.

I do not think this forum likes spoon feeding as it promotes laziness. I think it is safe to assume that we are all busy here, but still try to spend sometime to CONTRIBUTE something.

Back to your request, I think most would agree to store your files in mysql than in .txt files as mysql is more secure.

Check out the video I gave you it has a step by step instructions on how you can write your comment box for free. All you need to do next is to just watch the video and type at the same time.

DISCLAIMER: I am in no way associated with the php guru in the video.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.