Lockerz Invite Script Installation Guide
Inviting people to Lockerz gets you a nice amount of PTZ, so the more people you invite, the better. But this is a tedious process which requires you to manually send invitations only to the people you know. That’s where this awesome script comes in: it automates the invitation process and allows people who don’t even know you to get invited through your account.
Today I’m going to show you how to setup and install your own Lockerz invite script – pretty similar to the one I have installed here.
Grab the script from the link below to start editing the script. You’ll also need a site to upload the script’s files to, so I’ve listed some free ones below.
Lockerz Invite Script v1 (created by Blake) – Download
Some free webhosts:
Editing and Uploading the Script
Extract the contents of the archive to an empty folder.

Let’s begin by editing the index.php. Open it in any text editor (I recommend Notepad++).
At the bottom of the file, you should find this block of code:
<span style="color: red;"> </span> <h1><span style="color: red;"><strong> YourSite's Lockerz Inviter </strong></span></h1> <span style="color: red;"> </span> <h3><strong> Enter the email you'd like to receive the invite in </strong></h3> <form id="emailsubmit" action="submit.php" method="post"> <table border="0" cellspacing="0" cellpadding="2" align="center"> <tbody> <tr> <td align="center"><input id="email" class="textfield" maxlength="100" name="email" size="35" type="text" /></td> <td align="right"><input name="Submit" type="submit" value="Submit" /></td> </tr> </tbody> </table> </form>
Edit the text in black to whatever you want.
Once you’re done editing, save it, and open the config.php. Edit everything in this file except the DB_USER and DB_PASSWORD fields.
define('DB_HOST', 'localhost'); //Hostname (localhost 99% of the time) define('DB_USER', 'username'); //Database username define('DB_PASSWORD', 'password'); //Database password define('DB_DATABASE', 'db_lockerz'); //Database define('L_LOGIN', 'email@mail.com'); //Lockerz email/username define('L_PASSWORD', 'password'); //Lockerz password define('L_MESSAGE', 'Here is your Lockerz invite courtesy of YourSiteHere'); //Invite message ?>
Next, open up your cPanel (or whatever other panel your host uses), and create a new database using the MySQL Database Wizard. After creating the database, enter the username and password into the config.php file, then open your phpMyAdmin.
Once it’s open, click on the Databases tab.

After selecting the database you just created from the list, a page like the one in the image below should appear.

Click on the SQL tab and enter these queries in the box, then click on Go to run them.
CREATE TABLE `counts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `count` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ); INSERT INTO `counts` (`id`, `count`) VALUES (1, 1); CREATE TABLE `emails` ( `id` int(11) NOT NULL AUTO_INCREMENT, `address` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ); INSERT INTO `emails` (`id`, `address`) VALUES (1, `testemail37284@gmail.com`); CREATE TABLE `queue` ( `id` int(11) NOT NULL AUTO_INCREMENT, `address` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) );
Note: The email used in the MySQL query above is for testing purposes only, so you can change it to whatever suits you.
Now that we’re done with this file, save it and open submit.php. Using the Search function in your text editor, find “YourSite”. Modify it to the name you want. Save it and exit.
Finally, open send.php and find this URL:
http://YourSite/lockerz/submit.php
Change it to your site’s URL and save the file.
Last but not least, upload your files to a directory on your host. Change the permissions of the directory to 755 or 777 (not recommended).
There you have it! You should now have a fully-functional Lockerz invite script running on your site. The design may be bland, but that’s up to you to work on.
If any errors come up, or the script doesn’t work properly, please leave a comment so I can check it out.
| Print article | This entry was posted by Cyph0n on February 26, 2010 at 4:09 pm, and is filed under Web Programming. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
- Lockerz Invite Script Installation Guide | PC Demon PC just to Me
- Lockerz Invite Script Installation Guide | PC Demon | Drakz Free Online Service
- Lockerz Invite Script Installation Guide | PC Demon « Script
- LOCKERZ instant inviter script SETUP TUTORIAL + FULL SOURCE CODE DOWNLOAD | Host Rage
- A Demand for Php Freelance Projects
- Lockerz Invite Script Installation Guide | PC Demon | Yoobz.com
- How to Generate Free Website Traffic | how to make your own site
- Motorola Milestone XT720 announced: 8 megapixel cam, 720p video, and Droid heritage | Gadget Public Information
- Mitsubishi Electric to Supply 65 Elevators and Escalators for Mexico City Metro Line 12 | Gadget Public Information
- Turning A Hot Movie Idea Into A Indie Script You Can Shoot | friends the movies
- iPhone Game Review: Bottle Hunt | Gadget Public Information
- Steve Jobs Unveiling iPhone 4 at WWDC 2010 Video | Gadget Public Information
- R. Kelly – I Love The DJ New Song of Untitled | how to make your own site




about 5 months ago
free invit lockerz
http://lockerz-speed-invitation.blogspot.com/
about 5 months ago
[IMG]http://i43.tinypic.com/nf2ull.png[/IMG]
heLp pLease !
about 5 months ago
What version of MySQL does your host have installed?
about 5 months ago
5.0.90-community
about 5 months ago
Can you record this a video ?
about 5 months ago
Mmm.. my host is using 5.0.89-community…
Anyways, if I have the time, I’ll make a video. But for the meantime, you can try this script:
http://lockerzinvitescript.com/LockerzInviteScript.com_LastVersion_v3.0_Beta.zip
It’s a lot easier to setup and it looks a lot better than the one in this guide.
about 4 months ago
great post as usual!
about 4 months ago
Hello there, followed all your instructions, got up to the point of entering in the SQL queries, and got the same exact error as ‘Lockerz Error’, which was “Unknown column ‘my email’ in ‘field list’.
Is there a fix for this? If not, could you maybe give me some pointers on how to use/configure the alternate beta script you posted above? A lot of the wording in that one is jumbled and I’m new to this. Thanks for your help, I really appreciate it!
about 3 months ago
The included ReadMe pretty much sums up what you have to do, and it’s a lot easier to setup than the one in the post above.
1. Download and unzip the “Lockerz Invite Script” package, if you haven’t already.
The unzipped files will be created in a directory named “LockerzInviteScript”, followed by a version number.
2. Upload all files and folders in the directory “LockerzInviteScript” to your server hosting.
3. CHMOD (change permissions of) folder /tmp/ to 777.
4. Edit file configs.php with your like.
The configs.php is pretty much all you’ll have to edit and if you need any help with filling in the required info, just send me an email using the Contact page (located in the navbar above).
And here’s what it looks like:
http://www.pcdemon.net/lock3rz/
about 3 months ago
What version of MySQL does your host have installed?
about 3 months ago
I already supplied it in a comment above.. 5.0.89-community.