Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 15th, 2005, 03:36 PM
blaze_r20 blaze_r20 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: md
Posts: 24 blaze_r20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 33 m 10 sec
Reputation Power: 0
Send a message via Yahoo to blaze_r20
Question Need help with html

i'm creating a webpage to take input from user and send it to a cgi file, except that i'm missing the cgi- file, if someone cn send me the neccasary cgi file or changes to my code i would be very grateful, thanks

the following is the codeing:

<html><head>
<title>Register</title>
<style>
input,body{font-size:9pt}
</style>
</head>
<script><!--
function conf(){
var f1=document.f1
if(f1.pass.value!=f1.rpass.value){
alert('Please confirm password!');
f1.pass.value=""
f1.rpass.value=""
return false;
}
if(f1.pass.value=="" || f1.user.value==""){
alert('Please enter username and password!');
return false;
}
if(f1.email.value.indexOf("<A href="file://\")!=-1">\\")!=-1){
alert('EMAIL addres contains invalid symbol!')
return false
}
if(f1.from.value.indexOf("<A href="file://\")!=-1">\\")!=-1){
alert('"Location" contains invalid symbol!')
return false
}
var s=f1.email.value + "\\\\"+ f1.from.value
f1.data.value=s.replace(/\"/g,"\\\"") // replace " to \"
}
//--></script>
<body bgcolor="#FFC080">
<p><br>
<form method="POST" name=f1 style="margin:0px" action="signup" onsubmit="return conf()">
Username: <input type="text" size=10 name=user><br>
Password: <input type="password" size=10 name=pass><br>
Confirm password:<input type="password" size=10 name=rpass><br>
Email address:<input type="text" size=10 name=email><br>
Location (where are you now, roughly):<input type="text" size=10 name=from><br>
<input type=hidden name=data>
<input type="submit" value="* OK *">
</form></body></html>

thanks

Reply With Quote
  #2  
Old January 15th, 2005, 03:39 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,760 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 5 h 22 m 16 sec
Reputation Power: 443
You haven't even explained what you are trying to accomplish.

Reply With Quote
  #3  
Old January 18th, 2005, 01:32 PM
banker's Avatar
banker banker is offline
Charging Rhino Wizard
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Dec 2004
Location: 127.0.0.1
Posts: 2,053 banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level)banker User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 5 Days 23 h 28 m 28 sec
Reputation Power: 36
hit and run post!

Reply With Quote
  #4  
Old January 18th, 2005, 03:45 PM
shamrog12's Avatar
shamrog12 shamrog12 is offline
Newton's Apple Wizard
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 1,661 shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level)shamrog12 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 2 h 39 m 22 sec
Reputation Power: 34
Send a message via AIM to shamrog12
There are free CGI files available on the web such as Formmail.cgi and it has instructions about how to change your form to fit its code. Form Mail is available at Matt's Script Archive.
__________________
If you found a post of mine helpful, please click on the on my post to add to my reputation.


Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Need help with html


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway