MySql on the cloud : DIY or DbaaS ?

Being an Open Source database, MySql is one of the most popular database systems used off-late. Combined with PHP, it forms a very formidable combination for Web based systems. Since everything is going the Cloud way these days, I will just compare 2 different ways in which MySql can be made available on a Cloud.   The first [...]

No Comments

Preventing copy-paste into textfields

You can prevent the copy-paste functionality into textfields of your web-forms using a very simple jquery method. First include the jquery file in between  the <head> tag. <script type=”text/javascript” src=”http://code.jquery.com/jquery-1.4.2.min.js”></script> Then add the following code to the <head> tag, below the include script. <script type=”text/javascript”>// <![CDATA[ $(document).ready(function () { $('input[type=text]‘).bind(‘copy paste’, function (e) { e.preventDefault(); [...]

No Comments

Securing forms using captcha.

Securing forms usng captcha has become a common practise nowadays. Here is a simple method to do this.

No Comments

dhtmlxSuite 2008 Rel.2, Build Dynamic Data-Driven Grids from XML, CSV or JSON

DHTMLX announced the latest update of its dhtmlxSuite, a professional Ajax components toolkit for web UI. The major updates concern Grid and Treegrid components and include a large number of new features and improvements, including the ability to load data from JSON and JS-array, smart rendering and paging support for hierarchical data grids. Also a [...]

No Comments

DHTMLX Launches Updated Website Dedicated to Its Ajax UI Toolkit

DHTMLX team announced the update of their website www.dhtmlx.com mostly dedicated to DHTMLX Toolkit, professional AJAX components for advanced Web UI. As the components are written entirely in JavaScript, they can be easily integrated with any server-side technology (PHP, ASP, JSP, Ruby, etc.).

No Comments

Scand Updates Its Ajax UI Components Grid and Tabbar

Scand released new versions of dhtmlxGrid and dhtmlxTabbar, Ajax-enabled JavaScript UI components with complete functionality and ability to work with any server-side technology including PHP, ASP, ASP.Net, Java and Rails.

No Comments

PHP File Upload Errors Explained

From version 4.2.0, PHP has got a new set of error codes that handles and reports all errors occuring during file upload, in the filearray object. The error is found in $_FILES['userfile']['error'].These error codes  and their explanations are given in this article.

No Comments

Building and calling webservices using SOAP

Web services allow you to share data across many platforms and hardware configurations. You create a webservice in PHP, pass the webservice URl to an asp.net program, and it easily calls the webservice methods to get the data from your server. PHP has various methods to create and use webservices. XML-RPC, SOAP and REST are [...]

No Comments

Checking for GD

To check whether your php installation has GD configured in it, you can do either of the following methods :

No Comments

Force download files using PHP

At times we might want to give files for users to download. Also you wouldn't want to have the file storage location in a public access folder. To achieve these, you can store the file in an internal folder which is not accesible to public via a URL, and force the file to be downloaded [...]

No Comments