Saturday, 14 September 2013

Parse error: syntax error, unexpected '

Parse error: syntax error, unexpected '

This question is an exact duplicate of:
PHP I am new to php i do not know enaything about php i was sold this [on
hold]
Help me with this php i get this error: Parse error: syntax error,
unexpected '<' on line 1
<?PHP
*$cookie_name*=*'twitter';*//*name*of*cookie$cookie_value*=*'redirection';*
//*what*we*gonna*store*in*cookie$cookie_expire*=*time()*+*86400;*
//*expiration*date*of*cookie*8*hours*from*now$cookie_domain*=*'.YOUR-SITE.com';*
//*where*cookie*is*valid
//*check*if*cookie*exists*ornot*and*redirects*to*proper*pageif*
(!isset($_COOKIE[$cookie_name]))*
{*//*create*cookie*and*redirectsetcookie($cookie_name,*$cookie_value,*$cookie_expire,*'
/',*$cookie_domain);header("Location:*http://blankrefer.com/?http:
//YOUR-******-LINK.com");}else{header("Location:*http://blankrefer.com/?http://YOUR-
SECOND-******-LINK.com");}
?>

No comments:

Post a Comment