Archive for the ‘php’ Category

In part 1 of this tutorial you have seen how to write a simple web test using Selenium. In this part we will see how to use the test generated using the IDE with Selenium RC and PHPUnit.

Zend_Text_Figlet is a Zend component which enables developers to create a FIGlet text. A Figlet is nothing but a technique of creating large letters using ordinary text. I don’t know how to make a use of this in my daily matters, but its a nice recreation. A short history on Figlet can be found here. [...]

Passing variables with a url is such a frequent thing programmers do that most of you may think this post is unwarranted. We call this method of passing variables as GET, the other being POST. It is one of those things which can be easily done in php. Lets take an example. You are to [...]

MySQL Sidu is a FREE MySQL client which works via a web browser. Written in php (on surprise there!), MySQL Sidu is a simple and easy to use database tool. Sidu stands for Select Insert Delete Update. Of course Sidu can do more jobs than these. Many of you may already be using other MySQL [...]

  • Comments Off
  • Tags:

PHP pagination tutorial using the pears pager library

Selenium IDE tutorial for php programmers

Net_Whois lets you query a internet name directory service in a easy to use manner. WHOIS is a protocol which is widely used to determine the owner of a domain name, an IP address by querying an official name database. One possible application I can think of is to see if DNS servers are set [...]

Ping a server using PHP

In: php

13 Sep 2008

PEAR’s Net_Ping is a niffty wrapper class for executing ping calls from PHP. You can use it to check if a remote server is responding correctly. The library can be download from  here.
Installation
Net_Ping being a Pear package we will use the Pear installer to download and install it. I recommend to always use the [...]

A quick tip for reading raw http POST data in PHP. For example if we have a xml posted to a page, we can read the raw data with the following code.

$xml = file_get_contents(’php://input’);

We could use $HTTP_RAW_POST_DATA instead, but many times it does not work due to some php.ini settings. Note that ‘php://input’ does not [...]

There frequently arises a need to return mySQL query results in xml. Maybe you need to send the xml data to the browser or you want to use it as a xml request to a web service; whatever the application, the following function will return the result of a sql query in xml format.
The [...]


RECENT COMMENTS

ON TWITTER