phpץȡÊý¾ÝÎÊÌâ - PHP / »ù´¡±à³Ì
$contactHtml = file_get_contents("http://kslongmen.cn.alibaba.com/athena/contact/kslongmen.html");
´òÓ¡³öÀ´·¢ÏÖÈ¡²»µ½ÄÚÈÝ£¬Ö±½ÓÖض¨Ïòµ½±¾µØ
ÓÃcurlÈ¡Õâ¸öURLµÄÄÚÈÝÏÔʾ£ºFound
The document has moved here.
Õâ¸ö²»ÖªµÀÔõô½â¾ö£¬¸÷λ´óÏÀÂé·³°ïæ½â¾öÏÂ
Íò·Ö¸Ð¼¤.
²»ÓÃfile_get_contents£¬×Ô¼º¹¹ÔìÍ·¡£ÓÃfsoket°É
·¢³öÈ¥µÄÍ·:
GET /athena/contact/kslongmen.html HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: zh-cn
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.2)
Host: kslongmen.cn.alibaba.com
Connection: Keep-Alive
½ÓÊÕµÄÍ·:
HTTP/1.1 200 OK
Date: Wed, 26 May 2010 08:07:07 GMT
Server: Apache
Set-Cookie: ali_apache_id=202.105.106.25.26233161227804.3; path=/; domain=.alibaba.com; expires=Wed, 30-Nov-2084 01:01:01 GMT
Set-Cookie: ali_apache_sid=202.105.106.25.26233161227804.3|1274863027; path=/; domain=.alibaba.com
Set-Cookie: JSESSIONID=S$wZRRczAOpSIWeL6P8oocZd2szgvdUQ; Domain=.alibaba.com; Path=/
Set-Cookie: _csrf_token=1274861227840; Domain=.alibaba.com; Path=/
Set-Cookie: _tmp_ck_0=AhAPwLGenDsU2obBvfytDkVxP%2B%2FydPvPeSz6xFJKDAY1HmY%2BDdWUgaFMQoUpBTfqSz5SpCPW%2BdC9IX7heBonUjMgcVW3nxCjiiqZbc%2F7YCSfLyXN6pAOlXCAH2CgGujAVMRmavAYbZj49QpIMbyl1pZbF0Cfq
Ïà¹ØÎÊ´ð£º
Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......
ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,ÔÀ´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁË°É£¬¿ÉÒÔ¿´¿´
cookie Æ ......
ʹÓÃÍøÉ쵀 phpexcelreader À࣬½«ÐéÄâ»úÄÚ´æµ÷ÕûÖµ1024M£¬excelÌå»ýΪ224M£¬ÓÃphpexcelreader¶ÁÈ¡µÄʱºòÄÚ´æ¸ù±¾²»¹»Óã¬Çë½Ì¸÷λÓÐʲôºÃµÄ·½·¨¶ÁÈ¡ÕâÖÖ´óÌå»ýµÄ excel ÎʼÛô£¿
excelÌå»ýΪ224M
·þÁË¡£¡£¡£ ......
ÎÒÓÃphpÎļþÉÏ´«
ʹÓÃmove_upload_file()£¬
Ò»ÉÏ´«Îļþ¾Í³ö´íÁË£¬
³ö´íµÄÐÅÏ¢ÊÇ
Warning: move_uploaded_file(F:\Server\www\): failed to open stream: Permission denied in F:\Server\www\eoool\finish\uploa ......
ÎÒÒª×öÒ»¸ö»áÔ±×¢²áÆä±ØÐëÒªÊäÈëÊÖ»úºÅ»ñµÃÊÖ»úÑéÖ¤Â룬ÄãÃÇ˻ᰡ£¡
ÏȽøÐÐÊÖ»úÑéÖ¤»¹ÊÇÏÈ×¢²áÔÙÑéÖ¤£¿
ÐèҪʵÏÖÑéÖ¤Âë¶ÌÐÅ·¢Ë͵½ÊÖ»úÄÇÖÖ°É¡£ÐèÒª¶ÌÐŽӿڻòÕßÂò¸ö¶ÌÐÅè½øÐпª·¢
ÐèÒª½Ó¿ÚµÄ
²Î¿¼µØÖ·£ºht ......