Automated Email ( or log file )


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Automated Email ( or log file )

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Baltimore MD
    Posts
    69

    Automated Email ( or log file )

    First, I hope I'm posting in the right place. This is a JavaScript question. With that said, here's my problem... I want to put a place on my website that users can put in there email address to subscribe to my newsletter. After the user submits there email, how can I log them? I was thinking of having it email me every time but I could figure that one out. Another option I was considering is a log file. But how do you do file I/O in JavaScript?

    Thanks in advance...

    -Zak

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    For this you will need some server side stuff; a servlet, a php script, a perl
    script...that is invoked via the http protocol from your web page.

    Remember, the javascript is running on the clients computer and the
    code at that place can hardly contact your computer, unless your
    computer is the server.
    eschew obfuscation

  3. #3
    Join Date
    Oct 2004
    Location
    Baltimore MD
    Posts
    69
    Thanks... I know this isn't a Java question but... how could I find out if my web host supports Perl?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center