Hash symbol in URL causes a problem |
(03-25-2015, 03:21 AM)Goldie Wrote: Never assume anything coming from user input. You should type-cast to integer to be safe and minimize risk of SQL injection: PHP Code: $id = (int)$this->uri->segment(2);
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ |
Messages In This Thread |
Hash symbol in URL causes a problem - by Goldie - 03-24-2015, 06:42 AM
RE: Hash symbol in URL causes a problem - by CroNiX - 03-24-2015, 07:46 AM
RE: Hash symbol in URL causes a problem - by mwhitney - 03-24-2015, 09:00 AM
RE: Hash symbol in URL causes a problem - by Goldie - 03-25-2015, 03:21 AM
RE: Hash symbol in URL causes a problem - by includebeer - 03-28-2015, 04:39 PM
|