- Create Account

PHP Comments Forum Script

Forums > Forum Development > PHP Comments Forum Script
Author
Message

1) Dante Group: Guests
IP: 68.164.--.--
Hi. I can't remember my password so I'm posting without an account. I was wondering if it is possible to create a php or cgi comments script without using any sort of database. I really don't want to use one.

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.96.--.--
This script doesn't use a DB, so your answer is yes. Just store and retrieve the comments from a data file somewhere.

- Angus.

3) Dante Group: Guests
IP: 68.164.--.--
What file format? .php, .inc, .cgi/.pl

4) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.96.--.--
Well, pick a language and use whatever file format your webserver supports for that language. For instance, you may find that if you're writing your comment script in PHP, your files may require a .php extension to be recognised by the server.

- Angus.

5) Dante Group: Guests
IP: 67.101.--.--
I know that, but what would you recommend for a simple comments script (but server supports PHP 4.1 and Perl 5).

What  is a .inc file anyway?

6) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 203.96.--.--
1) Google for "simple php comment script" or something, and see what's available. This forum script runs under Perl 5 and I don't really need another comment script.

2) .inc  files are PHP or server side includes. Google "inc file apache" for more information.

- Angus.

7) Dante Group: Guests
IP: 67.101.--.--
1) Did that already
2) Gotcha

8) cphp Group: Guests
IP: 65.19.--.--
Check out the free php comment script at http://mylittlehomepage.net . IT doesn't use a database, and is quite easy to use as far as comment scripts go.

but this forum doesn't use a db either and a forum is far superior to a comment script :)

9) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 222.152.--.--
Heh, glad you like my forum :). I have to finish the rewrite I'm doing of the underlying code one day!

- Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.