\n";
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
if( isset($arr_xml['PostID'][$i]) && $arr_xml['PostID'][$i] > 0 ) continue;
echo "- ".$arr_xml['BeforeText'][$i]." ".$arr_xml['Text'][$i]." ".$arr_xml['AfterText'][$i]."
\n";
}
echo "
";
}
}
function tla_updateLocalXML($url, $file, $time_out)
{
if($handle = fopen($file, "a")){
fwrite($handle, "\n");
fclose($handle);
}
if($xml = file_get_contents_tla($url, $time_out)) {
$xml = substr($xml, strpos($xml,''));
if ($handle = fopen($file, "w")) {
fwrite($handle, $xml);
fclose($handle);
}
}
}
function tla_getLocalXML($file)
{
$contents = "";
if($handle = fopen($file, "r")){
$contents = fread($handle, filesize($file)+1);
fclose($handle);
}
return $contents;
}
function file_get_contents_tla($url, $time_out)
{
$result = "";
$url = parse_url($url);
if ($handle = @fsockopen ($url["host"], 80)) {
if(function_exists("socket_set_timeout")) {
socket_set_timeout($handle,$time_out,0);
} else if(function_exists("stream_set_timeout")) {
stream_set_timeout($handle,$time_out,0);
}
fwrite ($handle, "GET $url[path]?$url[query] HTTP/1.0\r\nHost: $url[host]\r\nConnection: Close\r\n\r\n");
while (!feof($handle)) {
$result .= @fread($handle, 40960);
}
fclose($handle);
}
return $result;
}
function tla_decodeXML($xmlstg)
{
if( !function_exists('html_entity_decode') ){
function html_entity_decode($string)
{
// replace numeric entities
$string = preg_replace('~([0-9a-f]+);~ei', 'chr(hexdec("\1"))', $string);
$string = preg_replace('~([0-9]+);~e', 'chr(\1)', $string);
// replace literal entities
$trans_tbl = get_html_translation_table(HTML_ENTITIES);
$trans_tbl = array_flip($trans_tbl);
return strtr($string, $trans_tbl);
}
}
$out = "";
$retarr = "";
preg_match_all ("/<(.*?)>(.*?)", $xmlstg, $out, PREG_SET_ORDER);
$search_ar = array('<', '>', '"');
$replace_ar = array('<', '>', '"');
$n = 0;
while (isset($out[$n]))
{
$retarr[$out[$n][1]][] = str_replace($search_ar, $replace_ar,html_entity_decode(strip_tags($out[$n][0])));
$n++;
}
return $retarr;
}
tla_ads();
}
?>
Tech Tourist
i tried it too. can’t work.
They just re-ran this episode tonight, I can’t believe they never put anything up at that site…
Okay, so I looked it up too. But I really am searching for the perfect wallet. One that holds my Palm TX and SD cards. LOL So when I heard that on the rerun, I was happy for about 30 seconds til the search failed. (sobbing)
hehehe
Same here, I just found this post while looking for WalletNook.com after having seen the show. Interesting part about it is I was thinking to myself sweet, a site with a bunch of wallets… I need a new one anyways. Perfect product placement that made me want to buy something and alas, no option to do so.
Yup, same here… I would of at least created a fake online website… at the least. sheesh. LAZY! lol
Pingback: Penny Blossoms (Gary Said...)
They did make a site for the Penny Blossoms episode!
If you mention a domain name on a tv show or in a movie you have to purchase it beforehand – you don’t have to actually use it, you just need to buy it.
I love big bang and I noticed that site when I was watching season 1 again… >.> Warner Bros is ticking me off. I just hope they keep the show going.
Good. I’m not the only one who tried this. Felt like an idiot but I figured what the hell. Especially since this afternoon I discovered my own wallet is beginning to show signs of wear. I figured what did I have to lose? Now I’m disappointed there’s a penny blossoms website and not a wallet nook. =(
Wow, we’ve all been screwed!!! I really wanted a new wallet, and after watching The Big Bang Theory, I thought it would be a real website. All their science comments are actually researched and true.
incidentialy there is a penny blossom site, no BBt redirect but it is BBT’s penny and her flower barrets
yeah and the hypoallergenic kitties from ca are real as well.
Great funny episode! And I googled Walletnook.com too…
:)
they can not use a site the same as a real site
walletgear.com has the same types of wallets as of the fictional walletnook.com ,
it’s kinda like the same reason why they use 555 in all of their phone numbers
i want to buy/own the same wallet as sheldon. why is there at least not a picture and make/model number of the wallet???
Lol…I just got played too.
DAMMIT!
…lol