Install libpurple with PHP

On April 3, 2010, in CentOS, Fedora, LAMP, Linux, Oscommerce, PHP, Tips, Tricks, Web Application, Web Services, by Sandeep Verma

Hits: 214  libpurple is intended to be the core of an IM program. This libpurple PHP binding, which defines a set of internal classes, gives a possibility to use aol and icq (oscar), yahoo, msn, jabber, irc and much more protocols directly from PHP. Write your own IM chat client in PHP, as simply as PHP [...]

Session lost when switching from HTTP to HTTPS in PHP

On March 31, 2010, in Amazon Cloud EC2 S3, CentOS, Fedora, LAMP, Linux, Open Source, Oscommerce, PHP, Tips, Tricks, by Sandeep Verma

Hits: 296  Sometime we face the problem when we navigate from HTTP URL to HTTPS URL our session lost. You can manage session between HTTP to HTTPS or HTTPS to HTTP: 1. Transmit session ID between page using GET 2. POST session ID by POST 3. Use files to save sessions 4. Use Cookies for sessions [...]

Magic of PEAR – Date TimeZone

On March 3, 2010, in CakePHP, LAMP, Open Source, Oscommerce, PEAR, PHP, Tips, Tricks, Web Services, by Sandeep Verma

Hits: 686  PEAR is a framework and distribution system for reusable PHP components. How we get PEAR packages with php files? Add block of code to the php file…. <?php // include PEAR class include (“Date.php”); // initialize Date object $d = new Date(“1981-08-07 01:30:11″); // retrieve date to display echo $d->getDate(); // retrieve date as [...]

Oscommerce – Features

On December 19, 2009, in LAMP, Open Source, Oscommerce, PHP, Tips, Tricks, by Sandeep Verma

Hits: 71   * Multi language * Content Management ~ WYSIWYG editor integrated into the shop admin to allow easy entering    of    HTML and uploading of images ~ Add text to your category pages – great for SEO and providing information ~ Content Management System – no more FTP and working with PHP files – amend [...]

Create TCPDF PHP Fonts

On December 10, 2009, in CentOS, Fedora, Joomla, LAMP, Oscommerce, PHP, Tips, Tricks, by Sandeep Verma

Hits: 184  TCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts. You will find font creation utility at fonts/utils of TCPDF… copy desired font to fonts/utils/svnlabs.ttf * For TrueTypeUnicode # cd /var/www/html/tcpdf/fonts/utils # ttf2ufm -a -F svnlabs.ttf # php -q makefont.php svnlabs.ttf svnlabs.ufm * For embedded fonts to tcpdf PDF file.. [...]

Trim and remove empty key & value in php array

On December 4, 2009, in CakePHP, LAMP, Oscommerce, PHP, Tips, Tricks, by Sandeep Verma

Hits: 47  Here is the PHP function that will remove empty key => value in PHP array… function array_trim($sv) { $s = 0; $svn = null; $c = count($sv); for($i = 0; $i < $c; $i++) { if($sv[$i] != “”){ $svn[$s++] = trim($sv[$i]); } } return $svn; } $svarray = array(‘   ‘, ‘svlinux’, ‘svnlabs’, ‘lamp’, ”); [...]

Oscommerce – made easy

On October 24, 2009, in LAMP, Oscommerce, PHP, Tips, Tricks, by Sandeep Verma

Hits: 68  osCommerce is an online e-commerce solution that offers a wide range of features that allows online stores to be setup quickly with ease, and is available for free as an Open Source based solution released under the GNU General Public License. http://svn.oscommerce.com/confluence/display/OSCDOC/Installation+and+Upgrades http://www.oscommerce.info/contents

Tagged with:  

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...