Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

HTML help


  • Please log in to reply

#1
Bamsk8ter13

Bamsk8ter13

    Member

  • Member
  • PipPip
  • 64 posts
Well, Im making something out of HTML and I have it send the Info to my email. But when i click on submit, Outlook or aol trys to open and the info doesnt get sent to my email.

Is there a way i can have it save the Info on my Harddrive? Like in a Text document.

Ex:

<html>
<head>
<title>Test</title>
</head>
<body>
<Table>
<form method="post" enctype"text/plain" action="mailto:Myemail">
<input type="checkbox" name="Number" value="1" /> 1<br>
<input type="checkbox" name="Number" value="2" /> 2<br>
<input type="submit" value="send">
</body>

Where it says Mailto: what would i put in or change to make it save the info on to my harddrive?

Dont ask what im useing this for because this is just a moc up.
And also I will only be useing this on one computer, So I dont need the Infromatin sent to anything eles.

Edited by Bamsk8ter13, 03 May 2006 - 08:11 PM.

  • 0

Advertisements


#2
VMM VMX

VMM VMX

    Member

  • Member
  • PipPip
  • 18 posts
in HTML there is noway to do this...
you need a script to do this(NOT javascript), and of course a webserver
  • 0

#3
ruger22com

ruger22com

    New Member

  • Member
  • Pip
  • 5 posts
try changing the file name from .html to .txt or .doc and resend it. then when you want to use it again, change it back to .html
  • 0

#4
Bamsk8ter13

Bamsk8ter13

    Member

  • Topic Starter
  • Member
  • PipPip
  • 64 posts

in HTML there is noway to do this...
you need a script to do this(NOT javascript), and of course a webserver


Im only using this on my computer and its not goin gto be on the web.

Its going to be kinda like the Notpad thats on you computer but with cheak boxes and all i need it to do is to save whats been checked as a document or a file on my HDD.
  • 0

#5
VMM VMX

VMM VMX

    Member

  • Member
  • PipPip
  • 18 posts

Im only using this on my computer and its not goin gto be on the web.

Its going to be kinda like the Notpad thats on you computer but with cheak boxes and all i need it to do is to save whats been checked as a document or a file on my HDD.


in HTML you CANNOT read/write data!!!!!!!!!!!!!!!!!!!!!!!!!!!!
so try again sending via email...
  • 0

#6
Bamsk8ter13

Bamsk8ter13

    Member

  • Topic Starter
  • Member
  • PipPip
  • 64 posts

in HTML there is noway to do this...
you need a script to do this(NOT javascript), and of course a webserver



How would I go about making my own script? A program maybe?
  • 0

#7
knexor2

knexor2

    Member

  • Member
  • PipPip
  • 28 posts

in HTML there is noway to do this...
you need a script to do this(NOT javascript), and of course a webserver



How would I go about making my own script? A program maybe?


There is no client-side program (HTML or JavaScript, for example) that will do this. You need a server-side language (PHP or Perl, for example), which can process the info submitted and handle it appropriately (email it to someone, save it to disk, delete it, hehe). If you just want to save whether checkboxes are checked or not, you could use Microsoft Word, which can insert common form fields into the document, and then save that to your hard drive. But if you want it to be web-based, I suggest using PHP, which has a simple mail() function. And for that you would need a host who supports it (may I suggest byethost.com? Best free PHP host I've ever found!)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP