php´úÀí·ÃÎÊ
×î½üÏëд¸öÈí¼þÍæÍ棬ץȡÍøÒ³ÉϵÄÄÚÈÝ
ץȡÍøÒ³ÄÚÈݵÄÎÒ·ÅÔÚÒ»¸öÎļþÖÐд³ÉÀàÁË
ÒÔÏÂÊÇ´úÂë
<?php
class myhttp
{
var $_host;
var $_url;
var $_port;
var $_errno;
var $_errstr;
var $_header;
var $_body;
function __construct($url)
{
if($url) setUrl($url);
}
function setUrl($url)
{
if(preg_match("{http://([^/]+)[:(\\d+)]?(.+)}",$url,$match))
{
$this->_host = $match[1];
if(count($match) == 3)
{
$this->_port = 80;
$this->_url = $match[2];
}
else
{
$this->_port = $match[2];
$this->_url = $match[3];
}
$this->$_header = array();
$this->$_body = "";
}
else
{
&nbs
Ïà¹ØÎĵµ£º
ÖйúÖªÃûµç×ÓÉÌÎñ¹©Ó¦ÉÌ£¨ÅÅÃû²»·ÖÏȺó£©
SHOPEX
꿅᣼www.shopex.cn
¼ò½é£º¹úÄÚʹÓÃÈËÊý×î¶àµÄÃâ·Ñ¶ÀÁ¢B2CÍøµê¹ÜÀíÈí¼þ¡£
ÌØÉ«£ºÆ·ÅÆÀÏ¡¢Óû§¶à£¬Ä£°åÖڶ࣬ģ°å·ÑÓõÍÁ®¡£Ö÷ÒªÃæÏò¸öÈËÓû§£¬²úÆ·µÄ¸½ÊôÅä¼þ¶à,¹¦ÄÜÈ«Ãæ.Ãâ·ÑÍøµêϵͳµÄÀÏ´ó¸ç¡£µ«Ãæ¶ÔÆóÒµÓû§Ê±£¬»ù´¡Èí¼þ²»Êʺϣ¬¶¨ÖÆ¿ª·¢ÒªÇóÓÖÌ«¸ß¡£
µÚ¶þλ¡¢ECSH ......
×÷ÕߣºMartin Streicher, Èí¼þ¿ª·¢ÈËÔ±, Pixel, Byte, and Comma
¾¡¹Ü±àдһ¸ö PHP À©Õ¹²¢²»ÊǺÜÀ§ÄÑ£¬¶ø SWIG µÄÈ·½øÒ»²½¼ò»¯ÁËÕâÏîÈÎÎñ£¬ÕâÖ÷ÒªÊÇÒòΪËü×Ô¶¯»¯Á˽áºÏ PHP Óë C »ò C++ ËùÐèµÄ¹¤×÷¡£Èô¸ø¶¨¶ÔÒ»¸öº¯ÊýµÄÃè»æ — º¯ÊýµÄÃû³Æ¼°ÆäÐβΠ— SWIG ¾Í»áÉú³ÉÒ»¸ö°ü×°³ÌÐòÀ´½« PHP ÓëµÍ²ã´úÂëÁ¬½ÓÆðÀ´¡£
......
Ò»¡¢ÏµÍ³Ô¼¶¨
¡¡¡¡»·¾³Èí¼þÏÂÔغó´æ·ÅλÖãºX:\Server_Tools
¡¡¡¡»·¾³Èí¼þ°²×°Î»ÖãºX:\Server_Core
¡¡¡¡PHP°²×°Î»ÖãºX:\Server_Core\PHP
¡¡¡¡MySQL°²×°Î»ÖãºX:\Server_Core\MySQL
¡¡¡¡IISÍøÕ¾Õ¾µã¸ùĿ¼£ºX:\wwwroot
¡¡¡¡MySQL Êý¾Ý¿âλÖãºX:\Database
¡¡¡¡Php.ini´æ·ÅλÖãºX:\Windows\php.ini
¡¡¡¡My.ini ´æ· ......
<?php
$a = 1;
function b(&$c)
{
$c++;
return $c;
}
$d=b($a); // d = 2; a = 2;
$d++; // d = 2;
echo($a); // ÏÔʾ2
?>
ÒýÓ÷µ»Ø:
<?php
$a = 1;
function &b(&$c)
{
$c++;
return $c;
}
$d=b($a); // ×¢ÒâÕâÀï dÓëb·µ»ØµÄÖµ(È·ÇÐÀ´Ëµ, ÕâÀï·µ»ØµÄ² ......
¶þ·ÖÖÓ: ½¨Á¢Ò»¸ö CodeIgniter ÍøÕ¾
ÓÃCI½¨Ò»¸öÍøÕ¾ºÜÈÝÒס£ ÕâÒ»Õº̣ܶ¬½âÊÍÁËÓÃCIÖÆ×÷Íøվʱ·¢ÉúÁËЩʲô£¬ÄÄЩÎļþ±»´´½¨£¬ÈÃÎÒÃÇÀ´ÇÆÒ»ÇÆ£º
. ´´½¨ÍøÕ¾ÐèҪʲôÈí¼þ£¿
. °²×° CI Îļþ: Ò»¸ö¼òµ¥µÄÏÂÔغͽâѹËõ²Ù×÷
. CI µÄ»ù±¾ÉèÖÃ: ÓÐÄÄЩÎļþ¼Ð¼°ËüÃÇÊÇÈçºÎ×éÖ¯µÄ
. CI °²×°Ê±Ä¬ÈϵĿØÖÆÆ÷ºÍÊÓͼ
. һЩ¼òµ¥µÄ ......