Business Card Cases
By
# Determine the current base URL
if(!isset($_SERVER['REQUEST_URI'])) {
$psps_base_url = $_SERVER['PHP_SELF'];
if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) { $psps_base_url .= $HTTP_SERVER_VARS['QUERY_STRING']; }
} else {
$psps_base_url = $_SERVER['REQUEST_URI'];
}
$psps_parameters = '';
foreach ($_REQUEST as $key => $value) {
if (strpos($key,”psps_”) > -1 ) {
$psps_parameters .= ‘&’.$key.’=’.urlencode($value);
$psps_base_url = str_replace(’&’.$key.’=’.urlencode($value), “”, $psps_base_url);
$psps_base_url = str_replace($key.’=’.urlencode($value), “”, $psps_base_url);
}
}
$psps_parameters .= “&psps_show_search=true”;
$psps_parameters .= “&psps_show_navigation=true”;
$psps_parameters .= “&psps_show_products=true”;
$psps_url = “?psps_base_url=”.urlencode($psps_base_url);
$psps_url=”http://shops.popshops.com/shops/php/45895cae705d42b7bbca14d412db03e5$psps_url$psps_parameters”;
# Include the shop
if (function_exists(’curl_init’)) {
$shop=curl_init();
curl_setopt($shop,CURLOPT_URL,$psps_url);
curl_exec($shop);
curl_close($shop);
} else {
readfile($psps_url);
}
?>
Random Posts
If you enjoyed this post, make sure you subscribe to my RSS feed!

2 Comments
February 23rd, 2008 at 9:07 pm
[...] cards in your pocket, coat, purse, wallet, briefcase, desk, car, and gym bag. Store them in a nice business card case so that they don’t become stained or torn. Using a business card case [...]
August 17th, 2008 at 6:48 pm
[...] When you receive the other person’s card, don’t cram it down into your pocket haphazardly. Treat it with respect. Take a few seconds to read it, make a comment about it (”I love your logo,” for example), then place it in your wallet or an attractive business card case. [...]