Exemplo n.º 1
0
<?php

require_once "./include/fg_membersite.php";
$fgmembersite = new FGMembersite();
//Provide your site name here
$fgmembersite->SetWebsiteName('Eventprobe.com');
//Provide the email address where you want to get notifications
$fgmembersite->SetAdminEmail('*****@*****.**');
//Provide your database login details here:
//hostname, user name, password, database name and table name
//note that the script will create the table (for example, fgusers in this case)
//by itself on submitting register.php for the first time
$fgmembersite->InitDB('localhost', 'admindev', '17s_9Eyr', 'EventAdvisors', 'Registration', 'Events', 'MyEvents');
//For better security. Get a random string from this link: http://tinyurl.com/randstr
// and put it here
$fgmembersite->SetRandomKey('qSRcVS6DrTzrPvr');
$fgmembersite->setGeolocation();