Please Advise PHP Script issue

irantrack

New Member
I came across this PHP URL Rotator Script here (http://motiongroove.com/2010/03/03/free-php-url-rotator-script/), but for some reason, the damn thing keeps giving me this error:Fatal error: Call to undefined function sset() in /servername/index.php on line 4This is the Code I received:\[code\]<?php $link[1] = "http://yourdomain.com/index1.html";$link[2] = "http://yourdomain.com/index2.html";$link[3] = "http://yourdomain.com/index3.html";if(!sset($HTTP_cookie_VARS['link'])){ $n=count($link); $rand=rand(1,$n); setcookie("link",$rand,time()+3600);header('location:'.$link[$rand]); }else{ $go=$link[$_COOKIE['link']]; header('location:'.$go); } ?>\[/code\]Thank you!
 
Back
Top