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

½â¾öPHPÄÚ´æÒç³öµÄÎÊÌâ

Allowed memory size of 33554432 bytes exhausted (tried to allocate 4554 bytes)
      ÓÐʱºòÎÒÃÇÔÚÔËÐÐphp³ÌÐòµÄʱºò»á·¢ÏÖ Fatal Error: Out of memory ÕâÑùµÄÌáʾ¡£ ÕâÓпÉÄÜÊdzÌÐòÖÐÓõ½ÁË´óÁ¿Á˱äÁ¿ºÍ¶ÔÏ󣬵¼Ö·ÖÅäµÄÄÚ´æ²»¹»Óá£ÎÒ¾ÍÓöµ½ÕâÑùÒ»¸ö´íÎóÔõô¸ÄÒ²¸Ä²»ÁË£¬ºóÀ´ÉÏÍø²éÁËһЩ×ÊÁÏ£¬¿ÉÊÇÐÞ¸ÄÁËphp.iniÎļþÀïµÄmemory_limit²ÎÊý£¬¿ÉÊÇÎÞÂÛÎÒÔõô¸Ä»¹ÊÇÓÐÕâ¸ö´íÎóÌáʾ£¬ÌرðÓôÃÆ£¡ºóÀ´ÎÒʵÔÚûÓа취ÁË£¬¾ÍÔÚQQȺÀïÃæÇóÖú£¬ÓÐÈ˸æËßÎÒÔÚÎҵijÌÐò´úÂëÖмÓÈë“init_set("memory_limit", "128M");”ÕâÐдúÂë¾Í¿ÉÒÔÁË£¬ÓÚÊÇÎÒÊÔÁËһϣ¬»¹ÕæµÄÐÐÁË¡£ÏÖÔÚÎÒ°Ñ×Ô¼º½â¾öÕâ¸öÎÊÌâµÄÁ½ÖÖ°ì·¨·ÖÏí¸ø´ó¼Ò£¬Ï£ÍûÄܰﵽºÍÎÒÒ»ÑùÓöµ½ÀàËÆÎÊÌâµÄÈËÃÇ¡£
·½·¨Ò»£ºÎÒÃÇ¿ÉÒÔÔÚphp.iniÎļþÖаÑmemory_limit²ÎÊýĬÈϵÄ128MÐÞ¸ÄΪ256M»òÕ߸ü´ó£º
memory_limit = 128M
·½·¨¶þ£ºÈç¹ûÊÇÐéÄâÖ÷»ú£¬ÎÒÃÇ¿ÉÒÔÔÚ³ÌÐòÐèÒªÓõ½´óÄÚ´æµÄµØ·½Ìí¼Ó£º
init_set("memory_limit", "128M");
ÕâЩ¿ÉÒÔÔÚÓ²¼þ»·¾³·½Ãæ½â¾öÎÒÃǵÄÎÊÌ⣬²»¹ý×îºÃµÄ·½·¨»¹ÊÇÑϸñ¿ØÖƳÌÐòÖÐÄÚ´æµÄËðºÄ¡£¼°Ê±unsetһЩ´ó¶ø²»ÓõıäÁ¿»ò¶ÔÏó¡£


Ïà¹ØÎĵµ£º

php±í´ïʽ֮explode() ·Ö¸î×Ö·û´®

Ô­ÌûµØÖ·£ºhttp://www.phpma.com/english/20071215/640.html
Description
array explode
( string separator, string string [, int limit])phpma.com
Returns an array of strings, each of which is a substring of string
formed by splitting it on boundaries formed by the string separator
. If limit
is ......

flash + php ÎļþÉÏ´«

 import flash.net.FileFilter;
import flash.net.FileReferenceList;
import fl.controls.Button;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.events.ProgressEvent;
import flash.events.HTTPStatusEvent;
import flash.display.Loader;
import flash.net.URLRequest;
var ......

php½øÐÐsoapµ÷ÓÃ

$client = new SoapClient('http://www.webxml.com.cn/WebServices/ChinaZipSearchWebService.asmx?WSDL');
#$ret = $client->__call('getSupportProvince', array());
 
#$ret = $client->__call('getSupportProvinceCity', array());
 
$ret = $client->__call('getSupportCity', array('callP ......

ºÃÓÃµÄ xmlrpc epi PHP ·â×°Àà


ÔÚ PHP Öб¾Éí´øÓÐÒ»¸öÓà C ÓïÑÔʵÏÖµÄ xmlrpc À©Õ¹£¬½Ð
xmlrpc-epi¡£ÒòΪËüÊÇÓà C ÓïÑÔʵÏֵģ¬ËùÒÔ´ÓËÙ¶ÈÉÏÀ´Ëµ±ÈÓà PHP ʵÏÖµÄÄÇЩ xmlrpc
À©Õ¹Òª¿ìµÄ¶à¡£µ«ÊÇÔÚʵ¼ÊÓ¦ÓÃÖÐÈ´·¢ÏÖºÜÉÙÓÐÈËÓÃÕâ¸öÀ©Õ¹£¬´ó¶¼ÊÇÓà PHP ½Å±¾ÊµÏÖµÄ xmlrpc
µÄÀ©Õ¹¡£Ô­Òò¿ÉÄÜÓÐÒÔÏÂÁ½µã£ºÒ»ÊÇÕâ¸öÀ©Õ¹ÐèÒªÔÚ·þÎñÆ÷ÉÏ´ò¿ª£¬Èç¹ûûÓзþÎñÆ÷² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ