advanced_flatfile_reg-login_script_v3

Started on the old forum in August 2012 · view the original in the archive · old links redirect here

7 replies · 753 views · started 14 years ago · 2 min read

5 participants
Ghost Senior · 366 posts #1

/** * @Author Ghost * @Copyright 2012 * @Version 3.0 * @Description Advanced Register & Login Script * @FileSource Flat File (.txt) * @Setup Functions, Sessions, Encrypted Passwords * @HTMLVersion Xhtml 1.0 Transitional EN * @CssVersion Css3
**/

This Is An Advanced Flat File Register And Login Script With:

functions sessions encrypted passwords file protection (Stop Direct Access To config.php / functions.php) username protection (htmlentities / stripslashes / preg_replace / strtolower) password protection (htmlentities / stripslashes) members count (Will Appear On Index.php Once First Registration Is Complete) site visited counter (Appears Instantly On First Index Load Up) .htaccess file (protection for .txt files)

also includes: file creating & chmoding of passwords.txt (When First Registration Is Excepted) file creating & chmoding of usernames.txt (When First Registration Is Excepted) file creating & chmoding of count.txt (When Going To Index.php On First Page Load)

I Have Also Added A Template Folder/File. Which You Can Copy/Paste And Rename It. You Will Be Able To Use It For EVERY File You Want To Add/Create To Your Site/Project. This File Is Setup Correctly, All You Will Need To Do Is Add Your Page Title And Content.

I Have Also Added A Nice Fire Background Image And A Under-Construction Image. Just To Pretty Up The Script Abit Lol.

I Added A Nameless .txt File To Data Folder, Just So The Folder Wasnt Empty On Upload Just Incase The Server Your On Doesnt Upload Empty Folders. As The Data Folder Will Fill Up With 3 .txt Files Once You Start Using The Script. You Can Remove This .txt File Whenever You Want. Just Make Sure The Data Folder Was Uploaded.

You Should Be Able To Use This Script As A Starter Base For Any Project/Site You Wish To Make That Doesnt Require You To Have Mysql Database On Your Server.

Demo: the-immortals.uk.to

Script:

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
wapwap1 Newbie · 2 posts #2

thanks sir ghost i think this is my first script that i need for my php site

Ghost Senior · 366 posts #3

wapwap1 wrote: thanks sir ghost i think this is my first script that i need for my php site

your welcome. this will be a great script for anyone to start out php with. its done all the hard work for you login/reg functions and leaves you free to just figure out what content you want to put inside it. and build your site from there 🙂

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
sbbrhs Newbie · 1 posts #4

Thnx a lot...:) i was looking 4 something like this 4 a long time...8-)

Ghost Senior · 366 posts #5

sbbrhs wrote: Thnx a lot...:) i was looking 4 something like this 4 a long time...8-)

well your search is finally over lol. enjoy 🙂

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
Ghost Senior · 366 posts #7

its good to see some people are actually taking an interest in this. thank you.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
analyzer Developer · 104 posts #8

Thanks bro.. Nice share..

It's n0t that i am afraid to die. Its just that if i die, wh0 wilL loVe her as muCh as i Do?

Sign in to reply.

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close