php change get value in a link

35

preg_replace("#&d=.*&#", '&d=newvalue&', $_SERVER['REQUEST_URI'])

Comments

Submit
0 Comments