User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 391,588 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,677 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3549 | Replies: 1
Reply
Join Date: Nov 2004
Posts: 5
Reputation: bladerbole is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bladerbole bladerbole is offline Offline
Newbie Poster

Want script to make an email form

  #1  
Nov 28th, 2004
Lets say i have member1 in folder1, member2 in folder2, and member3 in folder3 all of which are on the c:\ drive. If I'm member1, how could I make a program that would write a message using three boxes:

<input type=text length=50 name=sendto>(folder1,2,or3)

<input type=text length=50 name=subject>(test)

<input type=text length=50 name=message>(this is a test)

<input type=button name=send value=Send>

and send it to a different folder with a file name of C:\(sendto)\(subject).


Please Help,
Bladerbole
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Posts: 5
Reputation: bladerbole is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
bladerbole bladerbole is offline Offline
Newbie Poster

Re: Want script to make an email form

  #2  
Nov 28th, 2004
I want to change that.
I have the form:

<FORM NAME="theform" METHOD="post" ENCTYPE="text/plain">
<b>Send to:</b>
<INPUT TYPE="text" name="sendto" size="50"><br>
<b>Subject:</b>
<INPUT TYPE="text" name="subject" size="50"><br>
<b>Type your Message:</b><br>
<textarea name="message" cols="50" rows="10" wrap="virtual"></textarea>
<input type="button" name="button1" value="Send" onClick="copy()">
</FORM>

what script could i use to open notepad, paste the value of the "message" box, then save the text document as:
C:/My Documents/[sendto]/[subject].txt

Please Help,
Bladerbole
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC