Good VPN

http://www.vpnpop.com/ Fast and Secured. Free trial for 60 minutes. PS. Do not use it for any website with login authentication.

add210

February 22, 2011

Jongwi “Call for price” Requirement

To properly display “Call for Price” Button on product description page, we need to edit this file: /home/jongwi/domains/jongwi.com/public_html/includes/functions/functions_general.php Line #1134 : $return_button = ‘<a href=”‘ . zen_href_link(FILENAME_CONTACT_US) . ‘”>’ . TEXT_CALL_FOR_PRICE . ‘</a>’; Change TEXT_CALL_FOR_PRICE to ‘<img src=”includes/templates/aberdeen_neutral/images/call_for_prices.jpg” alt=”Call for Price” title=” Call for Price ” width=”78″ height=”20″ />’

add210

February 17, 2011

Change Charset via PHP

<?php // your connection mysql_connect(“localhost”,”DB_USER”,”DB_PASSWORD”); mysql_select_db(“DB_NAME”); // convert code $res = mysql_query(“SHOW TABLES “); while ($row = mysql_fetch_array($res)) { foreach ($row as $key => $table) { mysql_query(“ALTER TABLE ” . $table . ” CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci”); echo $key . ” =&gt; ” . $table . ” CONVERTED<br />”; } } ?>

add210

February 16, 2011

Zen Cart Character Encoding

To properly use Thai Font on Zen Cart original fileset, Set Character Encoding to “tis-620” define(‘CHARSET’, ’tis-620′); // english.php and thai.php For Database, use UTF-8 for better compatibility. // utf8_general_ci

add210

February 16, 2011
1 46 47 48 49