News Feed
Jobs Feed
Sections




News Archive
PHPBuilder.com:
PHP Scripts for Interacting with Networks
December 15, 2010 @ 13:49:31

On PHPBuilder.com there's a new tutorial showing you some of the PHP functions that you can use to interact with the network surrounding (and even vaguely related to) your application.

PHP has a great many tools for interacting with a network and also with the Internet. In this article, I examine some of those tools and functions to show how exactly you can use them to make your scripts more useful in a network environment. Click here to download the accompanying source code.

They show how to use fopen to access remote sites, gethostbyname and gethostbyaddr for DNS resolution, getprotobynumber to check the port number for a TCP/IP type and quite a few more. This also includes a brief look at the PEAR Net_Whois package. You can download the examples if you'd like to just jump into the code.

0 comments voice your opinion now!
network interaction tutorial tcpip socket dns


blog comments powered by Disqus

Similar Posts

Zend: Zend Framework Database Access Webinar (Oct 31st, 2007)

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

Juan Treminio: Unit Testing with PHPUnit Tutorial Series

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

DevArticles: Sending Email with AJAX - Interacting with the Server


Community Events











Don't see your event here?
Let us know!


podcast code series development unittest composer language opinion zendframework2 introduction testing interview conference functional community example tool release object framework

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework