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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.