gilbitron/PIP — pull request #9 by robertabramski (2012-01-27 01:05:33+00:00)
Title: Change to Segment Helper Function

I changed the segment function to use REQUEST_URI from the $_SERVER array. The $_GET['_url'] variable wasn't working for me. I couldn't find any documentation of this variable being in the $_GET array by default. This new function also does an integer check to the variable passed in and returns false if not an integer.