0

I need to use an url rewrite scheme but i would like to be able to add my var without changing .htaccess rules

i was thinking about a scheme mostly like the one used by CodeIgniter can't find any PHP class or other scheme articles

Hashem Qolami
  • 97,268
  • 26
  • 150
  • 164
al404IT
  • 1,380
  • 3
  • 21
  • 54
  • it could be but i was wondering if somebody wrote a class to parse url into array and viceversa AND if may be does exist a different way to handle it – al404IT Jan 17 '14 at 16:02

1 Answers1

0

Try to write in .htaccess redirect from any url to index.php, then in index.php you can get requested URL with $_SERVER['REQUEST_URI'] and handle it.
So if you want, you can save your pages data in database, then get it from index.php and handle request withem... and so on...

RussianVodka
  • 450
  • 1
  • 6
  • 18