Welcome Guest, Not a member yet? Register   Sign In
Running stripslashes on all $_POST in all controllers
#1

[eluser]stef25[/eluser]
The server I'm currently using is running PHP 5.3 with magic quotes on. I have a function that will run stripslashes() on all $_POST data to fix quotes being added on DB output - where is the best place to put and run this function, short of having to manually add it to all functions in all controllers? This is what I've been doing so far but occasionally I come across a page where some quotes slipped through.


Messages In This Thread
Running stripslashes on all $_POST in all controllers - by El Forum - 06-21-2010, 08:43 AM
Running stripslashes on all $_POST in all controllers - by El Forum - 06-21-2010, 08:47 AM
Running stripslashes on all $_POST in all controllers - by El Forum - 06-21-2010, 08:57 AM
Running stripslashes on all $_POST in all controllers - by El Forum - 06-21-2010, 10:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB