How to communicate with sockets in php?



How to communicate with sockets in php?..

Answer / php -

Refer This Link : -
http://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More PHP Interview Questions

What is use of isset function in php?

0 Answers  


What is the difference between using copy() and move() function in PHP file uploading?

5 Answers  


<?php /** * @version 1.0 $ * @package HelloWorld * @copyright (C) 2005 Andrew Eddie * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?> <?php $database =& JFactory::getDBO(); //$sql = 'SELECT name, username FROM #__users'; $sql="select a.id, a.title, a.introtext, a.created_by, a.created from jos_content a, jos_content_frontpage b where a.id=b.content_id and b.ordering='2'"; $database->setQuery( $sql ); $user = NULL; $user = $database->loadObject(); //echo 'Name: ' . $user->name . '<br />'; echo '<h1>' . $user->title . '</h1><br />'; //echo 'Username: ' . $user->username; echo ' ' . $user->introtext; i write this and fetch the result from the database the result is The Intranet is up and working ! Our intranet is up and working and should be accessible from both Mumbai and NOIDA. As you will notice, this template, look & feel is not in line with our corporate indentity but we chose the route of "form-follows-funtion" In the first phase, we are rolling out functionality that is critical to all of us - Policies and How-to documents. In subsequent phases, we will be launching other features. Keep watching this space for more details i want to see only 4 line of top then how this may done

0 Answers   Infovision,


Does php need to be installed?

0 Answers  


Is php deprecated?

0 Answers  






Explain Magento's autoload functionality and how to instantiate classes? What is the process you take when theming a store? Talk about Magento collections and how you use them?

0 Answers  


What is serialization / object serialization ?

2 Answers  


How to download file in php?

0 Answers  


Why do we use namespace in php?

0 Answers  


What is $$ in php?

0 Answers  


Is empty in php?

0 Answers  


Tell me how do I escape data before storing it into the database?

0 Answers  


Categories