This file contains 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 | |
// Global targeting from Tealium | |
/** | |
* Get our Tealimum items and let's pass those through. | |
*/ | |
if (class_exists('\TI\Tealium\API')) { | |
$api_do = new \TI\Tealium\API(); | |
$udo = $api_do->get_udo(); | |
foreach ($udo as $tealium_key => $tealium_value) { |
This file contains 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
## 4 ################################################################################################## | |
## 5 ################################################################################################## | |
## 6 ################################################################################################## | |
## 7 ################################################################################################## | |
## 8 ################################################################################################## |
This file contains 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
## APACHE BENCH COMMANDS | |
ab -c 25 -n 100 http://localhost/heavy | |
ab -c 25 -n 100 http://localhost | |
# This are snippets for DrupalCon. | |
# Bitly link: http://bit.ly/DDAustin | |
# Files: http://www.earnestberry.com/austintalk.zip | |
# <esi:include src="/robots.txt" /> | |
# White list items |
This file contains 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 | |
$page = 0; | |
$url = "/blogs?me=you&jim=earnest&page=13"; | |
$query = parse_str($url); | |
echo "Page var is: $page, notice it is $page not 0"; | |
?> |