Jump to content

Recommended Posts

Hello dear friends and happy friday to all,

 

I've question which really hurts me feeling long time ago and made alot of searching but can't find answer.

 

let say we have $id and $do both are anything

 

$id = "any";

$do = "foo";

 

And we have link in that looking

 

yoursite.com/index.php?id=$id

 

Now what is the command i should write or write in .htaccess file so make it when i call the following link

 

yoursite.com/$id/$do

 

be the same as if i called the original link which is

 

yoursite.com/index.php?id=$id

 

Note :- if it not possible then will if be possible in next way

or

yoursite.com/$do/$id

 

Thanks for help !

Link to comment
https://forums.phpfreaks.com/topic/229574-what-is-the-command/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.