473,386 Members | 1,812 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How do I create a javascript subscription page

What I am trying to do is create a form that people can use to enter
their email address to sign up for a mailing list. Once they enter
their email address, I want the script to open up a txt file that is
stored on the server and write the email adress to the bottom of the
txt file. Then close and save the file.

Is this at all possible to do with client side script on any kind?

go to http://www.thetimelineband.com/emailform.html to see a same of
what the page would look like. Currently, all this form does is email
the info to me and then I have to enter the persons email address
manually into the file.

Any help would be appreciated.

Thanks gurus.

Phil
ph*****@optonline.net

Mar 23 '07 #1
1 1552
On Mar 22, 8:28 pm, "philmaz" <phil...@optonline.netwrote:
What I am trying to do is create a form that people can use to enter
their email address to sign up for a mailing list. Once they enter
their email address, I want the script to open up a txt file that is
stored on the server and write the email adress to the bottom of the
txt file. Then close and save the file.

Is this at all possible to do with client side script on any kind?
No, JavaScript can not write files on the server. You have to do this
with a server-side language like PHP.
>
go tohttp://www.thetimelineband.com/emailform.htmlto see a same of
what the page would look like. Currently, all this form does is email
the info to me and then I have to enter the persons email address
manually into the file.

Any help would be appreciated.

Thanks gurus.

Phil
phil...@optonline.net

Mar 23 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Scott Navarre | last post by:
Hello, I have noticed that when using JavaScript to create a page, the sizes of the text input form elements come out bigger than the size I am trying to set them to. I don't know if it...
3
by: Max A. Bündchen | last post by:
My enterprise is a Registered Microsoft Partner and we would to acquire a MSDN Universal subscription under the Empower ISV Program to start a new project in .Net (today we dev under VFP 7). ...
9
by: Carter Smith | last post by:
http://www.icarusindie.com/wiki/index.php/Server-Side_Javascript_Check Sample source included This method requires that your pages are PHP enabled and you have mySQL. Although I suppose you...
7
by: moondaddy | last post by:
I want to dynamically create a JavaScript file and cache it on the client for re-use. I know how to write javascript to a web page from the code behind, but I don't know how to actually create a...
2
by: Jake Barnes | last post by:
Using javascript closures to create singletons to ensure the survival of a reference to an HTML block when removeChild() may remove the last reference to the block and thus destory the block is...
0
by: EoRaptor013 | last post by:
I have been trying for several days to create a peer-to-peer replication among three servers. I first created the publication on Server A, enabled it for peer-to-peer to peer on the publication...
16
by: retyop | last post by:
Does javascript install any sort of "cookies" that allows a site to uniquely identify you every time you visit, regardless of wether or not you disable normal web browser cookies? An anonymous...
1
by: Steve Arndt | last post by:
Can someone point me to sample code for building subscription services (where someone pays either up front for a number of uses, or per use) in vb.net/asp.net? I want to convert a client-based...
15
by: Prisoner at War | last post by:
Okay, I think I'll soon be getting all the JavaScript/CSS/DHTML- related "site mechanics" wrapped up...at least until I decide on real Ajax-style interactivity next year! But until then, I'd be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.