How can I take a uri passed to a interface script(a script that is called
for every page request) modify it, do whatever, and then change the uri that
the user see's to be whatever?
Essentially I have a rewrite rule
RewriteRule ^(.*)[/]?$ /Index\.php
That calls index.php
I can do $_Server['REQUEST_URI'] to get the uri but how can I modify the
browser's uri that the user see's but also redirect the uri to something
different.
Basically I sorta want to write a rewrite handler of my own because I'm
having a few issues with it. I'd rather use php to deal with it if possible.
Thanks,
Jon
for every page request) modify it, do whatever, and then change the uri that
the user see's to be whatever?
Essentially I have a rewrite rule
RewriteRule ^(.*)[/]?$ /Index\.php
That calls index.php
I can do $_Server['REQUEST_URI'] to get the uri but how can I modify the
browser's uri that the user see's but also redirect the uri to something
different.
Basically I sorta want to write a rewrite handler of my own because I'm
having a few issues with it. I'd rather use php to deal with it if possible.
Thanks,
Jon
Comment