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

delphi ±àдµÄcom ¶ÔÏó ÓÃphpµ÷ÓõÄʵÀý

delphi ±àдµÄcom ¶ÔÏó ÓÃphpµ÷ÓÃ
µÄ
ʵÀý
delphi:
function Tmyxml.Get_xml: WideString;
begin
      Get_xml:='wo shi a lei!';
end;
function Tmyxml.Get_xmldata: WideString;
var
xmlStr:string;
begin
  xmlStr := '<?xml   version="1.0"   encoding="gb2312"?>';
  xmlstr := xmlstr + '<user><name>ÕÅÈý</name><sex>ÄÐ</sex></user>';
    Get_xmldata:=xmlStr;
end;
php:
<? 
$phpobj = new COM("abc.myxml");
echo $phpobj->xml;
echo $phpobj->xmldata;
//ÊͷŶÔÏó
$phpobj=null;
?>
ʵÀýÏÂÔØ£ºhttp://download.csdn.net/source/1976904


Ïà¹ØÎĵµ£º

phpÓ¦ÓÃ

×î½üÔÚѧϰphp£¬Ò³ÃæÒѾ­×öºÃÁË£¬ÏÖÔÚ¾ÍÊǺÍÐéÄâ»úÀïC´úÂëµÄͨÐÅ£¬socket±à³Ì»¹¿ÉÒÔ£¬¾ÍÊÇÄÃÊý¾ÝµÄ´¦Àí£¬ÄÑ£¬¡£
ÀàµÄ±à³ÌÎÒ²»»á£¬Ã»ÓÐѧ¹ýC++¡£±¾À´´òËãÓýṹÌåµÄ£¬¿ÉÊÇPHPÀïÃæ¾ÓȻûÓнṹÌ壬Ôõô°ìÄØ£¿¼ÌÐøÅ¬Á¦°É
......

PHP»º´æ´úÂë

PHP»º´æ´úÂë
ºÃµÄÒ³Ãæ»º´æ´úÂ룬¿ÉÒÔ¼õÇáCPUºÍMYSQL¸ºµ£¡£Ê¹ÓÃǰ£¬ÏÈÔÚ¸ùĿ¼´´½¨“cache”Îļþ¼Ð£¬È»ºóÔËÐÐ1.php£¬µÚÒ»´ÎÔËÐк͵ڶþ´ÎÔËÐÐËٶȲîÒìºÜ´ó¡£»¶Ó­ÊìϤPHPµÄÅóÓÑʹÓúÍÌáÒâ¼û¡£
ʹÓ÷½·¨:(Çë±£´æÎªtemp.php)
 <?php
include('arrcache.php');
$cache = new ArrCache('cache',5,'txt');
......

php $_SERVERº¯ÊýÖÐQUERY_STRINGºÍREQUEST_URI

$_SERVER´æ´¢µ±Ç°·þÎñÆ÷ÐÅÏ¢£¬ÆäÖÐÓм¸¸öÖµÈç$_SERVER["QUERY_STRING"]£¬$_SERVER["REQUEST_URI"]£¬$_SERVER["SCRIPT_NAME"]ºÍ$_SERVER["PHP_SELF"]³£³£ÈÝÒ×»ìÏý£¬ÒÔÏÂͨ¹ýʵÀýÏê½â$_SERVERº¯ÊýÖÐQUERY_STRING£¬REQUEST_URI£¬SCRIPT_NAMEºÍPHP_SELF±äÁ¿Çø±ð£¬ÕÆÎÕÕâËÄÕßÖ®¼äµÄ¹ØÏµ£¬±ãÓÚÔÚʵ¼ÊÓ¦ÓÃÖÐÕýÈ·»ñÈ¡ËùÐèÒªµÄÖµ
1£ ......

PHP SESSION Ô­Àí


Ò»¡¢PHP SESSIONÔ­Àí
ÎÒÃÇÖªµÀ£¬sessionÊÇÔÚ·þÎñÆ÷¶Ë±£³ÖÓû§»á»°Êý¾ÝµÄÒ»ÖÖ·½·¨£¬¶ÔÓ¦µÄcookieÊÇÔÚ¿Í»§¶Ë±£³ÖÓû§Êý¾Ý¡£HTTPЭÒéÊÇÒ»ÖÖÎÞ״̬ЭÒ飬·þ
ÎñÆ÷ÏìÓ¦ÍêÖ®ºó¾ÍʧȥÁËÓëä¯ÀÀÆ÷µÄÁªÏµ£¬×îÔ磬Netscape½«cookieÒýÈëä¯ÀÀÆ÷£¬Ê¹µÃÊý¾Ý¿ÉÒÔ¿Í»§¶Ë¿çÒ³Ãæ½»»»£¬ÄÇô·þÎñÆ÷ÊÇÈçºÎ¼ÇסÖÚ¶àÓû§
µÄ»á»°Êý¾ÝÄØ£¿
Ê×ÏÈÒª ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ