affiliate_link

Friday, January 15, 2010

html to pdf & html to ps

Following are the two excellent resources

http://www.digitaljunkies.ca/dompdf/

http://www.tufat.com/s_html2ps_html2pdf.htm

Happy converting!

Wednesday, November 4, 2009

Masked Input plugin

Sometimes it is required to use a masked input box on a webpage for this i use the following
jQuery library. It allows a user to more easily enter fixed width input where you would like them to enter the data in a certain format (dates,phone numbers, etc).

http://digitalbush.com/projects/masked-input-plugin/#demo

Wednesday, October 21, 2009

Cool Tooltip - JQuery

Please refer to the following page for demo

http://cssglobe.com/lab/easytooltip/03.html

To download code

http://cssglobe.com/post/4380/easy-tooltip--jquery-plugin

Wednesday, September 9, 2009

Top 7 PHP Security Blunders

PHP is a terrific language for the rapid development of dynamic Websites. It also has many features that are friendly to beginning programmers, such as the fact that it doesn't require variable declarations. However, many of these features can lead a programmer inadvertently to allow security holes to creep into a Web application. The popular security mailing lists teem with notes of flaws identified in PHP applications, but PHP can be as secure as any other language once you understand the basic types of flaws PHP applications tend to exhibit.

Tuesday, September 1, 2009

Performance Tuning Best Practices for MySQL



Improving Performance by Profiling PHP Applications

One of the best things about programming in PHP is how easy it is to learn the language and its libraries. Everything seems to fit together and you can almost guess how to do a specific task, even not knowing much about the function that you need to use. A lot of times you will just try doing something and be surprised that the language has that specific feature.


PHP performance tips

Profile your code to pinpoint bottlenecks

Before changing your code, you'll need to determine what is causing it to be slow. You may go through this guide, and many others on optimizing PHP, when the issue might instead be database-related or network-related. By profiling your PHP code, you can try to pinpoint bottlenecks.