I am using $_SERVER['REQUEST_URI'] to grab the URL...which is this:
/Appointments/Administrator/events.php/219

My question is what string function I should use to grab the number after /events.php/.

In the example above is 219...but it can be any number.