Home » Programming » PHP Tutorial

Extending PHP Topic:  PHP Tutorial
Download (389) times
Last Download at Monday 07th of May 2012 01:25:43 PM

Extending PHP

you will find that PHP doesn't do everything that you need it to do. Rather than abandon (the otherwise perfect!) PHP and search for an alternative language, it could easily be worthwhile to extend PHP to make it do what you want ...

Starting with PHP 4.3.0, it is now possible to write some pretty smart multiplexing networking applications stream_select(). The only problem is that the standard DNS functions gethostbyname() block the whole script until the domain name resolves.

Wouldn't it be nice to have an alternative method of resolving DNS that won't cause your existing sockets to time out?

We'll be using libares (written by Greg Hudson) as the basis of a PHP extension that provides such an alternative method. libares is released under an MIT license.
...
Source: www.php.net

Download File Read PDF Online

Comments for Extending PHP


Related PDF Files

PHP and PostgreSQL

There's something patently unfair going on here. For some reason, almost every PHP tutoria

Cook up Web sites fast with CakePHP

Quick and easy PHP rapid-development aid. This "Cook up Web sites fast with CakePHP" tutor

PHP Programming - Server Side Scripting Language

PHP stands for PHP Hypertext Processor. PHP is a server-side scripting language that is

Pure PHP Upload Tutorials

File Genie PHP - Tutorials. How do you display files from a folder on your server. With

Writing Scripts with PHP\'s PEAR DB Module

As a web programming language, one of PHP s strengths traditionally has been to make it ea

Incoming Search: