Hello,
I am using the below php and loading variables into a flash document. I do not know php, just getting the variables to load into flash has taken way too long. Now I need to modify the below script so that as the cookie value is incremented with each visit, after lets say 4 visits the $count is reset to start over again. I know this is probably simple but to me it is not, any help is very much appreciated. Oh and my server is setup for php 4
thanks,
Jorge Pease
<?php
$count++ ;
setcookie("count" , $count, time() +0015 ) ;
$send_count = "count=";
$send_count .= rawurlencode($count);
echo "$send_count" ;
?>