![]() |
Secruity Helper Help? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Secruity Helper Help? (/showthread.php?tid=9305) |
Secruity Helper Help? - El Forum - 06-20-2008 [eluser]Unknown[/eluser] I am currently developing an application to be used with in the EvE Online IGB(In Game Browser). However I have ran into two sections of coding that I have to repeat over and over for each member. So in an effort of not wasting to much disk space I would like to put them into a helper. However I am not to sure how to get it to work properly, mostly I need to know how to get it to run the method and get it so that if certain criteria is not met it stops everything after it redirects the user. Browser Check Code: if( $_SERVER['HTTP_USER_AGENT'] != "EVE-minibrowser/3.0" ) { Client Trust Check Code: if( $_SERVER['HTTP_EVE_TRUSTED'] == 'no' ) { Sample Code Code: check_browser(); I have just started to pick up on CodeIgniter and I will probably also need help in making sure that I put everything I need into the helper file. Is there anything special I need to put inside of a helper file? Secruity Helper Help? - El Forum - 06-21-2008 [eluser]Unknown[/eluser] Any one able to help me on this? I would like to get my application up an running soon. |