|
|
#1 (permalink) |
|
New Member
![]() Join Date: Sep 2006
Posts: 6
|
hey im gona make a website and i would like it to say register user name and pass. when they register them i would like them sent to my email so i can go on and monitro thier account.
how do i do this? |
|
|
|
|
|
#2 (permalink) |
|
Gold Member
![]() Join Date: Jul 2006
Location: Italy (Brianza alcoolica)
Age: 18
Posts: 358
|
you can't do it with html only, but you must use php or asp with a database like access(with asp) or mysql (with php)
__________________
http://digilander.libero.it/vettolani/ |
|
|
|
|
|
#3 (permalink) | |
|
Diamond Member
![]() Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
|
you can add a small javascript feature which requires a username and password, and if the wrong one is inputted, the script can redirect you to a failed login page but nothing as complex as php.
Here is a good example of what I was trying to explain; http://www.willmaster.com/blog/conte...striction.html I will quote; Quote:
__________________
NZXT Nemesis Samsung SM226BW 22" TFT Msi K8n Diamond Sli AMD 64 4400+ X2 With AS5 BFG 7950 GT 2GB (2 x 1GB) OCZ Platinum PC3200 320GB + 300GB Maxtor Diamondmax SATA NEC ND45550 16x DVDRW +/- & DVDRAM Enermax Liberty 620W SoundBlaster Audigy 2 ZS Last edited by Rip_Uk; 09-25-2006 at 02:30 PM. |
|
|
|
|
|
|
#4 (permalink) |
|
Gold Member
![]() Join Date: Jul 2006
Location: Italy (Brianza alcoolica)
Age: 18
Posts: 358
|
only with javascript, everyone reading the code can have the password!!
__________________
http://digilander.libero.it/vettolani/ |
|
|
|
|
|
#5 (permalink) |
|
Silver Member
![]() Join Date: Sep 2006
Posts: 132
|
That JavaScript solution is just ridiculous.
If you want "registration" on your site, the server should support a server-side language like PHP or ASP, and you'd need a database (typically MySQL for PHP or MS Access for ASP). You could then write it yourself or use something that's freely available. If you're running the server yourself, you could simply download a LAMP stack (Linux, Apache, MySQL, PHP) or WAMP if you're running Windows. If you have a hosting package, you probably already have access to a backend database and you can just set up a registration script to use that database to store user names etc. But, if you just want authentication (a user name and password to access a file or directory), you can set that up with .htaccess files in Apache. Last edited by loque; 09-25-2006 at 03:51 PM. |
|
|
|
|
|
#6 (permalink) | ||
|
Diamond Member
![]() Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
|
Quote:
Quote:
__________________
NZXT Nemesis Samsung SM226BW 22" TFT Msi K8n Diamond Sli AMD 64 4400+ X2 With AS5 BFG 7950 GT 2GB (2 x 1GB) OCZ Platinum PC3200 320GB + 300GB Maxtor Diamondmax SATA NEC ND45550 16x DVDRW +/- & DVDRAM Enermax Liberty 620W SoundBlaster Audigy 2 ZS |
||
|
|
|
|
|
#8 (permalink) |
|
P.I Dragon
![]() Join Date: May 2005
Location: KENT, UK
Age: 19
Posts: 8,237
|
Its not as silly as you think, you could store the password/login stuff in a different script file and just include that file in the javascript head. Then when you read the source you wouldnt see the passoword. Anyone smart enough to then go looking for the file linked to with the password info in would be stopped because you changed permissions on it to make it not readable/viewable etc... by anyone who isnt meant to etc...
Of course its still very low grade, but its not quite as rubbish as you are all making out. dragon
__________________
//``-tHe RiG iN tHe SiG-``\\
Intel Core2Duo E6600 @ 3.1Ghz - (__CPU__) eVGA 680i SLi - (__MOB__) 4Gb Corsair Dominator DDR2-800 (4x1024Mb) - (__RAM__) 250Gb Western Digital SATAII 7200rpm - (__HDD__) nVidia BFG 8800GTS OC 320Mb - (__GFX__) LG DVD+/-RW 18x DVD-RAM - (__OPT__) Triple Boot - [XP Pro] + [Vista Ultimate] + [Ubuntu 7.10] - (__OS__) [3DMARK'03 :: 25,587] --- [3DMARK'05 :: 13,989] --- [3DMARK'06 :: 8791] - (__BENCHMARKS__) dragon2309.co.uk - a little slice of geek |
|
|
|
|
|
#9 (permalink) |
|
Diamond Member
![]() Join Date: Jul 2005
Location: West Midlands, UK
Age: 23
Posts: 1,526
|
Thanks dragon. At the end of the day this forum works on suggestions and ideas. If the solution will not work or it is not good enough then obviously people will use another.
__________________
NZXT Nemesis Samsung SM226BW 22" TFT Msi K8n Diamond Sli AMD 64 4400+ X2 With AS5 BFG 7950 GT 2GB (2 x 1GB) OCZ Platinum PC3200 320GB + 300GB Maxtor Diamondmax SATA NEC ND45550 16x DVDRW +/- & DVDRAM Enermax Liberty 620W SoundBlaster Audigy 2 ZS |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SLOW login on pc usin a server domain user ID and pass. | dannaswolcott | Computer Networking and Servers | 3 | 07-07-2006 02:58 AM |