Categories


Archive for the ‘Programming’ Category

Autofocus Field On Form Page

I stopped my programming blog and would want to share back some short helpful snippets. In a form page it would be helpful to auto focus the a field on page load because users will longer have to click on the field.  Here is a one line jQuery code to auto focus fields.   Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

Continue Reading

No Comments

[solved] Your PHP parameter session.gc_maxlifetime is lower that cookie validity configured in phpMyAdmin

phpmyamdin error

If you get an error in phpMyAdmin which is shown as: is caused by your phpmyadmin’s conf.inc.php and your php configuration. In your conf.inc.php check for the line and on your php.ini, look for the line: The value on your phpmyadmin’s config file much not exceed your php.ini’s value. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

Continue Reading

No Comments

MySQL Command to Import Large Data

A simple command to dump or import large data on a mysql database: mysql -h localhost -uroot -pAa5sD1 nightcrawler < /home/tux/Desktop/nightcrawler.sql where: -h localhost is for my mysql host or server -u root is the mysql user -p pAa5sD1 is the user’s password nightcrawler is the empty database /home/tux/Desktop/nightcrawler.sql is the data to import or usually a back of the database < is use to import and > is used to export data from a mysql database Bookmark on Delicious Digg this

Continue Reading

No Comments

Adding a New MySQL Server on PHPMyAdmin

phpmyadmin

Open the config.inc.php file located on the folder where your phpmyadmin is. Every time you need to add a new server, you need to add $i++; on top of your new configuration and also you need to append the new configuration at the bottom of the current configuration as seen on the image above. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this post

Continue Reading

1 Comment

Gnokii SMSD on Nokia 5000d-2 Using Bluetooth

gnokii logo

I was able to successfully install Gnokii and used Nokia 5000d-2 connected through the bluetooth media.  Here is the identity of the phone that I am using. The details of the Phone using one of nokia’s hidden code: *#06#. Result: Nokia 5000d-2 V 06.31 24-03-09 RM-362 (c) Nokia Variant: 167.01 Virtual Variant: No Virtual Variant Language: V 06.31 24-03-09 RM-362 (c)Nokia T Using Gnokii’s commands to identify the mobile I used. gnokii ‐‐identify The output was, GNOKII Version 0.6.28 Assuming:

Continue Reading

No Comments

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

Page 1 of 6123456

Rss Feeds