JavaScript guestbook...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Chris Wilkinson

    #1

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

  • kaeli

    #2
    Re: JavaScript guestbook...

    In article <1083321933.385 315@kyle.snap.n et.nz>,
    misterblobby@NO SPAMsnap.net.nz enlightened us with...[color=blue]
    >
    > 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?[/color]

    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.



    Comment

    • Dennis Marks

      #3
      Re: JavaScript guestbook...

      In article <1083321933.385 315@kyle.snap.n et.nz>, Chris Wilkinson
      <misterblobby@N OSPAMsnap.net.n z> wrote:
      [color=blue]
      > 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?[/color]

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

      --
      Dennis Marks

      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! =-----

      Comment

      Working...