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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.96.--.--
Posted:
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) DanteGroup: Guests IP: 68.164.--.--
Posted:
What file format? .php, .inc, .cgi/.pl
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.96.--.--
Posted:
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) DanteGroup: Guests IP: 67.101.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.96.--.--
Posted:
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) DanteGroup: Guests IP: 67.101.--.--
Posted:
1) Did that already 2) Gotcha
8) cphpGroup: Guests IP: 65.19.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 222.152.--.--
Posted:
Heh, glad you like my forum :). I have to finish the rewrite I'm doing of the underlying code one day!