Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding

Reply
 
LinkBack Thread Tools
Old 01-21-08   #1 (permalink)
PC Gamer
 
amd ati

Join Date: Apr 2007
Location: Canada
Posts: 547

Rep: 14 krazieaznboi Unknown
Unique Rep: 10
Trader Rating: 0
Default how can i make a registration form?

does anyone know any good pre-made registration forms or know how to make a registration form?
__________________
System: Opteron 165
CPU
Opteron 165 CCBBE 0610DPMW
Motherboard
DFI NF4-D SATAII & SLI Modded
Memory
2x1GB OCZ EL Plantinum
Graphics Card
Sapphire X1950XT 256mb
Hard Drive
Seagate Barracuda 7200.10 SATAII 320-GB
Power Supply
Enermax Noisetaker 430w
Case
Antec Nine Hundred
CPU cooling
Zalman 9500A-LED
GPU cooling
Zalman VF900 Cu LED
OS
Windows XP Professional SP3
Monitor
20" Samsung 206BW
krazieaznboi is offline   Reply With Quote
Old 01-21-08   #2 (permalink)
Overclocker
 
B-80's Avatar
 
intel nvidia

Join Date: Oct 2006
Posts: 1,589

Rep: 71 B-80 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

what do you mean, could you be a little more specific?
__________________

Aumotocnic"An unfortunate member of the overclock.net insomnia club"

Crucial Ballistix Club


System: The Mediocre Guy
CPU
E7200 @ 3.3ghz
Motherboard
Gigabyte P45 DS3
Memory
4GB : 2 GB Crucial Ballstix DDR2 800 + 2GB Crap
Graphics Card
EVGA Nvidia Geforce 8800 GTS 320 MB
Hard Drive
250 gb hitachi Deskstar + 120gb Seagate
Power Supply
PC Power & Cooling Silencer 750 Quad
Case
Aspire X-Cruiser Black
CPU cooling
Zalman 9700
GPU cooling
Stock
OS
Windows xp
B-80 is offline   Reply With Quote
Old 01-21-08   #3 (permalink)
PC Gamer
 
amd ati

Join Date: Apr 2007
Location: Canada
Posts: 547

Rep: 14 krazieaznboi Unknown
Unique Rep: 10
Trader Rating: 0
Default

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.
__________________
System: Opteron 165
CPU
Opteron 165 CCBBE 0610DPMW
Motherboard
DFI NF4-D SATAII & SLI Modded
Memory
2x1GB OCZ EL Plantinum
Graphics Card
Sapphire X1950XT 256mb
Hard Drive
Seagate Barracuda 7200.10 SATAII 320-GB
Power Supply
Enermax Noisetaker 430w
Case
Antec Nine Hundred
CPU cooling
Zalman 9500A-LED
GPU cooling
Zalman VF900 Cu LED
OS
Windows XP Professional SP3
Monitor
20" Samsung 206BW
krazieaznboi is offline   Reply With Quote
Old 01-21-08   #4 (permalink)
Overclocker
 
B-80's Avatar
 
intel nvidia

Join Date: Oct 2006
Posts: 1,589

Rep: 71 B-80 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

Quote:
Originally Posted by krazieaznboi View Post
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.
Code:
<FORM ACTION="mailto:wzeng604@hotmail.com" METHOD="POST" enctype="text/html">
thats your problem.
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 need to change the name of the separate text fields.
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>');

?>
okay try that, let me know how it goes
__________________

Aumotocnic"An unfortunate member of the overclock.net insomnia club"

Crucial Ballistix Club


System: The Mediocre Guy
CPU
E7200 @ 3.3ghz
Motherboard
Gigabyte P45 DS3
Memory
4GB : 2 GB Crucial Ballstix DDR2 800 + 2GB Crap
Graphics Card
EVGA Nvidia Geforce 8800 GTS 320 MB
Hard Drive
250 gb hitachi Deskstar + 120gb Seagate
Power Supply
PC Power & Cooling Silencer 750 Quad
Case
Aspire X-Cruiser Black
CPU cooling
Zalman 9700
GPU cooling
Stock
OS
Windows xp

Last edited by B-80 : 01-21-08 at 02:30 PM.
B-80 is offline   Reply With Quote
Old 01-21-08   #5 (permalink)
PC Gamer
 
amd ati

Join Date: Apr 2007
Location: Canada
Posts: 547

Rep: 14 krazieaznboi Unknown
Unique Rep: 10
Trader Rating: 0
Default

umm, how can i add a Retype Password field and make all fields mandatory to fill before you can click on the register button?
__________________
System: Opteron 165
CPU
Opteron 165 CCBBE 0610DPMW
Motherboard
DFI NF4-D SATAII & SLI Modded
Memory
2x1GB OCZ EL Plantinum
Graphics Card
Sapphire X1950XT 256mb
Hard Drive
Seagate Barracuda 7200.10 SATAII 320-GB
Power Supply
Enermax Noisetaker 430w
Case
Antec Nine Hundred
CPU cooling
Zalman 9500A-LED
GPU cooling
Zalman VF900 Cu LED
OS
Windows XP Professional SP3
Monitor
20" Samsung 206BW
krazieaznboi is offline   Reply With Quote
Old 01-21-08   #6 (permalink)
Overclocker
 
B-80's Avatar
 
intel nvidia

Join Date: Oct 2006
Posts: 1,589

Rep: 71 B-80 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

PHP Code:
$f1="This is a user request for user: ";
$f2=" The requested Password is: ";
$newline="rn";
$headers "From: ".$visitorEmail;
mail("<your email here>""<your domain>"$f1.$visitorName.$newline.$f2.$visitorPass$headers);
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>'); 
I fixed up the code a bit, it's really tricky to post it.
Also the newline varibale is "\r\n" not just "rn"

do you want to add those restrictions via php, or javascript?
__________________

Aumotocnic"An unfortunate member of the overclock.net insomnia club"

Crucial Ballistix Club


System: The Mediocre Guy
CPU
E7200 @ 3.3ghz
Motherboard
Gigabyte P45 DS3
Memory
4GB : 2 GB Crucial Ballstix DDR2 800 + 2GB Crap
Graphics Card
EVGA Nvidia Geforce 8800 GTS 320 MB
Hard Drive
250 gb hitachi Deskstar + 120gb Seagate
Power Supply
PC Power & Cooling Silencer 750 Quad
Case
Aspire X-Cruiser Black
CPU cooling
Zalman 9700
GPU cooling
Stock
OS
Windows xp

Last edited by B-80 : 01-21-08 at 02:37 PM.
B-80 is offline   Reply With Quote
Old 01-21-08   #7 (permalink)
AMD Overclocker
 
Starholdest's Avatar
 
amd nvidia

Join Date: Mar 2007
Location: █♣█
Posts: 925
Blog Entries: 1

Rep: 43 Starholdest is acknowledged by some
Unique Rep: 38
Hardware Reviews: 1
Trader Rating: 0
Default

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 3dMark06

s939 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

System: Beast from the East
CPU
AMD x2 4600+ @ 2.8Ghz
Motherboard
Asus A8N-SLI SE
Memory
2GB Kingston Value DDR400
Graphics Card
Asus 8800GTS 320MB
Hard Drive
80G Seagate SATA
Sound Card
SoundBlaster Audigy SE
Power Supply
Thermaltake Purepower 500W
Case
Antec 900 (modded)
CPU cooling
AS5 + Zalman CNPS9700 LED
GPU cooling
Stock
OS
Windows Vista Ultimate
Monitor
Samsung Syncmaster 730B (17" yay!)
Starholdest is offline Starholdest's Gallery   Reply With Quote
Old 01-21-08   #8 (permalink)
Overclocker
 
B-80's Avatar
 
intel nvidia

Join Date: Oct 2006
Posts: 1,589

Rep: 71 B-80 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

Quote:
Originally Posted by Starholdest View Post
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.
I agree, but his original code was clearly an attempt to email it to himself
__________________

Aumotocnic"An unfortunate member of the overclock.net insomnia club"

Crucial Ballistix Club


System: The Mediocre Guy
CPU
E7200 @ 3.3ghz
Motherboard
Gigabyte P45 DS3
Memory
4GB : 2 GB Crucial Ballstix DDR2 800 + 2GB Crap
Graphics Card
EVGA Nvidia Geforce 8800 GTS 320 MB
Hard Drive
250 gb hitachi Deskstar + 120gb Seagate
Power Supply
PC Power & Cooling Silencer 750 Quad
Case
Aspire X-Cruiser Black
CPU cooling
Zalman 9700
GPU cooling
Stock
OS
Windows xp
B-80 is offline   Reply With Quote
Old 01-21-08   #9 (permalink)
AMD Overclocker
 
Starholdest's Avatar
 
amd nvidia

Join Date: Mar 2007
Location: █♣█
Posts: 925
Blog Entries: 1

Rep: 43 Starholdest is acknowledged by some
Unique Rep: 38
Hardware Reviews: 1
Trader Rating: 0
Default

Quote:
Originally Posted by B-80 View Post
I agree, but his original code was clearly an attempt to email it to himself
Yes...But I was just suggesting that that's what he should do.
__________________

My s939 rig build log thread - 4600+ @ 2.8Ghz stable


Aumotocnic "An unfortunate member of the overclock.net insomnia club"

Quebec Overclockers - 8019 in 3dMark06

s939 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

System: Beast from the East
CPU
AMD x2 4600+ @ 2.8Ghz
Motherboard
Asus A8N-SLI SE
Memory
2GB Kingston Value DDR400
Graphics Card
Asus 8800GTS 320MB
Hard Drive
80G Seagate SATA
Sound Card
SoundBlaster Audigy SE
Power Supply
Thermaltake Purepower 500W
Case
Antec 900 (modded)
CPU cooling
AS5 + Zalman CNPS9700 LED
GPU cooling
Stock
OS
Windows Vista Ultimate
Monitor
Samsung Syncmaster 730B (17" yay!)
Starholdest is offline Starholdest's Gallery   Reply With Quote
Old 01-21-08   #10 (permalink)
PC Gamer
 
amd ati

Join Date: Apr 2007
Location: Canada
Posts: 547

Rep: 14 krazieaznboi Unknown
Unique Rep: 10
Trader Rating: 0
Default

Quote:
Originally Posted by B-80 View Post
PHP Code:
="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>'); 
I fixed up the code a bit, it's really tricky to post it.
Also the newline varibale is "rn" not just "rn"

do you want to add those restrictions via php, or javascript?

hey thanks, php is fine.
__________________
System: Opteron 165
CPU
Opteron 165 CCBBE 0610DPMW
Motherboard
DFI NF4-D SATAII & SLI Modded
Memory
2x1GB OCZ EL Plantinum
Graphics Card
Sapphire X1950XT 256mb
Hard Drive
Seagate Barracuda 7200.10 SATAII 320-GB
Power Supply
Enermax Noisetaker 430w
Case
Antec Nine Hundred
CPU cooling
Zalman 9500A-LED
GPU cooling
Zalman VF900 Cu LED
OS
Windows XP Professional SP3
Monitor
20" Samsung 206BW
krazieaznboi is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 07:53 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.20504 seconds with 10 queries