Welcome Guest, Not a member yet? Register   Sign In
prevent direct access to this function/page ?
#7

[eluser]Arun Joshi[/eluser]
Sorry bargainph,
Its not working... I tried like this

Code:
function ajaxRemove()
{
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']))
{
    echo 'ajax call';
}
else
{
    echo 'url call';
}
}


Messages In This Thread
prevent direct access to this function/page ? - by El Forum - 06-09-2009, 04:58 AM
prevent direct access to this function/page ? - by El Forum - 06-09-2009, 05:02 AM
prevent direct access to this function/page ? - by El Forum - 06-09-2009, 05:05 AM
prevent direct access to this function/page ? - by El Forum - 06-09-2009, 06:37 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 03:23 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 03:36 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 03:41 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 03:59 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 04:06 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 04:18 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 08:15 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 08:19 AM
prevent direct access to this function/page ? - by El Forum - 06-10-2009, 07:39 PM
prevent direct access to this function/page ? - by El Forum - 07-09-2009, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB