CodeIgniter Registration Form Part 7
Loading...
7,383
Uploader Comments (Verbloten)
see all
All Comments (15)
-
Your videos are AWESOME! I learned Codeigniter thanks to you! Thanks! And I love how you record it as you do the video, not just show completed code and explain it afterwards. Helps so much at getting the hang of what's going on as it's happening.
-
Hey dear, nice tutorial...
-
Thank you very much for these tutorials
Loading...
Hello, excuse me. In order for this to work, do I have to modify the php.ini file? I'm not really that knowledgeable about mail servers and all that stuff. Thanks!
mport9491 11 months ago
@mport9491 Hi... Yes.. In php.ini search for
[mail function]
Set your SMTP server to your ISP's SMTP server...
For example
[mail function]
; For Win32 only.
SMTP = mail.bigpond.com
smtp_port = 25
That's what my settings look like as I am with Bigpond in Australia.
Verbloten 11 months ago
no probs! Hey anyone ever wanna chat about CI just hit me up on twitter - @alboydweb
Best of luck!
Verbloten 1 year ago
Nice, I think it'll be a lot of use for my community project :)
Apronouva 1 year ago
@Apronouva Sorry I replied the wrong way! See my other comment! ahha
Verbloten 1 year ago
Not related to CI, but shouldn't the activation code be cleared when the user activates ? Because of only 10 (well, 11) string length, the probability of 2+ identical activation codes appearing when there are a lot of users is not to be neglected.
Also, after you select the id from the database to ensure there is a user with that activation code, I think you wanted to use `user_id` in the where clause instead of `activation_code`.
Anyway, nice videos! Thanks for making and uploading them!
Winnetou17 1 year ago
@Winnetou17 It doesn't really matter in that case what you use. I'm no pro so I'm not sure - but perhaps it would be marginally faster to use user_id particularly when there are 100,000 users... We only update the confirmed field if it finds the user_id by registration code.. if it does then we can use the user_id or the registration code to update confirmed.. technically it would probably be better practise to use the user_id. Thanks for your comments!
Verbloten 1 year ago