hi guys,
I am a totally noob when it comes to php. Anyway, I want to link to an affiliate offer from my PPC campaign via a redirect.
Anyway, I have a site, let's say topamericandeals.com. I have created a page called affiliate-offer.php and placed the following code in there:
<?php
header( 'Location: http://my-affiliate-offer-link.com' ) ;
?>
So, I have the url: hxxp://topamericandeals.com/affiliate-offer.php .. I enter this into the browser, and I get this error:
Fatal error: Call to undefined function phpheader() in /home/mywebserver/public_html/topamericandeals/affiliate-offer.php on line 1
Can you php geniuses please tell me what I'm doing wrong here? Any help would be greatly appreciated.
Cheers,
JP