|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
how can i make a registration form?
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
PC Gamer
|
does anyone know any good pre-made registration forms or know how to make a registration form?
__________________
|
||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||
|
Overclocker
|
what do you mean, could you be a little more specific?
__________________
|
|||||||||||
|
|
|
|
|
#3 (permalink) | ||||||||||||
|
PC Gamer
|
well, i have this private proxy for friends to use but some of them are viewing porn and i already told them not to view porn on my proxy. but they still do it. i cant tell who is viewing porn and who is not unless they login to an account.
__________________they use this proxy at school so they all use the same ip so i cant tell whos doing what by checking ip. basically, i want to make a form or a registration page where you need to sign up for an account to use the proxy. if you check my proxy https://24.85.38.53 the registration form i made doesn't work.
|
||||||||||||
|
|
|
|
|
#4 (permalink) | ||||||||||||
|
Overclocker
|
Quote:
Code:
<FORM ACTION="mailto:wzeng604@hotmail.com" METHOD="POST" enctype="text/html"> do you just want them to mail it to you, then you can put it in your database, or do you want it to go strait to the database? to email it to yourself try this. Code:
<FORM ACTION="mail.php"> you have them all named VistitorName.... try visitorName, visitorEmail, and visitorPass. for future reference, the proper variable naming format has the first word lowercase, and all subsequent words uppercase. anyway, then make a separate page named mail.php, in that page put this code Code:
<?php
="This is a user request for user: ";
=" The requested Password is: ";
="rn";
= "From: ".;
mail("<your email here>", "<your domain>", ...., );
echo "<center>Sent, you will now be redirected. <a href='<your domain here'>Click Here</a> if your browser does not redirect you automatically.</center>";
header('Location: <your domain here>');
?>
__________________
Last edited by B-80 : 01-21-08 at 02:30 PM. |
||||||||||||
|
|
|
|
|
#5 (permalink) | ||||||||||||
|
PC Gamer
|
umm, how can i add a Retype Password field and make all fields mandatory to fill before you can click on the register button?
__________________
|
||||||||||||
|
|
|
|
|
#6 (permalink) | |||||||||||
|
Overclocker
|
PHP Code:
Also the newline varibale is "\r\n" not just "rn" do you want to add those restrictions via php, or javascript?
__________________
Last edited by B-80 : 01-21-08 at 02:37 PM. |
|||||||||||
|
|
|
|
|
#7 (permalink) | |||||||||||||
|
AMD Overclocker
|
Personally I think you should just set up a database and have it automatically enter the user into the DB so they can log in to their account automatically. It would be a lot faster and a lot more efficient.
__________________
My s939 rig build log thread - 4600+ @ 2.8Ghz stable ![]() Aumotocnic "An unfortunate member of the overclock.net insomnia club" Quebec Overclockers - 8019 in 3dMark06s939 Manny 4600+ @ 2809Mhz @ 1.425V (9 hours Orthos blend test stable - 24/7 Usage) - http://valid.x86-secret.com/show_oc.php?id=289741 @ 2945Mhz @ 1.45V (YAY! - Not stable, doh!) - http://valid.x86-secret.com/show_oc.php?id=276669
|
|||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||
|
Overclocker
|
I agree, but his original code was clearly an attempt to email it to himself
__________________
|
|||||||||||
|
|
|
|
|
#9 (permalink) | ||||||||||||||
|
AMD Overclocker
|
Quote:
![]()
__________________
My s939 rig build log thread - 4600+ @ 2.8Ghz stable ![]() Aumotocnic "An unfortunate member of the overclock.net insomnia club" Quebec Overclockers - 8019 in 3dMark06s939 Manny 4600+ @ 2809Mhz @ 1.425V (9 hours Orthos blend test stable - 24/7 Usage) - http://valid.x86-secret.com/show_oc.php?id=289741 @ 2945Mhz @ 1.45V (YAY! - Not stable, doh!) - http://valid.x86-secret.com/show_oc.php?id=276669
|
||||||||||||||
|
|
|
|
#10 (permalink) | |||||||||||||
|
PC Gamer
|
Quote:
hey thanks, php is fine.
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|