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

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë

64λ¶¯Ì¬phpÀ©Õ¹¿âµÄ±àÒë
 ¹¤×÷ÉÏÐèÒª£¬Õâ¸öÎÊÌâÕÛÌÚÁËÒ»Õó×Ó¡£²»¹ýµ±±àÒë³É¹¦Ö®ºó£¬ÐÄÀﻹÊÇÏ൱µÄÐË·Ü£¬¸ÐÊܵ½ÁËÒ»Öֳɾ͸С£Ò²Êǹ¤×÷ÖеÄÒ»ÖÖÀÖȤ¡£
ÏÖÔÚ½«Õû¸ö¹ý³ÌдÏÂÀ´£¬ÒÔ±¸ºóÐøÖ®Ðè¡£
a.shared object
(1) download and install the apache
´ÓÍøÂçÖÐÏÂÔØapache-2.0.48.tar.gz
´æÖÁ/home/tmp
cd /home/tmp
tar -xvzf apache-2.0.48.tar.gz  /usr/local
cd /usr/local/apache-2.0.48
./configure --prefix=/usr/local/apache  --enable-module=so
make
make install
cd /usr/local/apache/conf
vi httpd.conf
ServerName localhost
port 80
DirectoryIndex default.php default.phtml default.php3 default.html default.htm
AddType application/x-httpd-php .php .phtml .php3 .inc
AddType application/x-httpd-php-source .phps
(2)download and install the php
´ÓÍøÂçÖÐÏÂÔØphp-4.3.4.tar.gz
´æÖÁ/home/tmp
cd /home/tmp
tar -xvzf php-4.3.4.tar.gz  /usr/local
cd /usr/local/php-4.3.4
./buildconf --force
./configure --with-apache2=/usr/local/apache/bin/apxs
make
make install
cp php.ini-dist /usr/local/lib/php.ini
(3)install the DM DBMS
²Î¿¼DM°²×°ÊÖ²á,¼Ù¶¨°²×°µ½/usr/local/DMDBMS
(4) install the DM PHP
cp dm_php   /home
cd /home/dm_php
#Ö´ÐÐ
/usr/local/bin/phpize
./configure
make
cd /usr/local/lib
vi php.ini
#ÐÞ¸ÄÏÂÃæÅäÖÃ
register_globals=on
extension_dir=/home/dm_php/modules  #dm_php.soËùÔÚ·¾¶
#Ìí¼ÓÏÂÃæÓï¾ä
extensions=dm_php.so
;php.iniÖÐÓйØÁ¬½ÓµÄÅäÖÃ
[dm]
; ÊÇ·ñÔÊÐí³Ö¾ÃÐÔÁ¬½Ó
dm.allow_persistent = 1
; ÔÊÐí½¨Á¢³Ö¾ÃÐÔÁ¬½ÓµÄ×î´óÊý.  -1 ΪûÓÐÏÞÖÆ.
dm.max_persistent = -1
; ÔÊÐí½¨Á¢Á¬½ÓµÄ×î´óÊý(°üÀ¨³Ö¾ÃÐÔÁ¬½Ó).  -1 ΪûÓÐÏÞÖÆ.
dm.max_links = -1
; ĬÈϵÄÖ÷»úµØÖ·
dm.default_host = localhost
; ĬÈϵǼµÄÊý¾Ý¿â
dm.default_db = SYSTEM
; ĬÈϵÄÁ¬½ÓÓû§Ãû
dm.default_user = SYSDBA
; ĬÈϵÄÁ¬½Ó¿ÚÁî.
dm.default_pw = SYSDBA
;Á¬½Ó³¬Ê±£¬Õâ¸ö²ÎÊýδʵ¼ÊµÄÓõ½£¬µÈ´ý·þÎñÆ÷Ö§³Ö
dm.connect_timeout = 10
;¶ÔÓÚ¸÷Öֱ䳤Êý¾ÝÀàÐÍ£¬Ã¿ÁÐ×î´ó¶ÁÈ¡µÄ×Ö½ÚÊý¡£Èç¹ûËüÉèÖÃΪ0»òÊÇСÓÚ0,ÄÇô£¬¶ÁÈ¡±ä³¤×Ö¶Îʱ£¬½«ÏÔʾNULLÖµ
dm.defaultlrl = 4096
; ÊÇ·


Ïà¹ØÎĵµ£º

PHPÊýѧº¯Êý£¨È«£©


Êýѧº¯Êý
Abs
º¯ÊýÃèÊö£ºmixed abs(mixed number);
·µ»ØÖµ£ºº¯Êýabs·µ»Ø²ÎÊýnumberµÄ¾ø¶ÔÖµ¡£
Acos
º¯ÊýÃèÊö£ºdouble acos(double number);
·µ»ØÖµ£ºº¯Êýacos·µ»Ø²ÎÊýnumberµÄ·´ÓàÏÒÖµ¡£Èç¹û²ÎÊýnumber´óÓÚ1»òСÓÚ1£¬
ÔòÆä·´ÓàÏÒÖµÎÞÒâÒå ¡£
Acosh --
·´Ë«ÇúÓàÏÒ
Asin
º¯ÊýÃèÊö£»double asin(double number); ......

×îÁîPHP³õѧÕßÍ·Í´µÄÊ®ËĸöÎÊÌâ

 ¡¾1¡¿Ò³ÃæÖ®¼äÎÞ·¨´«µÝ±äÁ¿ get,post,sessionÔÚ×îеÄphp°æ±¾ÖÐ×Ô¶¯È«¾Ö±äÁ¿Êǹرյģ¬ËùÒÔÒª´ÓÉÏÒ»Ò³ÃæÈ¡µÃÌá½»¹ýÀ´µÃ±äÁ¿ÒªÊ¹ÓÃ$_GET['foo'],$ _POST['foo'],$_SESSION['foo']À´µÃµ½¡£µ±È»Ò²¿ÉÒÔÐÞ¸Ä×Ô¶¯È«¾Ö±äÁ¿Îª¿ª(php.ini¸ÄΪ register_globals = On)£»¿¼Âǵ½¼æÈÝÐÔ£¬»¹ÊÇÇ¿ÆÈ×Ô¼ºÊìϤеÄд·¨±È½ÏºÃ¡£¡¡¡¡
¡¾ ......

PHP´¦ÀíÔÚÏßÓû§

 ×ªÌù×Ô: http://hi.baidu.com/isnono/blog/item/3c94ea11a54a0fc7a7ef3f94.html
¾­³£ÔÚCSDNµÄPHPÂÛ̳ÉÏ¿´µ½ÓÐÅóÓÑÎÊ´¦ÀíÔÚÏßÓû§µÄÎÊÌâ,ÎÒд¹ýÀàËƵĴúÂë,¾ÍÄóöÀ´Ï׳óÁË,ÓеãÀ¬»ø,»ù±¾ÉÏʵÏÖÁ˹¦ÄÜ, ͬÊÇÒ²Äܹ»À©Õ¹£¬±ÈÈçͬʱֻÔÊÐíÒ»¸öÕʺÅÔÚÏߵȡ£
/*
³ÌÐòÓÃ;£º¼ì²âÔÚÏßÓû§
³ÌÐò×÷Õߣºheiyeluren
д×÷ʱ¼ä ......

PHP ³£·¸µÄ 10 ¸ö´íÎó £¨×ªÔØ£©

 PHPÊǸöΰ´óµÄweb¿ª·¢ÓïÑÔ£¬Áé»îµÄÓïÑÔ£¬µ«ÊÇ¿´µ½php³ÌÐòÔ±Öܶø¸´Ê¼µÄ·¸µÄһЩ´íÎó¡£ÎÒ×öÁËÏÂÃæÕâ¸öÁÐ±í£¬ÁгöÁËPHP³ÌÐòÔ±¾­³£·¸µÄ10ÖдíÎ󣬴ó¶àÊýºÍ°²È«Ïà¹Ø¡£¿´¿´Äã·¸Á˼¸ÖÖ
1.²»×ªÒâhtml entities
   Ò»¸ö»ù±¾µÄ³£Ê¶£ºËùÓв»¿ÉÐÅÈεÄÊäÈ루ÌرðÊÇÓû§´ÓformÖÐÌá½»µÄÊý¾Ý£© £¬Êä³ö֮ǰ¶¼Òª×ªÒâ¡£
ech ......

php´¦ÀíÉÏ´«Îļþ

¹«Ë¾MMʱ³£¸øÎÒһЩºÅÂë,È»ÎÒ²éѯÊÇÄļҵÄ,¶¼ÊÇtxtÎı¾¸ñʽµÄ,»¹ºÃºÅÂëÊÇÒ»ÐÐÒ»¸ö,ÓÚÊÇÓÃfile()º¯ÊýÈ¡¸öÊý×é,¿ªÊ¼µÄʱºòÎÒµÄwin7 32λµÄ¿ÉÒÔÓÃapacheºóÀ´×°64λwin7ÓÉÓÚûÕÒµ½Ô­ÉúµÄ64λapacheÓÚÊǾʹ«µ½·þÎñÆ÷ÉÏÿ´Î,ÓÐÉÏ´«ÓиÃÎļþºÜÂé·³,ÓÚÊÇ×ö³ÉÒ»¸öÒ³ÃæÈ¥ÈÃMM×Ô¼ºÍê³É.·Ï»°²»¶à˵ ÒªÔÚform±íµ¥ÀïÉÏ´«Îļþ¾ÍµÃÐèÒªÔÚ±í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ