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

php×Ö·û´®º¯ÊýµÄ´óÈ«

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: ½«»»ÐÐ×Ö·ûת³É
¡£
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+DOM´´½¨XMLÎļþ

´´½¨ÎĵµÀàÐÍÉùÃ÷
Ò»°ã¶øÑÔ£¬XMLÉùÃ÷·ÅÔÚÎĵµ¶¥²¿¡£ÔÚPHPÖÐÉùÃ÷Ê®·Ö¼òµ¥£ºÖ»ÐèʵÀý»¯Ò»¸öDOMÎĵµÀàµÄ¶ÔÏ󲢸³ÓèËüÒ»¸ö°æ±¾ºÅ¡£²é¿´³ÌÐòÇåµ¥A£º
³ÌÐòÇåµ¥ A
<?php
// create doctype
$dom = new DOMDocument("1.0");
// display document in browser as plain text
// display document in browser as plain text ......

Jquery php µã»÷td±ä³Éinput£¬Ð޸ĺóʧȥ½¹µã·¢ËÍÊý¾Ý

html²¿·Ö
<Td><?php echo $row['bigclassid']?></Td>
<td height="25" width="241" class="bigclassname"><?php echo $row['bigclassname']?></a></td>
Js²¿·Ö
<script>
/**//*
* ˵Ã÷£ºÓÃJqueryµÄ·½·¨£¬ÎÞË¢ÐÂÒ³Ãæ£¬±à¼­±í¸ñ
*/
$(function() {
//¸øÒ³ ......

ºÃÓõÄphp¹ýÂËÌØÊâ×Ö·û

function htmldecode($str)
{
if(empty($str)) return;
if($str=="") return $str;
$str=str_replace("&",chr(34),$str);
$str=str_replace(">",">",$str);
$str=str_replace("<","<",$str);
$str=str_replace("&","&",$str);
$str=str_replace(" ",chr(32),$str);
$str=str_replace(" ", ......

PHPÁ¬½ÓSQL Server

ʹÓùýSQL ServerµÄÈËÓ¦¸Ã¶¼Çå³þ£¬SQL Server³£ÓõÄÓÐÁ½ÖÖÈÏÖ¤·½Ê½£¬Ò»ÖÖÊDZ¾µØÏµÍ³ÕË»§ÈÏÖ¤£¨Windows Authentication £©£¬Ò»ÖÖÊÇʹÓÃÓû§ÃûºÍÃÜÂ루SQL Server Authentication £©£¬µÚ¶þÖÖÈÏÖ¤·½Ê½±ØÐëÆôÓÃSQL ServerµÄ»ìºÏģʽ¡£
¡¡¡¡1.Windows AuthenticationÁ¬½Ó²¿·Ö´úÂë¶Î£º
<?php
$serverName = "(local)";
$co ......

php»·¾³´î½¨


µÚÒ»²½£ºÏÂÔØ°²×°³ÌÐò
£¨1£© Apache2.2.4°æÏÂÔØ£¬µØÖ·£ºhttp://httpd.apache.org/download£¬Ñ¡Ôñ
apache_2.2.4-win32-x86-no_ssl.msi£¬´óÔ¼4M¶à¡£
£¨2£©PHP5.2.3°æÏÂÔØ£¬ µØÖ·£ºhttp://www.php.net/downloads.php£¬Ñ¡ÔñWindows BinariesÏÂÃæµÄPHP5.2.3.zip package£¬Ëü¶ÔÓ¦php-5.2.3-Win32.zipÎļþ£¬´óÔ¼9M¶à¡£
µÚ¶þ² ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ