php - rewrite rule pattern can't work right -


I did something like regex / profile to profile.php? Id = 1 & amp; Tried to write email = mediaicalboy@gmail.com again? / 9/medicalboy@gmail.com

But the rule does not work:

I did this

php:

  & Lt; A href = "profile /   

htaccess

  Reviving OnRiverbase / Regex / Riverlight ^ Profile / ([0- 9] +) / (. *) $ Profile.php? ID = $ 1 and amp; Email = $ 2 [L]   

What's the problem? I read carefully about writing again, but I do not know where the problem is.

me I knew the answer.

I thought $ _GET would work like Yuri with Reggae / Profiles / 1/66, so $ _GET can not get information depend on uri

so I blast Used id such as:

  $ url = $ _ server ['REQUEST_URI']; $ Exp = Explosion ("/", $ url); $ Id = $ exp [3]; $ Query = $ db- & gt; Query (Choose user from "User ID = '$ id'" *);    

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -