daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $argString = trim(substr($_SERVER['PATH_INFO'], strripos($_SERVER['PATH_INFO'],'-')+strlen('-')), '/');
  3. $argArray = explode('/', $argString);
  4. if($argArray[0]) {
  5.     for ($i = 0; $i < count($argArray); $i += 2) {
  6.             ${$argArray[$i]} = $argArray[$i + 1];
  7.     }
  8. }
  9. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top