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

php×öÍøÕ¾¿ìÕÕͼƬ

Ö»ÄÜÊÇwindowÏÂ.
´Óphp ¹ÙÍøÉÏÏÂÔØ php_gd2.dll (5.2.2°æµÄ.)
Ìæ»»ÄãÔ­À´µÄgd2.
×Ô¶¯×¥È¡ÍøÕ¾Ò³Ãæ²¢±£´æΪһ¸öͼƬ.
ʵÏÖ´úÂëÈçÏÂ:
<?php
$browser = new COM("InternetExplorer.Application");
$handle = $browser->HWND;
$browser->Visible = true;
$browser->FullScreen = true;
$browser->Navigate("http://www.sina.com");
/* Still working? */
while ($browser->Busy) {
    com_message_pump(4000);
}
$im = imagegrabwindow($handle, 0);
$browser->Quit();
imagepng($im, "sina.png");
?>


Ïà¹ØÎĵµ£º

php»ñÈ¡¿Í»§¶ËIPµØÖ·µÄ¼¸ÖÖ·½·¨

PHP Code one: //php»ñÈ¡ipµÄËã·¨
$iipp=$_SERVER["REMOTE_ADDR"];
echo $iipp; PHP Code two: //php»ñÈ¡ipµÄËã·¨
$user_IP = ($_SERVER["HTTP_VIA"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER["REMOTE_ADDR"];
$user_IP = ($user_IP) ? $user_IP : $_SERVER["REMOTE_ADDR"];
echo $ ......

PHPͼ±íÖÆ×÷¹¤¾ß¼¯

ת×Ô£ºhttp://nedvedheqing.javaeye.com/blog/383506
1. PHPÀ©Õ¹
JpGraph£ºhttp://www.aditus.nu/jpgraph/
ChartDirector£ºhttp://www.advsofteng.com/
2. JavaScript
Flot (http://code.google.com/p/flot/
) - Flot Ϊ jQuery ÌṩµÄjavascript´úÂë¿â. ÈÝÒ×ʹÓã¬ÓÐÌØÉ«µÄͼ±í£¬Ìṩ½»»¥¹¦ÄÜ(Äܹ»·Å´óËõСÊý¾ÝÇøÓòµ ......

phpɾ³ýÎļþ


ÈçºÎÓÃphpɾ³ýÎļþÄØ£¿
phpÖÐÓиöº¯Êý½Ð×÷unlink¡£Ö»ÒªÒ»¸ö²ÎÊý£¬±íʾÎļþ·¾¶¾ÍÐÐÁË¡£
bool unlink ( string filename)
³É¹¦É¾³ý·µ»ØÕ棬·ñÔò·µ»Ø¼Ù¡£
Õâ´ÎÎÒÔÚÏîÄ¿ÖУ¬ÐèÒªÓõ½É¾³ýÎļþ²Ù×÷¡£ÎªÁËÍêÃÀµÄ²Ù×÷£¬Ê×ÏÈÒªÅжÏÒ»ÏÂÕâ¸ö·¾¶µÄÎļþÊÇ·ñ´æÔÚ£¬ÓÃfile_existsº¯Êý¡£ÈçÈô´æÔÚ£¬Ôòȥɾ³ýÎļþ¡£¾ßÌå´úÂëÈçÏ£º
i ......

·À·¶phpľÂí

1¡¢·ÀÖ¹Ìø³öwebĿ¼ £¨ÑÏÖزÉÓã©
¡¡¡¡Ê×ÏÈÐÞ¸Ähttpd.conf£¬Èç¹ûÄãÖ»ÔÊÐíÄãµÄphp½Å±¾³ÌÐòÔÚwebĿ¼Àï²Ù×÷£¬»¹¿ÉÒÔÐÞ¸Ähttpd.confÎļþÏÞÖÆphpµÄ²Ù×÷·¾¶¡£±ÈÈçÄãµÄwebĿ¼ÊÇ/usr/local/apache/htdocs£¬ÄÇôÔÚhttpd.confÀï¼ÓÉÏÕâô¼¸ÐУº
¡¡¡¡php_admin_value open_basedir /usr/local/apache/htdocs
¡¡¡¡ÕâÑù£¬Èç¹û½Å±¾Òª ......

xmlÎĵµÀﺬÓÐÌØÊâ×Ö·ûʱµÄ´¦Àí·½·¨(php)

¡¡¡¡±¾ÎÄÊ×·¢´úÂëÌìÏÂ,תÔØÇë×¢Ã÷À´Ô´´úÂëÌìÏ£¬Ð»Ð»¡£
¡¡¡¡½ñÌìÉÏ°àʱÓöµ½Ò»¸öÎÊÌ⣬ÓÎÏ·¹Ù·´Ó¦Ò»¸öÓû§³ä²»ÁËÖµ¡£³ä²»ÁËÖµÒ»°ãΪÓû§½ÇÉ«²»ÕýÈ·£¬ÎÒ×Ðϸ¼ì²é·¢ÏÖ¸ÃÓû§½ÇÉ«ÓеãÒì³££¬ÒòΪ¶Ô·½·µ»Ø½ÇÉ«ÊÇxml£¬ÎÒÌùÉÏÀ´¸ø´ó¼Ò¿´Ò»Ï£º
<Result value="true" message="Success!">   <It ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ