Need help using valid_url rule reference |
I had the same issue.. I would post "224regqawergwgw" without any domain identifier and still return true for valid url...
My solution was to create a callback function and check the string with a filter. PHP Code: $this->form_validation->set_rules('add_website', 'website url', 'trim|required|callback_check_valid_url'); PHP Code: public function check_valid_url( $param ) |
Messages In This Thread |
Need help using valid_url rule reference - by eldan88 - 05-11-2015, 06:08 PM
RE: Need help using valid_url rule reference - by RobertSF - 05-11-2015, 07:58 PM
RE: Need help using valid_url rule reference - by eldan88 - 05-11-2015, 08:02 PM
RE: Need help using valid_url rule reference - by Narf - 05-12-2015, 12:04 AM
RE: Need help using valid_url rule reference - by Avenirer - 05-12-2015, 04:54 AM
RE: Need help using valid_url rule reference - by gabrielcastillo - 11-06-2017, 10:39 AM
|