The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
Access Key (Email) - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28) +--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29) +--- Thread: Access Key (Email) (/showthread.php?tid=349) |
Access Key (Email) - Brandin - 11-19-2016 Hey there! I am making a new system (in addition to my lovely Master system that I had to bug you guys to build). It's called Code: Pizza Monday -Users in my office will visits the link, enter their email, and select their start time, pizza type (primary, secondary) and press submit -This will log into the DB for the next selected date by me (in the backend) -I can then modify the users choices (based on Primary and Secondary), figure out costs and stuff, and all that good stuff I can do all of the above except the first. I need to keep the login and user function because I personally need to login to the system and make changes and stuff, and change around the pizza list, close and open new weeks and stuff. However, function 1 I need to check the email, against 2 domains. I have some users that are Code: *@domain1.com Code: *@domain2.com Thank you, Brandin Access Key (Email) - dan - 11-19-2016 I think this is what you are looking for... http://www.bitrepository.com/how-to-extract-domain-name-from-an-e-mail-address-string.html Access Key (Email) - Brandin - 11-19-2016 Dan, That function would work great! Thank you! |