HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Form Help Posted by mhawkins20 on 22 Aug 2003 at 7:25 AM
I want to make a simple form.

Name:
Address:
Email:
Phone#:

[Download]


The download button submits the form through email, and links to a file on a ftp server.

Any ideas for code? I don't know what I need to be able to submit a form via email.
Report
Re: Form Help Posted by Jonathan on 24 Aug 2003 at 9:10 AM
Does anyone else go to a festival, and while there log on to their fave programming site to answer questions on a forum? Hmmm...I'm worrying sometimes.

: I want to make a simple form.
:
: Name:
: Address:
: Email:
: Phone#:
:
: [Download]
:
:
: The download button submits the form through email, and links to a
: file on a ftp server.
:
: Any ideas for code? I don't know what I need to be able to submit a
: form via email.
I suggest you use a simple CGI/PHP/ASP script that takes the data from the form, uses the sendmail program to send the email and redirects the user to the required file. Be careful it's not insecure and easily exploited by spammers though.

There'll probably be a JavaScript way that will involve handling a form's onSubmit event too, but it won't be all that reliable in sending the data to you.

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Report
Re: Form Help Posted by mhawkins20 on 25 Aug 2003 at 8:35 AM
Is there a way that I can load a link to download a file off of a ftp server, and load another page at the same time? So when the user clicks the button, it will redirect them to an ftp file, then to another webpage that says thank you or somethng. (The download link can be in a new window if thats easier.)

: Does anyone else go to a festival, and while there log on to their fave programming site to answer questions on a forum? Hmmm...I'm worrying sometimes.
:
: : I want to make a simple form.
: :
: : Name:
: : Address:
: : Email:
: : Phone#:
: :
: : [Download]
: :
: :
: : The download button submits the form through email, and links to a
: : file on a ftp server.
: :
: : Any ideas for code? I don't know what I need to be able to submit a
: : form via email.
: I suggest you use a simple CGI/PHP/ASP script that takes the data from the form, uses the sendmail program to send the email and redirects the user to the required file. Be careful it's not insecure and easily exploited by spammers though.
:
: There'll probably be a JavaScript way that will involve handling a form's onSubmit event too, but it won't be all that reliable in sending the data to you.
:
: ###
: for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
: (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
: /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");
:
:

Report
Re: Form Help Posted by Jonathan on 30 Aug 2003 at 1:37 PM
: Is there a way that I can load a link to download a file off of a
: ftp server, and load another page at the same time? So when the user
: clicks the button, it will redirect them to an ftp file, then to
: another webpage that says thank you or somethng. (The download link
: can be in a new window if thats easier.)
Yeah, you can do it by using JavaScript. Set the link to point at the file on FTP. Then capture the onClick event of the link, and call some JavaScript that open a new window with the thank you info in it.

Jonathan

PS - sorry I took my time getting back to you - forgot the question was waiting for an answer!

###
for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
(tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
/(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.