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

php³£ÓõĻù±¾º¯Êý

phpµÄº¯Êý·ÖΪϵͳº¯Êý£¬Óû§º¯Êý
1£¬phpº¯Êý²»Çø·Ö´óСд
º¯ÊýÔ­ÐÍ£º
 ·µ»ØÀàÐÍ º¯ÊýÃû³Æ£¨ÀàÐÍ ²ÎÊý£©
2.1£¬ÏµÍ³º¯ÊýÖг£ÓõÄÊýѧº¯Êý
abs(eumber) È¥¾ø¶ÔÖµ
sin(float)  ÕýÏÒ¼ÆËãsin(x)
cos(float) ÓàÏÒ¼ÆËãcos(x)
log(float) ×ÔÈ»¶ÔÊý¼ÆËã
sqrt(float) ¿ªÆ½·½¸ù¼ÆËã
log10(float) 10»ùµ×µÄ¶ÔÊý
exp(float) ×ÔÈ»¶ÔÊýeµÄ´Î·½Öµ
pow(float x,float y) ´Î·½xµÄy´Î·½
pi()  Ô²ÖÜÂÊ
rand([min]£¬[max])    È¡Ëæ»úÊý
2.2 ×Ö·û´®º¯Êý
strtolower()    ×Ö·û´®×ªÎªÐ¡Ð´
strtoupper()    ×Ö·û´®×ªÎª´óд
trim()        ½ØÈ¥×Ö·û´®Ê×β¿Õ¸ñ
substr(string£¬start£¬[length])    È¡×Ó´®
strlen(string str)    È¡µÃ×Ö·û´®³¤¶È
strpos(ĸ´®£¬´ý²é×Ö·û£¬[offset])    Ñ°ÕÒ×Ö·û´®ÖÐij×Ö·û×îÏȳöÏÖ´¦
strcmp(str1,str2)    ×Ö·û´®±È½Ï
2.3 Îļþϵͳº¯Êý£º
int filesize(string filename)    »ñµÃÎļþ´óС
int feof(int fp)        ²âÊÔÎļþÖ¸ÕëÊÇ·ñÖ¸µ½Îļþβ
int fopen(string filename,string mode)    ´ò¿ªÎļþ»òÕßURL
int fclose(int fp)        ¹Ø±ÕÒÑ´ò¿ªµÄÎļþ
string fread(int fp,int n)    ¶ÁÈ¡ÎļþN¸ö×Ö½Ú
string fgets(int fp,int n)    È¡µÃÎļþÖ¸ÕëËùÖ¸µÄÐÐ(ÊʺϴóÎļþ´¦Àí)
int fwrite(int fp,string string,int[n])    дÈëÎļþ
int fputs(int fp,string str,int[n])    дÈëÎļþ
int mkdir(string pathname,int mode)    ½¨Á¢Ä¿Â¼
int rmdir(string dirname)        ɾ³ýĿ¼
int rename(string oldname,string newname)    ¸ÄÃû
2.4 ÍøÂ纯Êý£º
int fsockopen(string hostname,int port,int[errno],string[errstr],int
[timeout])    ´ò¿ªÍøÂçsocketÁ´½Ó
string gethostbyname(string hostname)    DNS²éѯ£¬·µ»ØIPÍøÖ·
array gethostbynamel(string hostname)    ·µ»Ø»úÆ÷Ãû³ÆµÄËùÓÐIP
2.5 MySQLÊý¾Ý¿âº¯Êý£º
int mysql_connect(string[hostnam


Ïà¹ØÎĵµ£º

PHP $_POST


$_POST ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="post" µÄ±íµ¥ÖеÄÖµ¡£
$_POST ±äÁ¿
$_POST ±äÁ¿ÊÇÒ»¸öÊý×飬ÄÚÈÝÊÇÓÉ HTTP POST ·½·¨·¢Ë͵ıäÁ¿Ãû³ÆºÍÖµ¡£
$_POST ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="post" µÄ±íµ¥ÖеÄÖµ¡£´Ó´øÓÐ POST ·½·¨µÄ±íµ¥·¢Ë͵ÄÐÅÏ¢£¬¶ÔÈκÎÈ˶¼ÊDz»¿É¼ûµÄ£¨²»»áÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸£©£¬²¢ÇÒ¶Ô·¢ËÍÐÅÏ¢µÄÁ¿Ò²Ã»ÓÐÏÞÖ ......

Äã¿ÉÒÔϲ»¶PHP£¬µ«ÊÇÄã²»ÄÜÈö»Ñ£¡

×î½üÎÒÕæÊÇÍ·´óÒÓ£¬ÎҵIJ©¿ÍÀï¾ÓȻһҹ¼ä±ä³ÉÁËphpºÍaspµÄ¶·Õù³¡£¬ÉõÖÁ±ä³ÉÁËwindowsºÍlinuxµÄ¶·Õù³¡¡£ÕæÊÇÒâÏë²»µ½µÄ¡£
ÎÒ±¾À´ÎÞÒâÌôÆðwindowsºÍlinuxÖ®¼äµÄÕù¶Ë£¬¶øÇÒÒ²·Ç³£²»ÏëÈ¥ÌôÕâÖÖÕù¶Ë¡£
»°Ëµ£¬ÆäʵÎÒ±¾Éí¶Ôlinux²Ù×÷ϵͳÊÇûÓÐʲô»µÓ¡ÏóµÄ£¬ËäÈ»×Ô¼ºµÄµçÄÔÉÏûÓÐ×°¹ýlinux£¬µ«ÊÇÔÚͬѧµÄµçÄÔÉÏÓùý£¬¾õµÃËüͦºÃ ......

java php DES ¼ÓÃܽâÃÜ

import java.io.IOException;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESKeySpec;
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
public class DES {
private byte ......

ʹÓÃPHPµÄgd¿â³öÏÖÎÊÌâ

ÎÒʹÓÃWAMP5 version 1.7.4°²×°PHP+Apache+MySQL¼¯³É»·¾³£¬ÔÚµ÷ÊÔÒ»¸ö³ÌÐòʱ£¬ÆäÑéÖ¤Âë²»ÄÜÏÔʾ£¬ÊÔÁ˺öà´Î£¬ÐÞ¸ÄÁ˺ܶàµØ·½Ò²Ã»Äܳɹ¦¡£ÒÑ×öºÃµÄÅäÖÃÈçÏ£º
¢ÙÔÚphpinfÒ³ÃæLoaded Configuration FileºóÃæËùÖ¸¶¨µÄphp.iniÖаÑ;extension=php_gd2.dllÇ°ÃæµÄ;È¥µô¡£
¢ÚÖØÆôÁËApache·þÎñÆ÷¡£
     Âé· ......

phpÊÇʲô£¿

Ô­ÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/2010/01/25/29/
ѧϰÁËÒ»¶Îʱ¼äPHP£¬¾õµÃÓеãÊÕ»ñ¡£Ò²Ó¦¸Ã½«Ñ§¹ýµÄ¶«Î÷ÄóöÀ´É¹É¹ÁË£¬²»È»¾Í½»»Ø¸ø¿Î±¾ÁË¡£
PHPÊÇʲôÄØ£¿
PHP£¬Êdz¬¼¶Îı¾Ô¤´¦ÀíÓïÑÔ£¨PHP:Hypertext Preprocessor£©µÄËõд¡£PHP ÊÇÒ»ÖÖ HTML ÄÚǶʽµÄÓïÑÔ£¬ÊÇÒ»ÖÖÔÚ·þÎñÆ÷¶ËÖ´ÐеÄǶÈëHTMLÎĵµµÄ½Å±¾ÓïÑÔ£¬Óï ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ