I need a simple redirect script for the following
i need to send traffic from various PPC platforms to the script and if the referring URL has a certain sequence of characters (eg. "gcid" or ".r.msn.com") to be directed to landing page "A" and if it doesn't I need them to be directed to landing page "B".
On top of that I need to script to capture certain tracking variables and pass them on to landing page "A" URL if applicable.
It should be very easy for someone how knows PHP but unfortunately I don't :(