I hereby claim:
- I am codeandbattle on github.
- I am marc_c_hoover (https://keybase.io/marc_c_hoover) on keybase.
- I have a public key ASBjHN0Yc_O_HkhUEAg5gAcELA3EAPsZCbewV30UEUbIRAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/viewProduct?offer=441302.535158 - WALMART E-GIFT CARDS |
Add this to the header: | |
<?php | |
require('access.php'); | |
?> | |
Source: http://stackoverflow.com/questions/286938/what-is-the-best-way-to-password-protect-folder-page-using-php-without-a-db-or-u |
Here is all you need to know about relative file paths: | |
• Starting with "/" returns to the root directory and starts there | |
• Starting with "../" moves one directory backwards and starts there | |
• Starting with "../../" moves two directories backwards and starts there (and so on...) | |
• To move forward, just start with the first subdirectory and keep moving forward |
$userCount = countUsers(); // Count the amount of users | |
$per_page = 25; // Change this to the amount of records per page | |
$total_page = ceil($userCount / $per_page); | |
$current_page = empty($_GET['page']) ? 1 : $_GET['page']; | |
$previous_page = $current_page - 1; | |
$next_page = $current_page + 1; | |
$myPrev = "<div id='prevlink'><a href='".$_SERVER['PHP_SELF']."?page=$previous_page'>Previous</a></div>"; | |
$myNext = "<div id='nextlink'><a href='".$_SERVER['PHP_SELF']."?page=$next_page'>Next</a></div>"; |
<? | |
// Setting timezone for Eastern time | |
date_default_timezone_set("America/New_York"); | |
// Get 4 days ago at midnight | |
$lastdate = strtotime("-4 days"." 0:00:00"); | |
echo $lastdate."<br>"; | |
// Get last midnight | |
$midnight = strtotime("today"); |
<? | |
//Set timezone to Eastern time | |
date_default_timezone_set ("America/New_York"); | |
// 1 Hour in Unix time | |
$onehour = 3600; | |
// Display the current Unix time | |
echo time() . "<br>"; |
I hereby claim:
To claim this, I am signing this object:
.myClass { | |
font-size: 16px; | |
display: inline-block; | |
background: #444; | |
line-height: 20px; | |
border: 1px solid #FFF; | |
padding: 3px; | |
border-radius: 3px; | |
box-shadow: -3px 3px 3px #888; | |
} |
<? | |
$s_url = "https://blockchain.info/ticker"; | |
$j_json = file_get_contents($s_url); | |
$a_BTC = json_decode($j_json, TRUE); | |
$a_BTC["USD"]["symbol"] . $a_BTC["USD"]["last"]; | |
?> |