Signup Problem =P
Hey..
I have a problem =P When signup an accout, then your gonna write you wholy email. But i want a dropdown menu that u can choose what email you have! Like this: fidde_norberg [Dropdown menu] |@hotmail.com] |@spray.se] |@yahoo.com] |@live.se] __________________________________________________ ______________ Here is a screenshot: http://i411.photobucket.com/albums/p...z/dropdown.jpg And my question is: How do i get it to work? Thanks for helping! =D |
in your signup.php file near:
PHP Code:
PHP Code:
in takesignup.php: PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
INSERT INTO users (username, passhash, secret, editsecret, email.... where you see $email replace it with $email.$domain. And thats about it! An alternative solution is to create a table like maildomain where you can put allowed domains. Note: this is done with tbdev source. Didn't had the time of installing tstrike but the differences are not that great. Cheers. |
Thanks! =D
Thanks! It worked!
Ps! Sorry for my bad english! Im swedish :/ =P But in profile i only get "myemail" not "myemail@example.com"? |
So what would I do If I wanted to sign up on your site due to the fact you probly do not have my mail domain In your list?
|
All times are GMT +2. The time now is 00:53. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.