[eluser]TheFuzzy0ne[/eluser]
I beg to differ. When you called on the URL directly, you got a PHP error related to that function. Fix that and you're one step closer to fixing the function. Work directly with the URL in the address bar until it does what you want it to do.