Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

URL-related query

$
0
0

Hey guys,

 

I'm Ankur and a new member here. I just started off with php recently, still grabbing the basics and I'd like to ask about 1 thing for now -

 

I want to create a script in a way where... let's assume that there is a webpage with an external link pointing to .. say.. google.com

 

Now, as soon as someone clicks on this link, I want the link to become something like

 

www.abc.com?redirect=google.com?utm_source=abc

 

As you can see, even though there is a simple link posted - google.com, it gets engulfed by some other domain, followed by UTM parameters.

 

I'd love to create a script like this. How do I get started?

 

Thanks!


Viewing all articles
Browse latest Browse all 13200

Trending Articles