470,835 Members | 1,838 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,835 developers. It's quick & easy.

JavaScript guestbook...

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
2 12482
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
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.

Similar topics

4 posts views Thread by Dariusz | last post: by
3 posts views Thread by dan glenn | last post: by
1 post views Thread by Rune RunnestÝ | last post: by
90 posts views Thread by charlesmusco | last post: by
Thekid
5 posts views Thread by Thekid | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.