Jump to content

Strip and Embed a URL into a Page


bradleynsmith

Recommended Posts

Hi Freaks :)

 

(I've always wanted to say that !)

 

 

I have a  Clickbank URL which I want to use to embed two pieces of information onto a page.

 

eg.

http://YOURCLICKBANKID.myclickbank.hop.clickbank.net?id=7630172892917082

 

I want to do two things:

1. Pick up the site from which this was referred (the referral URL) and use this elsewhere, in a 404 Error Page

2. Pick out the last set of digits from the ?id=XXXXXXXXXXXXXXXX and embed that elsewhere in the page.

 

I know this is fairly simple in PHP - but I'm a complete Newbie :(

 

Can someone please point me in the right direction ?

 

Thanks --

 

 

Brad

 

Link to comment
https://forums.phpfreaks.com/topic/52331-strip-and-embed-a-url-into-a-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.