2012-04-21 留下评论









  MSDN说的window.navigate(sURL)方法是针对IE的,不适用于FF,在HTML DOM Window Object中,根本没有列出window.navigate方法。


  或者: Response.Write(“NewUrl”);




function flash(){window.location.href=””;setTimeout(“flash()”,1000);} //1000为一秒





2012-04-18 留下评论

The moment you decide to run an online store selling your favorite stuff, you are immediately thrown with dozens of questions and obstacles. For starters, you’ll need to decide between clean inventory/excess stock, then comes the resource for products. Ultimately, when it comes to open an e-commerce site, the biggest decision is Which platform should I use?

open source shopping cart Open Source E Commerce Shopping Carts Best Of

The software you’ve decided upon will be the foundation of your entire e-commerce site and will not likely be changed in the future, therefore it’s utmost important that you know all of the best one before you choose and regret later. In this post, we want to bring to your attention some of the best (free) open-source shopping carts available on the Internet. Do check them out, test of the demo, play around with it to know if the functionality suits your business before deciding on one.

Full list after jump.

Best of the pack

OsCommerce (PHP/MySQL)

OsCommerce Online Merchant is an open source online shop e-commerce solution that is available for free under the GNU General Public License. It features a rich set of out-of-the-box online shopping cart functionality that allows store owners to setup, run, and maintain online stores with minimum effort and with no costs, fees, or limitations involved.

oscommerce Open Source E Commerce Shopping Carts Best Of

Zen Cart (PHP/MySQL)

Zen Cart truly is the art of e-commerce; free, user-friendly, open source shopping cart software. The ecommerce web site design program is being developed by a group of like-minded shop owners, programmers, designers, and consultants that think ecommerce web design could be and should be done differently.

zen cart Open Source E Commerce Shopping Carts Best Of

PrestaShop (PHP/MySQL)

PrestaShop is a professional e-Commerce shopping cart software that you can download and use for free. Having a very powerful back-end, store admins can manage the inventory, orders, customers & payments easily. System never limits you as it supports unlimited categories, sub-categories & image pictures.

prestashop Open Source E Commerce Shopping Carts Best Of

CubeCart (PHP/MySQL)

CubeCart is written to run on servers that have PHP & MySQL support. With CubeCart you can quickly setup a powerful online store which can be used to sell digital or tangible products to new and existing customers all over the world.

cubecart Open Source E Commerce Shopping Carts Best Of

Magento Commerce (PHP/MySQL)

Magento is a feature-rich eCommerce platform built on open-source technology that provides online merchants with unprecedented flexibility and control over the look, content and functionality of their eCommerce store. Magento’s intuitive administration interface features powerful marketing, search engine optimization and catalog-management tools to give merchants the power to create sites that are tailored to their unique business needs. Magento also comes with a much more powerful Enterprise version.

magentocommerce Open Source E Commerce Shopping Carts Best Of

Digistore (PHP/MySQL)

Digistore Ecommerce 4.0 is a fully featured open source ecommerce solution based on the popular osCommerce engine. Boasting improvements both to the administration and the end user experience Digistore has quickly become a popular choice for people wishing to market products online.

digistore Open Source E Commerce Shopping Carts Best Of

Opencart (PHP/MySQL)

A robust e-commerce solution for Internet merchants with the ability to create their own online business and participate in e-commerce at a minimal cost. OpenCart is designed feature rich, easy to use, search engine friendly and with a visually appealing interface.

opencart Open Source E Commerce Shopping Carts Best Of

Spree Commerce (Ruby on Rails/MySQL)

Spree capitalizes on the dynamic nature of the Ruby progamming language to provide the most flexible commerce platform available. Spree has been designed from the ground up to be as open and extensible as possible. You no longer have to be frustrated with the limited set of choices provided by most platforms.

spreecommerce Open Source E Commerce Shopping Carts Best Of

CREloaded (PHP/MySQL)

CRE Loaded is much more than your average shopping cart. It’s the industry’s first downloadable e-commerce system that makes your store fully compliant with all Payment Card Industry (PCI) security rules. Organize, manage and ship your products from your online store. Accept credit card transactions safely.

creloaded Open Source E Commerce Shopping Carts Best Of

Zeuscart (PHP/MySQL)

The Zeuscart shopping cart is based on PHP application and it is used as scripting language which facilitates developer in making dynamically driven websites. It is very facile to learn and understand. To be precise, application of PHP is most popular because of its functionality which can be changed as per ones requirements.

zeuscart Open Source E Commerce Shopping Carts Best Of

Agoracart (Perl/MySQL)

Offers a very wide range of features that allow you to setup an online storefront or shop ranging from a simple template based store for novices to the integration of complex web design concepts created by your web designer.

agoracart Open Source E Commerce Shopping Carts Best Of

Afcommerce (PHP/MySQL)

AFCommerce is a full and complete online store with both a store front and administration area directly Out-Of-The-Box, which can be easily installed, configured, and maintained over a web-based interface. AFCommerce now includes our Ecommerce Website Building Software, AFBuilder, included completely Free.

afcommerce Open Source E Commerce Shopping Carts Best Of

RapidShop (PHP/without MySQL)

Very fast and easy to use, without MySQL (and can without PHP), direct from MS Excel. For 1000-2000 item of products. RapidShop is integrated with PayPal, EGold and any payment system. You can link your shopping cart to any credit card merchant account or payment gateway. Search Engine Optimized.

rapidshop Open Source E Commerce Shopping Carts Best Of

Designers & Photographers’s Favorite

These following shopping carts are light, simple and utmost useful for those who wish to sell stock photos, video and print graphics online.

Cmsaccount Photo Store Script (PHP/MySQL)

Photo store software for selling your photos, images, artwork, audio, videos, vector illustrations and prints online.

cmsaccount Open Source E Commerce Shopping Carts Best Of

Ktools Photostore (PHP/MySQL)

PhotoStore allows you to setup a complete photo selling website on your server or hosting space in just minutes. Perfect for professional photographers looking to sell their images or prints to their customers online.

photostore Open Source E Commerce Shopping Carts Best Of

Xpoze (PHP/MySQL)

Complete and easy to use solution for selling images and other media files such as videos, vectors or 3D graphics. As everyone tends for something unique Xpoze have worked had to provide you with the best flexibility to customize the look and the features you want to use without much fuss and programming knowledge.

xpoze Open Source E Commerce Shopping Carts Best Of

Shopping Carts: Joomla

VirtueMart (PHP/MySQL)

The complete e-Commerce shopping cart solution for Joomla! used by thousands of store owners. It can be run in Store- and Catalog-Mode. With its powerful Administration Tool you can handle an unlimited Number of Categories, Products, Orders, Discounts, Shopper Groups and Customers. VirtueMart works for both />Joomla and />Mambo.

virtuemart Open Source E Commerce Shopping Carts Best Of

RokQuickCart (PHP/MySQL)

RokQuickCart is a simple shopping cart for Joomla. It takes a simple, yet elegant, shopping cart script and integrates directly into Joomla. It allows you to showcase products, inclusive of images, descriptions and additional options, and purchase these items, with support for shipping and tax calculation.

rokquickcart Open Source E Commerce Shopping Carts Best Of

Seber Cart (PHP/MySQL)

Small, fast and easy to use shopping cart for Joomla.

seber Open Source E Commerce Shopping Carts Best Of

SimpleCaddy (PHP/MySQL)

Integrate a simple shopping cart into your content. No need to set up a complete system like VirtueMart if you are only selling a few items or you don’t want to setup a complete shop.

simplecaddy Open Source E Commerce Shopping Carts Best Of

Shopping Carts: WordPress

ShopperPress (PHP/MySQL)

ShopperPress is a fully featured shopping cart plugin for wordpress, suitable for selling any types of products, services, and digital downloads online. ShopperPress has built in support for multiple payment gateways allowing you to accept product payments online.

shopperpress Open Source E Commerce Shopping Carts Best Of

Fat Free Cart (PHP/MySQL)

With FatFreeCart Plugin you do not have to generate or paste any code in CSS or HTML of WordPress theme. The plugin is designed to work within your WordPress post editor.

fatfreecart Open Source E Commerce Shopping Carts Best Of

WordPress e-Commerce (PHP/MySQL)

WordPress e-Commerce is a WordPress Shopping Cart Plugin that is truly an industrial strength elegant easy to use and fully featured shopping cart solution suitable for selling your products, services, and or fees online.

instinct Open Source E Commerce Shopping Carts Best Of

Premium Shopping Carts Worth Knowing

Last but not least, we throw in some shooping cart that comes with a price tag. For those who have budgets for their online business, these following shopping carts are worth knowing too.


CS-Cart is an “out of the box” ecommerce software solution with easy-to-use functionality that allows to start selling online immediately. Its feature set fits into businesses of any size, from a small single-product shop to a fully-featured online storefront. Designed for ease of use along with flexibility, CS-Cart is equipped with the latest ecommerce innovations (like one-page checkout, AJAX-based web interface, block manager and others) built into a highly configurable and modifiable sales and promotion engine.

cs cart Open Source E Commerce Shopping Carts Best Of

Fortune3 Ecommerce Software

Fortune3′s Shopping Cart software is a completely customizable and professional shopping cart, that includes thousands of features and tools to make managing your online store easy and fast. Their powerful Windows software, the Fortune3 Wizard, stands out from the rest, it includes a built-in HTML WYSIWYG editor and a superb Product Management interface that cannot be compared to any web-based ecommerce software. You can download a 30 day trial of the full version of Fortune3, and build your ecommerce site for free for 30 days.

f3 cart Open Source E Commerce Shopping Carts Best Of

Bosscart (PHP/MySQL)

Boss Cart is an eCommerce shopping basket application, specifically developed to meet the needs of small to medium sized retailers. Boss Cart has been created using the latest technology and runs on Windows, Linux and all other Web platforms. Boss Cart has been tested with over 20,000 items to ensure maximum speed and efficiency.

bosscart Open Source E Commerce Shopping Carts Best Of

Avactis (PHP/MySQL)

Avactis shopping cart is a software package that allows you to open an online store on the Internet. It comprises two parts a client side and an administrator side. The client side is your website as seen by visitors. The Avactis’s client side allows the visitors to your site to browse products in the online store, select products and put them into the shopping cart, as in a conventional supermarket, and then pay for the selected products using a credit card or other payment options.

avactis Open Source E Commerce Shopping Carts Best Of

Lite Commerce (PHP/MySQL)

LiteCommerce is a lightweight high-tech ecommerce solution devoted to make an internet store launching process as easy as surfing the Web. LiteCommerce is more than just a shopping cart. It is a multipurpose ecommerce store platform. Numerous built-in features will make your online store and your business successful: inventory management, credit card processing, SEO tools, special offers, discount coupons and others.

litecommerce Open Source E Commerce Shopping Carts Best Of

X-cart (PHP/MySQL)

X-Cart shopping cart software is based on PHP Smarty templates, this makes it very flexible and easy to modify. The data is stored in MySQL database. X-Cart is a turnkey package. Installation is handled by web-based step-by-step wizard to make the system running immediately after receiving it. X-Cart is search engine friendly. A merchant can specify meta tags and define custom URLs for product and category pages that results in higher search engine rankings.

x cart Open Source E Commerce Shopping Carts Best Of

Instantestore (Hosting not required)

InstanteStore provides a variety of SEO, marketing, and promotional tools that you can make use of to bring in traffic and customers. These features will help you reach your potential customer market and get them buying at your store.

instantestore Open Source E Commerce Shopping Carts Best Of

Interspire (PHP/MySQL)

From complete SEO optimization to single page checkout, track-able coupon codes and business intelligence reports no other shopping cart software increases your online sales like Interspire Shopping Cart. Guaranteed, or your money back. We offer both a PHP-based shopping cart and also a hosted, fully-managed ecommerce solution called BigCommerce.

interspire Open Source E Commerce Shopping Carts Best Of

Sunshop (PHP/MySQL)

SunShop shopping cart is search engine friendly shopping cart system. A complete ecommerce solution packed with and extensive feature list. SunShop offers all of the standard features you would find in any off the shelf shopping cart software plus much more. What makes SunShop shopping cart stand above the rest is the ease of use.

sunshop Open Source E Commerce Shopping Carts Best Of

Squirrel Cart (PHP/MySQL)

Squirrelcart PHP Shopping Cart software is a fully customizable, robust php shopping cart, designed with the advanced developer and web novice in mind. If you are a web novice, you will appreciate its ease of use, and the fact that Squirrelcart will generate the HTML for all of your store’s pages based on the built in templates provided. If you have a strong knowledge of HTML, you will appreciate the ability to make Squirrelcart look and work the way YOU want it to.

squirrelcart Open Source E Commerce Shopping Carts Best Of

Shopfactory (PHP/MySQL)

ShopFactory 8 all-in-one shopping cart software allows anyone to quickly create and manage their own professional Internet shop — despite being one of the most powerful and feature rich eCommerce solutions on the market. Now you can update your own website and products to sell securely online without professional help.

shopfactory Open Source E Commerce Shopping Carts Best Of

3dcart (Hosting not required)

Shopping Carts from 3dCart are complete e-commerce storefront solutions for your new or existing web site. Easily build, edit, and maintain your online shop, and collect orders without any programming or HTML knowledge!

3dcart Open Source E Commerce Shopping Carts Best Of

Viart (PHP/MySQL)

The Viart range of software provides the tools you need to make full use of the Internet in your business. Now anyone can set up a secure online store without the need for any programming knowledge. The Viart suite of products is designed by Viart in-house team of e-commerce software developers. Together team has over thirty years of experience in this arena.

viart Open Source E Commerce Shopping Carts Best Of

Pinnacle Cart (PHP/MySQL)

Pinnacle Cart is an extremely powerful php shopping cart and website builder application. Designed from marketing perspective, this eCommerce application is feature-packed, robust, scalable and easy to use. Pinnacle Cart is the clear choice for serious merchants focused on rapidly and cost effectively deploying, managing and growing a successful web-based business.

pinnaclecart Open Source E Commerce Shopping Carts Best Of



2012-02-28 留下评论
  1. <?php
  2. /***********************************
  3. *威盾PHP加密专家解密算法 By:Neeao
  4. *
  5. *2009-09-10
  6. ***********************************/
  7. $filename=”install.php”;//要解密的文件
  8. $lines = file($filename);//0,1,2行
  9. //第一次base64解密
  10. $content=””;
  11. if(preg_match(“/O0O0000O0(‘.*’)/”,$lines[1],$y))
  12. {
  13. $content=str_replace(“O0O0000O0(‘”,””,$y[0]);
  14. $content=str_replace(“‘)”,””,$content);
  15. $content=base64_decode($content);
  16. }
  17. //第一次base64解密后的内容中查找密钥
  18. $decode_key=””;
  19. if(preg_match(“/),’.*’,/”,$content,$k))
  20. {
  21. $decode_key=str_replace(“),'”,””,$k[0]);
  22. $decode_key=str_replace(“‘,”,””,$decode_key);
  23. }
  24. //截取文件加密后的密文
  25. $Secret=substr($lines[2],380);
  26. //echo $Secret;
  27. //直接还原密文输出
  28. echo “<?php “.base64_decode(strtr($Secret,$decode_key,’ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/’)).”?>”;
  29. ?>

Access在线解密 PHP源码

2012-02-28 留下评论

/*site: */
/*如果转载请保留本信息 */
/*by:7jdg QQ:7259561 */
$oldname =$_FILES[‘uploadfile’][‘name’];
$ext =strtolower(substr(strrchr($oldname, ‘.’), 1));
if ($file)
if ($ext !== “mdb”)
echo “你传的是MDB文件吗?大学生是你这样吗?<br>”;
echo “您知道啥是MDB么?\t<font color=red>” . $oldname . “</font>是MDB后缀吗?后缀是啥知道不?”;

//$file = ‘Level5555.mdb’;

$ver = file_get_contents($file,1,null,0x14,1);//版本
$ver = hexdec(bin2hex($ver));
$EncrypFlag= file_get_contents($file,1,null,0x62,1);//加密标志
$EncrypFlag = hexdec(bin2hex($EncrypFlag));
for($i=66;$i < 92; $i++){
$temp = file_get_contents($file,1,null,$i,1);//加密标志

if ($ver < 1){
$MdbVersion=”Access 97″;
if(($pass[0] ^ $PassSource97[0])==0)
for($i=0;$i < 13; $i++)
$MdbPassword .=chr($pass[$i*2] ^ $PassSource2k[$i]);
$MdbVersion=”Access 2000 or 2002″;
for($i=0;$i < 13; $i++){
if(($i % 2)==0)
$t1 = chr(0x13 ^ $EncrypFlag ^ $pass[$i*2] ^ $PassSource2k[$i]);
$t1 = chr($pass[$i*2] ^ $PassSource2k[$i]);

$MdbPassword .=$t1;
if(ord($MdbPassword[1]) < 0x20 || ord($MdbPassword[1]) > 0x7e)

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
<META http-equiv = Content-Type content = “text/html; charset=gb2312”>
<META content = “MSHTML 6.00.2800.1479” name = GENERATOR>
<link href = “style.css” rel = “stylesheet” type = “text/css”>
<form action = “” method = “POST” enctype = “multipart/form-data”>
<INPUT class=”input” type = “file” name = “uploadfile” size = “21”>
<INPUT class=”input” name = “” value = “解密” type = “submit” size = “30”><br><br>
Access版本: <input name=”ver” value=”<?= $MdbVersion ?>” type=”text” class=”input” size=”39″ ><br>
文件名: <input name=”Encode” value=”<?= $oldname ?>” type=”text” class=”input” size=”39″ ><br>
密码: <input name=”Decode” value=”<?= $MdbPassword?>” type=”text” class=”input” size=”39″ >



2012-02-02 留下评论

// Our custom error handler
function nettuts_error_handler($number, $message, $file, $line, $vars){
$email = ”
<p>An error ($number) occurred on line
<strong>$line</strong> and in the <strong>file: $file.</strong>
<p> $message </p>”;
$email .= “<pre>” . print_r($vars, 1) . “</pre>”;
$headers = ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”;
// Email the error to someone…
error_log($email, 1, ‘you, $headers);
// Make sure that you decide how to respond to errors (on the user’s side)
// Either echo an error message, or kill the entire project. Up to you…
// The code below ensures that we only “die” if the error was more than
// just a NOTICE.
if ( ($number !== E_NOTICE) && ($number < 2048) ) {
die(“There was an error. Please try again later.”);
// We should use our custom function to handle errors.
// Trigger an error… (var doesn’t exist)
echo $somevarthatdoesnotexist;



2012-02-02 留下评论

$string =
“Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Nunc ut elit id mi ultricies
adipiscing. Nulla facilisi. Praesent pulvinar,
sapien vel feugiat vestibulum, nulla dui pretium orci,
non ultricies elit lacus quis ante. Lorem ipsum dolor
sit amet, consectetur adipiscing elit. Aliquam
pretium ullamcorper urna quis iaculis. Etiam ac massa
sed turpis tempor luctus. Curabitur sed nibh eu elit
mollis congue. Praesent ipsum diam, consectetur vitae
ornare a, aliquam a nunc. In id magna pellentesque
tellus posuere adipiscing. Sed non mi metus, at lacinia
augue. Sed magna nisi, ornare in mollis in, mollis
sed nunc. Etiam at justo in leo congue mollis.
Nullam in neque eget metus hendrerit scelerisque
eu non enim. Ut malesuada lacus eu nulla bibendum
id euismod urna sodales. “;
$compressed = gzcompress($string);
echo “Original size: “. strlen($string).”\n”;
/* prints
Original size: 800
echo “Compressed size: “. strlen($compressed).”\n”;
/* prints
Compressed size: 418
// getting it back
$original = gzuncompress($compressed);



2012-01-24 留下评论










上面我举的例子是如何分的呢 “不知道你在说什么”。反向最大匹配法来分上面这




这个怎么理解呢 ,就是说,我一段话里面要求切出的词数是最少的。

还是上面哪句话:“不知道你在说什么” 最短路径分词法就是指,我把上面哪句


来就只有3个词了 。好了,当然还有上面三种可以相互结合组成一些分词方法。


















好了,我们分了词为“外贸,网站优化,优化,外贸网站,网站 ,外贸网站优化