Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php socket ä¯ÀÀÆ÷

<?PHP
/**
* patServer
* PHP socket server base class
* Events that can be handled:
*   * onStart
*   * onConnect
*   * onConnectionRefused
*   * onClose
*   * onShutdown
*   * onReceiveData
*
* @version 1.1
* @author   Stephan Schmidt <schst@php-tools.de>
* @package patServer
*/
class patServer{
/**
* information about the project
* @var array $systemVars
*/
var $systemVars   = array(
    "appName"   => "patServer",
    "appVersion"   => "1.1",
    "author"   => array("Stephan Schmidt <schst@php-tools.de>", )
   );
/**
* port to listen
* @var integer   $port
*/
   var $port   = 63333;
/**
* domain to bind to
* @var string $domain
*/
   var $domain   = "192.168.10.2";
/**
* maximum amount of clients
* @var integer $maxClients
*/
   var $maxClients = -1;
/**
* buffer size for socket_read
* @var integer $readBufferSize
*/
   var $readBufferSize   = 128;
/**
* end character for socket_read
* @var integer $readEndCharacter
*/
   var $readEndCharacter = "\n";
/**
* maximum of backlog in queue
* @var integer $maxQueue
*/
   var $maxQueue = 500;
/**
* debug mode
* @var boolean $debug
*/
   var $debug   = true;
/**
* debug mode
* @var string $debugMode
*/
   var $debugMode = "text";
/**
* debug destination (filename or stdout)
* @var string $debugDest
*/
   var $debugDest = "stdout";
/**
* empty array, used for socket_select
* @var array $null
*/
   var $null   = array();
/**
* all file descriptors are stored here
* @var array $clientFD
*/
   var $clientFD = array();
/**
* needed to store client information
* @var array $clientInfo
*/
&nbs


Ïà¹ØÎĵµ£º

PHP µ÷ÓÃ C# dll

ŪÁ˰ëÌì, PHP ÖÕÓÚÄܵ÷ÓÃÎÒµÄC# dll ÁË.
¸ÃËÀµÄ,ÎÒ¶ÔC# COM×¢²áÒ»Ïò²»Á˽â, PHP ÎĵµÉÏÖ»¸øPHPÄDz¿·ÖÄÚÈÝ,û¸æËßÎÒÔõôŪdll
ÎÒ»¹ÉµÙâÙâµÄÓàRegsvr32 ×¢²áÄǸöc# dll.
±³¾°:
Windows xp sp3 ; apache 2.2.14 ; php 5.2.12 ;
VS2010 beta ;
ÓïÑÔ:
PHP5 , C#
C#²¿·Ö:
´´½¨Ò»¸ö C# Class Library . (dll) ......

ÔÚ Windows ϰ²×° PHP ¿ª·¢»·¾³£¨»ùÓÚ Appserv£©

1.Appserv ÊÇʲô£¿
  Appserv ÊÇPHPÍøÒ³¼ÜÕ¾¹¤¾ß×éºÏ°ü£¬¿ÉÒÔ½«ÍøÂçÉÏÃâ·ÑµÄ¼ÜÕ¾×ÊÔ´ÖØÐ°ü×°³Éµ¥Ò»µÄ°²×°³ÌÐò¡£ËüÌṩÁ˼òÒס¢¿ìËÙµÄPHPÔËÐл·¾³µÄ´î½¨»úÖÆ£¬¶ÁÕßÖ»Ðè°´ÕÕÆÕͨӦÓÃÈí¼þµÄ°²×°·½Ê½¾Í¿ÉÒÔÍê³ÉApache+MySQL+PHP+phpMyAdminµÄ°²×°ÓëÅäÖù¤×÷¡£
2.Appserv ÏÂÔØµØÖ·
   http://www. ......

how to install apache, PHP and MySQL on Linux 3

how to install apache, PHP and MySQL on Linux
This tutorial explains the installation of Apache web server, bundled
with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE
9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all
Linux-like operating ......

IISµÄPHP×î¼ÑÅäÖÃ

ת×Ô£ºhttp://www.phpq.net
×¼±¸£º
1¡¢Ò»Ì¨°²×°ºÃµÄ Windows 2003 ·þÎñÆ÷£¬²¢ÇÒÒѾ­°²×°ÁË IIS 6¡£
2¡¢ÏÂÔØ windows °æµÄ PHP ¶þ½øÖÆÑ¹Ëõ°ü¡£
°²×°£º
½âѹËõ PHP ¶þ½øÖÆÑ¹Ëõ°üµ½ C:\php Ŀ¼Ï£¨ÕâÀï¼ÙÉè C: ÅÌÊÇϵͳÅÌ£¬¼´°²×°ÁËWindows ϵͳµÄÅÌ£¬Èç¹ûϵͳÅÌÊÇ D:
ÅÌ£¬Ôò½âѹËõµ½ D:\php Ŀ¼Ï£¬ÒÔ´ËÀàÍÆ£¬Ï ......

phpÅäÖÃÎļþphp.ini ÖÐÎİæ

ת×Ô:http://www.ccvita.com
;;;;;;;;;;;;;;
;; ¼ò½é ;;
;;;;;;;;;;;;;;
; ±¾ÎIJ¢·ÇÊǶÔÓ¢Îİæ php.ini µÄ¼òµ¥·­Ò룬¶øÊDzο¼ÁËÖÚ¶à×ÊÁÏÒԺ󣬽áºÏ×Ô¼ºµÄÀí½â£¬Ôö¼ÓÁËÐí¶àÄÚÈÝ£¬
; °üÀ¨ÔÚÔ­ÓÐ php.ini »ù´¡ÉÏÔö¼ÓÁËһЩʵÓÃÄ£¿éµÄÅäÖÃ˵Ã÷£¬Í¬Ê±¶ÔÎļþÄÚÈݵİ²ÅŽøÐÐÁ˵÷Õû¡£
; ÓÉÓÚ×÷Õß²»Ï²»¶ no-free µÄÍæÒâ¶ù£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ