PHPÉú³ÉwordÎĵµ
<?PHP
$word = new COM("word.application") or die("Can't start Word!");
// print the version of Word that's now in use
echo "Loading Word, v. {$word->Version}";
// set the visibility of the application to 0 (false)
// to open the application in the forefront, use 1 (true)
$word->Visible = 0;
// create a new document in Word
$word->Documents->Add();
// add text to the new document
$word->Selection->TypeText("Testing 1-2-3...");
//save the document in the Windows temp directory
$word->Documents[1]->SaveAs("C:\comtest.doc");
// close the connection to the COM component
$word->Quit();
?>
Ïà¹ØÎĵµ£º
PHP XML²Ù×÷ÀàDOMDocumentÊôÐÔ¼°·½·¨
×¢Òâ´óСдһ¶¨²»ÄÜŪ´í.
ÊôÐÔ:
Attributes ´æ´¢½ÚµãµÄÊôÐÔÁбí(Ö»¶Á)
childNodes ´æ´¢½ÚµãµÄ×Ó½ÚµãÁбí(Ö»¶Á)
dataType ·µ»Ø´Ë½ÚµãµÄÊý¾ÝÀàÐÍ
Definition ÒÔDTD»òXMLģʽ¸ø³öµÄ½ÚµãµÄ¶¨Òå(Ö»¶Á)
Doctype Ö¸¶¨ÎĵµÀàÐͽڵã(Ö»¶Á)
documentElement ·µ»ØÎĵµµÄ¸ùÔªËØ(¿É¶Áд)
fi ......
²Ù×÷ϵͳCentOS 5.3
ϵͳ°²×°Íê³Éºó£¬°²×°±ØÒªµÄ°ü
yum install autoconf gcc gcc-c++ libjpeg libjpeg-level
libpng libpng-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glibc glibc-devel glib2 glib2-devel bzip2 bzip2-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs ......
PHPÓëASP.NET±È½ÏµÄ¸÷¸ö·½ÃæÊÇʲôÄØ£¿PHPÓëASP.NET±È½ÏµÄ±ØÒªÐÔÊÇʲôÄØ£¿ÄÇô±¾Îľ͸øÄãÒ»¸ö´ð°¸¡£
PHPÓëASP.NET±È½ÏµÄÇ°ÑÔ£¬²»¹ÜÄãÊDz»ÊÇÒѾѡÔñÁËPHP£¬¸ù¾ÝËüÔÚÈçϱí¸ñÖÐÔÚ¼Û¸ñ¡¢Ëٶȡ¢Ð§ÂÊ¡¢°²È«ÐÔ¡¢Æ½Ì¨Ö§³ÖÐԺͿªÔ´Óë·ñÉϵıíÏÖ£¬ÎÒÃǶ¼ÄÜÅжϳöËüµÄÇ¿ÏîÊÇԶʤÓÚÈõµãµÄ¡£Î¨Ò»²»×ãµÄÊÇȱÉÙÃæÏò¶ÔÏóµÄÖ§ ......
ÔÚPHP¿ª·¢ÖжԱÈÆðCookie£¬session ÊÇ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ»á»°£¬Ïà¶Ô°²È«£¬²¢ÇÒ²»Ïñ Cookie ÄÇÑùÓд洢³¤¶ÈÏÞÖÆ.ÓÉÓÚ Session ÊÇÒÔÎı¾ÎļþÐÎʽ´æ´¢ÔÚ·þÎñÆ÷¶ËµÄ£¬ËùÒÔ²»Å¿ͻ§¶ËÐÞ¸Ä Session ÄÚÈÝ¡£Êµ¼ÊÉÏÔÚ·þÎñÆ÷¶ËµÄ Session Îļþ£¬PHP ×Ô¶¯ÐÞ¸Ä session ÎļþµÄȨÏÞ£¬Ö»±£ÁôÁËϵͳ¶ÁºÍдȨÏÞ£¬¶øÇÒ²»ÄÜͨ¹ý ftp Ð޸ģ¬ËùÒÔ° ......
ʵÀýÒ»£ºÎ޲εĴ洢¹ý³Ì
$conn = mysql_connect('localhost','root','root') or die ("Êý¾ÝÁ¬½Ó´íÎó!!!");
mysql_select_db('test',$conn);
$sql = "
create procedure myproce()
begin
INSERT INTO user (id, username, sex) VALUES (NULL, 's', '0');
end;
";
mysql_query($sql);//´´½¨Ò»¸ömyproceµÄ´æ´¢¹ý³Ì
......