Home > Paid Traffic Sources > POP / PPV / Redirect

removing ".com" for target insertion (3)


08-12-2012 10:19 AM #1 jonemd (Member)
removing ".com" for target insertion

Now I'm hoping that someone here can help me.

I'm now diving feet first in to PPV and I want a way of inserting the target in to the landing page.

I know how to insert the whole target but I want a way of removing the ".com" etc.

eg. ?target=Domain.com -> and I only want to insert Domain on the landing page.

God I hope that makes sense.

Can anyone help?

Thanks


08-12-2012 11:48 AM #2 bluebox (Member)

Code:
<?php
$pieces = explode(".", $_GET['target']);
echo $pieces[0];
?>
Something like this?


08-12-2012 12:15 PM #3 jonemd (Member)

Thanks bluebox. I'll give it a go later and let you know how I get on.


Home > Paid Traffic Sources > POP / PPV / Redirect