php×Ö·û´®º¯Êý´óÈ«
AddSlashes: ×Ö·û´®¼ÓÈëбÏß¡£
bin2hex: ¶þ½øλת³ÉÊ®Áù½øλ¡£
Chop: È¥³ýÁ¬Ðø¿Õ°×¡£
Chr: ·µ»ØÐòÊýÖµµÄ×Ö·û¡£
chunk_split: ½«×Ö·û´®·Ö³ÉС¶Î¡£
convert_cyr_string: ת»»¹Å˹À·ò×Ö·û´®³ÉÆäËü×Ö·û´®¡£
crypt: ½«×Ö·û´®Óà DES ±àÂë¼ÓÃÜ¡£
echo: Êä³ö×Ö·û´®¡£
explode: Çпª×Ö·û´®¡£
flush: Çå³öÊä³ö»º³åÇø¡£
get_meta_tags: ³é³öÎļþËùÓÐ meta ±ê¼ÇµÄ×ÊÁÏ¡£
htmlspecialchars: ½«ÌØÊâ×Ö·ûת³É HTML ¸ñʽ¡£
htmlentities: ½«ËùÓеÄ×Ö·û¶¼×ª³É HTML ×Ö·û´®¡£
implode: ½«Êý×é±ä³É×Ö·û´®¡£
join: ½«Êý×é±ä³É×Ö·û´®¡£
ltrim: È¥³ýÁ¬Ðø¿Õ°×¡£
md5: ¼ÆËã×Ö·û´®µÄ MD5 ¹þÏ¡¡£
nl2br: ½«»»ÐÐ×Ö·ûת³É <br>¡£
Ord: ·µ»Ø×Ö·ûµÄÐòÊýÖµ¡£
parse_str: ½âÎö query ×Ö·û´®³É±äÁ¿¡£
print: Êä³ö×Ö·û´®¡£
printf: Êä³ö¸ñʽ»¯×Ö·û´®¡£
quoted_printable_decode: ½« qp ±àÂë×Ö·û´®×ª³É 8 λ×Ö·û´®¡£
QuoteMeta: ¼ÓÈëÒýÓ÷ûºÅ¡£
rawurldecode: ´Ó URL רÓøñʽ×Ö·û´®»¹Ô³ÉÆÕͨ×Ö·û´®¡£
rawurlencode: ½«×Ö·û´®±àÂë³É URL רÓøñʽ¡£
setlocale: ÅäÖõØÓò»¯ÐÅÏ¢¡£
similar_text: ¼ÆËã×Ö·û´®ÏàËƶȡ£
soundex: ¼ÆËã×Ö·û´®µÄ¶ÁÒôÖµ
sprintf: ½«×Ö·û´®¸ñʽ»¯¡£
strchr: Ñ°ÕÒµÚÒ»¸ö³öÏÖµÄ×Ö·û¡£
strcmp: ×Ö·û´®±È½Ï¡£
strcspn: ²»Í¬×Ö·û´®µÄ³¤¶È¡£
strip_tags: È¥µô HTML ¼° PHP µÄ±ê¼Ç¡£
StripSlashes: È¥µô·´Ð±Ïß×Ö·û¡£
strlen: È¡µÃ×Ö·û´®³¤¶È¡£
strrpos: Ñ°ÕÒ×Ö·û´®ÖÐij×Ö·û×îºó³öÏÖ´¦¡£
strpos: Ñ°ÕÒ×Ö·û´®ÖÐij×Ö·û×îÏȳöÏÖ´¦¡£
strrchr: È¡µÃij×Ö·û×îºó³öÏÖ´¦ÆðµÄ×Ö·û´®¡£
strrev: µßµ¹×Ö·û´®¡£
strspn: ÕÒ³öij×Ö·û´®ÂäÔÚÁíÒ»×Ö·û´®ÕÚÕÖµÄÊýÄ¿¡£
strstr: ·µ»Ø×Ö·û´®ÖÐij×Ö·û´®¿ªÊ¼´¦ÖÁ½áÊøµÄ×Ö·û´®¡£
strtok: Çпª×Ö·û´®¡£
strtolower: ×Ö·û´®È«×ªÎªÐ¡Ð´¡£
strtoupper: ×Ö·û´®È«×ªÎª´óд¡£
str_replace: ×Ö·û´®È¡´ú¡£
strtr: ת»»Ä³Ð©×Ö·û¡£
substr: È¡²¿·Ý×Ö·û´®¡£
trim: ½ØÈ¥×Ö·û´®Ê×βµÄ¿Õ¸ñ¡£
ucfirst: ½«×Ö·û´®µÚÒ»¸ö×Ö·û¸Ä´óд¡£
ucwords: ½«×Ö·û´®Ã¿¸ö×ÖµÚÒ»¸ö×Öĸ¸Ä´óд¡£
·µ»ØÖµ: ×Ö·û´®
º¯ÊýÖÖÀà: ×ÊÁÏ´¦Àí
ÄÚÈÝ˵Ã÷: ±¾º¯ÊýʹÐèÒªÈÃÊý¾Ý¿â´¦ÀíµÄ×Ö·û´®£¬ÒýºÅµÄ²¿·Ý¼ÓÉÏбÏߣ¬ÒÔ¹©Êý¾Ý¿â²éѯ (query) ÄÜ˳ÀûÔË×÷¡£ÕâЩ»á±»¸ÄµÄ×Ö·û°üÀ¨µ¥ÒýºÅ (')¡¢Ë«ÒýºÅ (")¡¢·´Ð±Ïß backslash (\) ÒÔ¼°¿Õ×Ö·û NUL (the null byte)¡£
²Î¿¼: stripslashes() htmlspecialchars() quotemeta()
·µ»ØÖµ: ×Ö·û´®
º
Ïà¹ØÎĵµ£º
ÕûÀí»î£ºPHPµÄÈÕÆÚʱ¼äº¯Êýdate()
1£¬Äê-ÔÂ-ÈÕ
echo date('Y-m-j');
2007-02-6
echo date('y-n-j');
07-2-6
´óдY±íʾÄêËÄλÊý×Ö£¬¶øСдy±íʾÄêµÄÁ½Î»Êý×Ö£»
Сдm±íʾÔ·ݵÄÊý×Ö(´øÇ°µ¼)£¬¶øСдnÔò±íʾ²»´øÇ°µ¼µÄÔ·ÝÊý×Ö¡£
echo date('Y-M-j');
2007-Feb-6
echo date('Y-m-d');
2007-02-06
´óдM±íʾÔÂ·ÝµÄ ......
PHPÖÐÀàµÄ·½·¨Ò²ºÍC++ͨ¹ý¹Ø¼ü×Ö private
¡¢Public
¡¢ protected
À´¿ØÖƵġ£Ï±ßÊÇÏêϸ˵Ã÷£º
1¡¢private
º¯ÊýǰʹÓùؼü×ÖPrivate±íʾº¯ÊýÊÇ˽Óеģ¬Ë½ÓеÄÒâ˼¹ËÃû˼Ò壬Õë¶Ôµ±Ç°Àà˽ÓУ¬ÎÞÂÛÊÇËûµÄ×ÓÀ໹ÊÇËûµÄʵÀý¶¼ÎÞ·¨·ÃÎÊ¡£
»¹ÊÇÏÈ¿´´úÂ룺
&nbs ......
PayPal ¿ìËÙ¡¢°²È«¶øÓÖ·½±ã£¬ÊÇ¿ç¹ú½»Ò×µÄÊ×Ñ¡ÔÚÏ߸¶¿î·½Ê½¡£ÏÖÔÚPayPal¿ÉÒԺ͹úÄڴ󲿷ÖÐÅÓÿ¨¹ØÁª,¿ÉÒÔʵÏÖ¹úÈ˵Ŀç¹ú½»Ò×ÊÕÖ§¡£
ÉêÇëPayPal×¢²áÍøÖ·£ºhttps://www.paypal.com/
paypal½Ó¿ÚÓëÆäËü½Ó¿ÚÓÐЩ²»Í¬£¬ÉÔ΢¸´ÔÓÒ»µã¡£ ÆäʵÒøÐнӿÚÒ²ËãÊÇÒ»¸öÕ¾µãµÄ²å¼þ¡£
Ëùνpaypal ipn£¨Instant Payment Notification£©£¬¾Í ......
just get a json
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<mce:script src="jquery-1.3.2.min.js" mce_src="jq ......
ÔÚʵ¼Ê¿ª·¢¹ý³Ì»á¾³£»áÓöµ½Ò»Ð©Öظ´µÄ²Ù×÷£¬Èç¹ûÿ´Î¶¼Òª×Ô¼ºÈ¥ÊµÏÖÕâÎÞÒɼÓÖØÁË×Ô¼ºµÄ¹¤×÷Á¿£¬ÏÂÃæ¶ÔһЩ¿ÉÄܾ³£Óõ½µÄÀà×ö¸öÕûÀí£º
ͼ±í¿â
ÏÂÃæµÄÀà¿â¿ÉÒÔÈÃÄãºÜ¼òµ¥¾ÍÄÜ´´½¨¸´ÔÓµÄͼ±íºÍͼƬ¡£µ±È»£¬ËüÃÇÐèÒªGD¿âµÄÖ§³Ö¡£
pChart - Ò»¸ö¿ÉÒÔ´´½¨Í³¼ÆͼµÄ¿â¡£
Libchart - ÕâÒ²ÊÇÒ»¸ö¼òµ¥µÄͳ¼Æͼ¿â¡£
JpGraph - Ò» ......