PHP ʖ²ἯTH º󍋼/A Ղ 19. ʹӃԶ³̎ļþ ע: Windows °汾µĠPHP 4.3 °斮ǰ²»֧³֒ԏº¯ʽµĔ¶³̷Îʣºinclude()£¬include_once()£¬require()£¬require_once() Ҕ¼° ²ο¼ XLI, Image functions )չ¿▐µĠimagecreatefromXXX º¯ʽ¡£ =ד 19-1. »񈡔¶³̎ļþµıꌢ ?php $file = fopen ("http://www.example.com/", "r"); if (!$file) {echo "p Unable to open remote file.\n"; exit;} while (!feof ($file)) {$line = fgets ($file, 1024); /* This only works if the title and its tags are on one line */ if (eregi (" title (.*) /title ", $line, $out)) {$title = $out[1]; break;}} fclose($file);? =ד 19-2. Զ³̷þα¶˵Ċþ´¦´¢ ?php $file = fopen ("ftp://ftp.example.com/incoming/outputfile", "w"); if (!$file) {echo "p Unable to open remote file for writing.\n"; exit;} /* Write the data here. */ fputs ($file, $_SERVER['HTTP_USER_AGENT']. "\n"); fclose ($file);? º󍋼/A ưµ㼯A ¶ԠPUT ·½·¨µĖ§³ּ/TD ɏһ¼¶ l½Ӵ¦-