View Single Post
Old 04-06-2007, 02:27 PM  
misfit138
Registered User
 
Join Date: Nov 2006
Posts: 2
you can use php sessions... example;

<?php
session_start();

if (!session_is_registered('count')) {
session_register('count');
$count = 1;
} else {
$count++;
}
?>
<?
if ($_SESSION['count']>="3") {
?>you have reached you download limit...etc...
<? } else { ?>download code here<? } ?>

hope this helps ;)
misfit138 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote