This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| neededPassword = "8513" | |
| maxLogins = 3 | |
| userLoginAttempts = 0 | |
| def Login(password): | |
| global maxLogins | |
| global neededPassword | |
| global userLoginAttempts | |
| userInputPassword = raw_input("Enter Password: ") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This script is made by Simeon L. Dahl | |
| */ | |
| include ( 'settings.php' ); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //// | |
| // Site Config | |
| // | |
| $cfg_site_enabled = true; // Set to false if you are updating your site | |
| $cfg_site_title = "My Website"; // Set the TITLE on your webpage | |
| if ($cfg_site_enabled == false) | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Mysql settings | |
| $mysql['enabled'] = true; // Enable MySQL | |
| $mysql['host'] = "localhost"; // Host | |
| $mysql['user'] = "root"; // Username | |
| $mysql['pass'] = "1234"; // Password | |
| $mysql['db'] = "my_base"; // Database | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0.1.8 -> 0.1.9 | |
| general: | |
| - Updated all the old PHP 4 to PHP 5 tags | |
| - Updated security to secure a MySQL injection | |
| -------------------------------------------------------------------------------------------------- | |
| 0.1.7 -> 0.1.8 | |
| general: | |
| - Added a frew ON and OFF (defrines) | |
| -------------------------------------------------------------------------------------------------- | |
| 0.1.6 -> 0.1.7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0.0.1 -> 0.0.2 | |
| general: | |
| - Removed PHP code from index.php | |
| - Added a new file with php code in called "function.php" | |
| 0.0.1 | |
| general: | |
| - Added the new code to get value of a dropdown box (PHP) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0.0.1 -> 0.0.2 | |
| general: | |
| - New function to show or hide the disabled message | |
| - Added a comment in "mysql.php" | |
| 0.0.1 | |
| general: | |
| - New function to disable/enable website frontpage | |
| - Fixed a frew bugs | |
| - Fixed comments on "config.php" and "mysql.php" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <osteam> | |
| using namespace std; | |
| int add(x,y) | |
| { | |
| return x + y; | |
| } | |
| int main() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // | |
| // If this is enabled it will do a function | |
| // | |
| $enabled = true; | |
| $web_mail = "example@gmail.com" //Set your webmaster mail here | |
| if ($enabled == true) { | |
| //set function here | |
| } else { |