Create a PHP file and name it phpSumo.php then paste this code inside.
session_start(); //START A SESSION IF YOU USE protectinclude("phpSumo.class.php");
//$phpSumo->protect("password"); //Page Protect NOTE: Will need [b]session_start[/b] to workecho'<p>'.$phpSumo->quotes("phrases.txt").'</p>'; //Quotes from a fileecho'<p><b>Website Hits: </b>'.$phpSumo->hits().'</p>'; //Count Website Hits
By calling: $phpSumo->hits() it creates a website hit counter for you.
By calling: $phpSumo->quotes( "phrases.txt" ) it will print out random text/quotes from file phrases.txt NOTE: Each text or quote needs to be on a new line.
Example Quote File: Create a text file in notepad then save it as phrases.txt then drop it in the folder with the phpSumo.php file.
A person who never made a mistake never tried anything new. - Albert Einstein
All our dreams can come true, if we have the courage to pursue them. - Walt Disney
Design is not just what it looks like and feels like. Design is how it works. - Steve Jobs
Defeat is not the worst of failures. Not to have tried is the true failure. - George Edward Woodberry
I need drama in my life to keep making music. - Eminem
Float like a butterfly, sting like a bee. - Muhammad Ali
By calling: $phpSumo->protect( "myPassword" ) it will password protect your page, add this line right on the top before your content.
You need to pass a specific password to the function, I have entered myPassword as an example.
Try it out give me some feedback, would appreciate it.