Steve Posted March 3, 2006 Share Posted March 3, 2006 Hi all,I've been given the responsibility to look after an amateur radio club's website, and a new part of this activity is to create a simple database of members' names & addresses etc.This database should be able to be viewed / printed by any persons visiting the website, but only updated by the membership secretary.I was thinking about a simple 'flat file' database - something along the lines of a CSV file. This file could be manipulated with Javascript as necessary. After reading various other newsgroups, I have the feeling that Javascript is not really upto the job (w.r.t. file handling).The club's (free) website host does not allow any active server pages (asp), perl scripts (pl), databases (sql, mysql, mdb), or any other common scripting languages such as PHP. The club is too cheap to pay for any hosting service which allows these features :-)As I'm new to this Javascript stuff - I would appreciate any comments as to whether this aproach is possible.advThanksance,Steve. Link to comment Share on other sites More sharing options...
scott100 Posted March 3, 2006 Share Posted March 3, 2006 I don't think that javascript allows for database connectivity. You realy would have to use some kind of server language and database. I'm sure you could find some sites that allow free mysql database and php if you could move the site. Try doing a search on google.As the saying goes you get what you pay for. Link to comment Share on other sites More sharing options...
Webworldx Posted March 4, 2006 Share Posted March 4, 2006 Most free webspace's support CGI (or have a CGI-Bin directory for a guestbook), have you looked into using that for flat file? You could always XMLHttpRequest the .txt file and work with RegExp from there? Link to comment Share on other sites More sharing options...
Steve Posted March 4, 2006 Author Share Posted March 4, 2006 Thanks for the replies peeps,I'll keep looking & thinking...I found a couple of sites that offer free database hosting, but there's possibly some issues with pop-up ads etc., and they're relly a bit too much for what we need.As far as CGI concerned - I've had a look at what 'guestbook' Cox HSI offers, and I think I understand what Blue is saying...I'll let you know how I get on.Cheers,Steve. Link to comment Share on other sites More sharing options...
Webworldx Posted March 4, 2006 Share Posted March 4, 2006 No worries, good luck investigating! Link to comment Share on other sites More sharing options...
scott100 Posted March 4, 2006 Share Posted March 4, 2006 If you look under the PHP section of the site you will find this post: http://w3schools.invisionzone.com/index.php?showtopic=853In particluar this site from hacknsack: http://www.siteburg.com/Free Web Space: 100MbTraffic: 10 Gb/monthMySQL: 1FTP: yesSendMail: 200 per dayPerl/CGI: yesPHP: yes Link to comment Share on other sites More sharing options...
Steve Posted March 12, 2006 Author Share Posted March 12, 2006 Thanks Scott,The link(s) were very informative.I had another look at the CGI/guestbook as Blue suggested, and tried playing with the HTML code in the 'signguestbook.html' file. Unfortunately, the CGI script is expecting only certain parameters / data, and it gave a few error messages when trying to provide it with new extended data from my modified HTML file.It was certainly worth investigating, as I learnt quite a bit from it.Anyway - to 'enhance' my general skills / knowledge etc., I've decided to go with the php/MySQL implementation.Thanks again for your support / suggestions.I'll report back in a couple of weeks to let you know how I got on.Cheers,Steve. If you look under the PHP section of the site you will find this post: http://w3schools.invisionzone.com/index.php?showtopic=853In particluar this site from hacknsack: http://www.siteburg.com/Free Web Space: 100MbTraffic: 10 Gb/monthMySQL: 1FTP: yesSendMail: 200 per dayPerl/CGI: yesPHP: yes<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now