balagod 0 Newbie Poster

i,
i want to execute my code to rewriting url in on the fly and i have to get $_requet values in code

for example
original typed url in browser:

http://localhost/mypet1/a1
http://localhost/mypet1/a1/?page=sp_login
http://localhost/mypet1/a1/index.php
http://localhost/mypet1/a1/index.php?page=sp_login


execution url
http://localhost/mypet1/?sp=a1
http://localhost/mypet1/?sp=a1&page=sp_login
http://localhost/mypet1/index.php?sp=a1
http://localhost/mypet1/index.php?sp=a1&page=sp_login

i need to get in my code
$_REquest; value is a1 for above example

any one help me to do this

Regards
Bala

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.