SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: JS to Text

  1. #1
    SitePoint Wizard dethfire's Avatar
    Join Date
    Aug 2000
    Posts
    2,477
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JS to Text

    I have a a photo site and I want people to write comments about the photos and have those comments shown above the input box. I know a server-side language would be the best option but I'm on a free service.

    I was thinking I could have the input box text write to a txt file and then insert the text file above input box. I don't know enough JS to do this though. Can someone help? thanks!!
    Last edited by dethfire; Oct 8, 2001 at 22:33.
    Free Science Homework Help
    http://www.physicsforums.com

  2. #2
    SitePoint Zealot Atirez's Avatar
    Join Date
    Nov 2000
    Location
    England
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    unfortunatly as far as I am aware it is not possible to write to a text file residing on a server using JavaScript alone. You can use javaScript to include the file in your document though.

    But there are free servers who allow you access to server side scripting languages like Perl and Php like f2s.

    Hope this helps,
    Atirez


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •