By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,461 Members | 1,108 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,461 IT Pros & Developers. It's quick & easy.

JavaScript guestbook...

P: n/a
Hi there,

I wish to create a guestbook for a small business website I made.
The guestbook will be your standard 'form page' with button click
to 'send' type thing, plus another link to view the existing book.

It will be quite easy using JavaScript to collate the data from a
form into a 'database', and write the file with new stuff on my local
disk, but can Javascript write to disk on a webhosting server without
giving away the ftp userid and password normally required to upload
new site content?

--
Kind regards,

Chris Wilkinson, Christchurch, New Zealand.
Canterbury Horse Taxis. http://www.horsetaxis.co.nz/
Remove spamblocker to send replies direct to my email...

Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <10***************@kyle.snap.net.nz>,
mi**********@NOSPAMsnap.net.nz enlightened us with...

It will be quite easy using JavaScript to collate the data from a
form into a 'database', and write the file with new stuff on my local
disk, but can Javascript write to disk on a webhosting server without
giving away the ftp userid and password normally required to upload
new site content?


No. *

Why are you using javascript for this? Server-side languages are
generally used for forms processing, database interaction, etc.
Do you not have a server-side language on the host?
Not to mention the fact that people without javascript, including people
who are disabled and use special browsers, will be unable to use the
guestbook.
Guestbooks are always written in server-side languages, IME.
PHP is free and is on a lot of Unix/Linux webhosts these days. ASP tends
to be the one on Windows servers.
*in a normal client-side, default internet security environment. Note
that anything in javascript that the browser can see, I can see,
including password information.

--
--
~kaeli~
It was recently discovered that research causes cancer in
rats.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 23 '05 #2

P: n/a
In article <10***************@kyle.snap.net.nz>, Chris Wilkinson
<mi**********@NOSPAMsnap.net.nz> wrote:
Hi there,

I wish to create a guestbook for a small business website I made.
The guestbook will be your standard 'form page' with button click
to 'send' type thing, plus another link to view the existing book.

It will be quite easy using JavaScript to collate the data from a
form into a 'database', and write the file with new stuff on my local
disk, but can Javascript write to disk on a webhosting server without
giving away the ftp userid and password normally required to upload
new site content?


There are many free guestbooks available. Just do a search on "free
guestbook".

--
Dennis Marks
http://www.dcs-chico.com/~denmarks/
To reply change none to dcsi.
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.