Jump to content


Photo

Drawing a blank on replace


  • Please log in to reply
1 reply to this topic

#1 radar

radar
  • Members
  • PipPipPip
  • Advanced Member
  • 645 posts
  • LocationSLC

Posted 30 August 2006 - 06:14 PM

okay so I have a referrer that is like this...

http://turbochargead...lected=CDM-8450

Now this is going to change depending on what Model of Cell phone and what Brand of cell phone..  one thing that is always going to stay the same is going to be the part that i want which is..

http://turbochargead...?action=replace

So question is how do I take the first referrer and turn it into the second?

#2 ronverdonk

ronverdonk
  • Members
  • PipPipPip
  • Advanced Member
  • 277 posts
  • LocationNetherlands

Posted 30 August 2006 - 07:18 PM

Use the parse_url command see PHP documentation

http://nl2.php.net/m...n.parse-url.php

Ronald  8)
RTFM is an almost extinct art form, it should be subsidized.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users