Forum

Questions and discussions

Force user to create a login to get the free download

Script's setup and configuration

Force user to create a login to get the free download

Postby oceankane » Fri Feb 22, 2013 9:27 pm

Is there a setting or method to force user/customer to create a login to get the free download?
oceankane
 
Posts: 13
Joined: Sun Jan 15, 2012 10:47 pm

Re: Force user to create a login to get the free download

Postby admin » Sun Feb 24, 2013 6:54 am

You should edit the file:
/members/count.php

and add the code at the top:
Code: Select all
<?
include("../admin/function/db.php");
if(!isset($_SESSION["people_id"])){header("location:login.php");exit();}
?>
admin
Site Admin
 
Posts: 1465
Joined: Sun Mar 07, 2010 5:55 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 2 guests

cron
  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  Support
  CMSaccount Inc.