Archive for the ‘Programming’ Category

Setting Up a MemCached Server

memcached

image from www.memcached.org Based on their official website memcached is defined as: Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering. Memcached is simple yet powerful. Its simple design promotes quick deployment, ease of development, and solves many [...]

Continue Reading

No Comments

Use Gmail Account To Relay Email From PHP mail Function

Localhost Mail

One of the things I find hard in developing a web application is using a library for sending email such as PHPMailer. I find it hard when used to send emails. Another thing I find hard is when sending emails in a localhost webserver. It would also cost me more and would take much time in setting up my own mail server. PHP’s mail function is also very useless in such testing ground. If you are using a gmail account [...]

Continue Reading

1 Comment

PDO Database Extensions Error

Drupal Logo

    I installed Apache, MySQL and PHP on windows 7.  I tried to install drupal version 7.9 and went through an error as shown in the image below: The error “Your web server does not appear to support any common PDO database extensions.” can be fixed by following these steps: Open your php.ini file Around line 966 uncomment the line “extension=php_pdo_mysql.dll” Make sure you have php_pdo_mysql.dll on your ext folder or download it here php_pdo_mysql Restart Apache and you can [...]

Continue Reading

No Comments

Mysql Duplicate Error

I created a web application that managers collected links.  The web application was called duplicate checker where premium links collected are being stored in a mysql database.  Previously they are doing it on an excel file which automatically highlights the duplicate entry but as months pass by the file is running so slow and so I came up to a solution which is the duplicate checker. Its been almost 5 months and the system was running without any problem, its [...]

Continue Reading

2 Comments

Website Virus (ncoyrl.htm, zcv.gif and iframe)

With millions of websites in search engines we can never be sure that the sites we are visiting are not harmful.  Some search engines like Google helps us detect websites that can cause harm to out computer.  Some search engines do not have this feature which makes us vulnerable to to exploit attacks especially for those that are webmasters.  We must always make sure that we have computer protection such as anti spyware or even the basic antivirus software which can be [...]

Continue Reading

No Comments

An Error Occurred Executing the Microsoft VC++ Runtime Installer

MySQL is proprietary and some developers are now merging to Postgre SQL.  If you are running windows you might come across this error.  I am using windows 7 ultimate and encountered this error during installation.  I solved the problem using the command postgresql-9.0.1-1-windows.exe –install_runtimes 0 You need to navigate to where you downloaded the installer using the command prompt then you can use the command above to run the installer w/o the error Bookmark on Delicious Digg this post Recommend on Facebook [...]

Continue Reading

4 Comments

MySQL Reset Root Password

My friend forgot his mysql password and the database needs to be accessed by the root user.  My friend is running MySQL 5.1 and as I browsed the MySQL manual the solution provided is not working though a slight change was made.  Just like the provided step in the manual: Log on to your system as Administrator. Stop the MySQL server if it is running. For a server that is running as a Windows service, go to the Services manager: [...]

Continue Reading

No Comments

Page 1 of 6123456

Rss Feeds