Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Using the following function to learn what is after the trailing slash on my 404 page.
- function explodeURL()
- {
- $filename = $_SERVER['REQUEST_URI'];
- $breakfile = Explode('/', $filename);
- $pfile = $breakfile[count($breakfile) - 1];
- return $pfile;
- }
- $urlexplode = explodeURL();
- how can break down the output if its something like
- from_user=FROM-USER-HERE&to_user=TO_USER-HERE
- I need to be able to get the FROM-USER-HERE and the TO-USER-HERE so I can pass them each through another function.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement