PHP

PHP : mysql_connect

Posted by on July 11, 2009 at 5:42 pm

Error: Fatal error: Call to undefined function mysql_connect() Make sure the mysql extension has been enabled in the php.ini file. normally as mysql.so or you can check using the phpinfo() function. Lastly ensure you are using double quotes in your connection string and not single

Zencart: easy populate

Posted by on May 10, 2009 at 7:21 pm

error: Warning: array_flip() [function.array-flip]: The argument should be an array in path\path on line 1224 issue: this occurs if you are using the latest version of easypopulate on a PHP 4 server. fix : The length parameter has been set to 0 on line 1222, which is OK for PHP5, but PHP4 needs a real [...]

PHP: Running PHP Script with Cron

Posted by on May 4, 2009 at 6:47 pm

This is not my personal article but thought it was worth having on here :  reference : http://www.htmlcenter.com/blog/running-php-scripts-with-cron/ Lots of programmers like PHP for its ability to code and develop web applicationsfast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, “How to run PHP Scripts [...]

PHP: CGI Mode

Posted by on March 2, 2009 at 4:10 pm

forcing PHP CGI Mode under your domain name. Compile PHP without the apache otpions and cp the PHP-cgi file to your cgi-bin . Then create a htaccess file with Action php-script /cgi-bin/php-cgi AddHandler php-script .php Plesk *rememeber to chown the binary to user:psacln * replace user with your username name. Thanks How to compile without [...]

PHP: installing magicwand

Posted by on January 7, 2009 at 10:24 am

** REQUIRED ** ImageMagick version :: 6.3.5-9 Last-known-good ImageMagick version :: 6.3.5-9 1.) Check out the latest version from magicwand servers svn co https://www.imagemagick.org/subversion/MagickWandForPHP/branches/MagickWandForPHP-1.0.7 MagickWandForPHP-1.0.7 I would recommend going to http://magickwand.org/ to verify the latest version , at the time of the post the latest was 1.0.7 2.) untar the compressed file using tar xvzf [...]