Welcome Guest, Not a member yet? Register   Sign In
custom validation rule for IP in form
#8

(12-13-2020, 09:07 AM)includebeer Wrote: Have you tried setGlobal? http://codeigniter.com/user_guide/incomi...#setGlobal
I would also try to add the value directly in the $_POST array.
setGlobal works if all other fields are also added but i was not sure how secure is doing that for Sign Up authentication.
Adding $_POST['ip'] = request->getIPAddress(); does not work.
Reply


Messages In This Thread
custom validation rule for IP in form - by xPooky - 12-12-2020, 05:29 PM
RE: custom validation rule for IP in form - by xPooky - 12-13-2020, 09:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB