473,806 Members | 2,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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*****@optonli ne.net

Mar 23 '07 #1
1 1581
On Mar 22, 8:28 pm, "philmaz" <phil...@optonl ine.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.thetimeline band.com/emailform.htmlt o 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...@optonli ne.net

Mar 23 '07 #2

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

Similar topics

1
3834
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 matters, but I am using IE6... For example: if I create a text input with a size of "1" using straight HTML, and then type into it, I can see 2 characters at a time. But when I use JavaScript's 'document.write()' function to create the same text...
3
2519
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). However, we have no one information about the migration of this MSDN Universal subscription under ISV Program to the new MSDN Premium subscriptions. All information about the upgrade subscription is about a non-promotional original subscription. ...
9
2109
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 could also use PHP sessions (not cookies as they're client editable). You could actually use any server side scripting language such as Perl or ASP and any database like MS SQL Server. I prefer PHP and MySQL.
7
7771
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 file such as MyNewScript.js and then cache that on the client so all the pages of that session can use it. Can this be done? Thanks -- moondaddy@nospam.com
2
3063
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 what I'm hoping to achieve. I've never before had to use Javascript closures, but now I do, so I'm making an effort to understand them. I've been giving this essay a re-read: http://jibbering.com/faq/faq_notes/closures.html
0
1843
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 properties dialog then backed up the database and restored it to servers B and C. Once restored, I tried to Configure Peer-to-Peer Topology from the right click menu on the publication in SQL Management Studio (2005). When I click OK, the wizard...
16
2970
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 web browsing utility I use states that you are not truly anonymous unless you turn off things such as java, javascript, and some other applications. This being because they somehow have the ability to find their way back to the originating site...
1
1401
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 vb.net application that doesn't have subscription services to a web-based service that does. Thanks
15
1419
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 interest in strategies for dealing with those visitors who don't have JavaScript enabled...how I can not only give them the same access, but not make that access "corny"? Like, for example, I want a modal window to pop up on a hyperlink...but...
0
9719
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9597
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10618
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10371
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9187
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3850
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.