Directory Freebies VS CheatSheet Forum

RSS

Email

Translate

Home About Archive Privacy Contact Advertise Write for Dev102

PHP for Visual Studio This is something for all you .NET developers who have a WordPress blog which is in PHP and some time you need to do some PHP work (Like me). Or if you just want to work with PHP on your Visual Studio 2008/2005. jcxsoftware have developed such a Visual Studio Plugin.

It supports PHP4 and PHP5, you will also get Syntax highlighting and Intelisense for the following:


Continue Reading...
Posted by Amit on May 21st, 2008 | Filed under Web Development | 5 Comments

I’m sure you’ve seen those nice interactive form validations on some Web 2.0 websites. The validation occurs while you’re typing your form input. For example, you’re typing your email in the email address field. You see a red “X” mark beside the field and when you’re finished typing your email address, a green check mark replaces the red “X” mark. What happens there is while you’re typing in your email address, the page communicates with the server to validate what you’re typing. When you finished typing your email address and the data you keyed in is valid, it passes the validation so it shows the green check mark without reloading the page. This is done using Ajax.

In this tutorial, you’re going to learn how to make this kind of interactive, Ajax-powered form validation (the same validation sample mentioned earlier). If you haven’t used Ajax before, don’t worry because I will show you how you can create Ajax-powered applications without worrying about the whole XmlHttpRequest process. If you can program with PHP and a little Javascript, you’re good to go. All you need is this handy little open-source Ajax toolkit called Sajax.


Continue Reading...
Posted by Amit on Mar 18th, 2008 | Filed under PHP | 11 Comments

I know that when you read the title you said “What is he talking about? Its easy”. Well it turns out that its not that easy. It took me a while to collect and create this, but here it is: a PHP code that converts minutes to hours.
<?php function ConvertMinutes2Hours($Minutes)
{
if ($Minutes [...]


Continue Reading...
Write Article for Dev102

Write for Dev102!

We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution

Learn More