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

php¼Ç¼3Ô·Ý

¡¾2010/3/8¡¿
1:
array_pop($array());//phpÖÐɾ³ýÊý×é×îºóÒ»¸öÔªËØ
array_shift($array());//ɾ³ýµÚÒ»¸öÔªËØ
2:
java1.5ÉÏдµÄ³ÌÐò£¬È÷ÅÔÚjava1.4µÄ·þÎñÆ÷ÉÏÔËÐУ¬ÈçºÎ°ì£¬ÉÏÍøËÑË÷ÁËһϣ¬
¿ÉÒÔÏÂÒ»¸ö×Ö½ÚÂëת»»¹¤¾ß£¬½«1.5±àÒëµÄ*.classÎļþת»»³É1.4µÄ,ÓÐÒ»¸ö½ÐRetrotranslatorµÄ¹¤¾ß¡£
How to use Retrotranslator from the command line?
   1. Download and unzip the binary distribution file Retrotranslator-n.n.n-bin.zip, where n.n.n is the latest Retrotranslator release number.
   2. Compile your classes with Java 5.0 or Java 6 and put them into some directory, e.g. myclasses.
   3. Go to the unzipped directory and execute:
      java -jar retrotranslator-transformer-n.n.n.jar -srcdir myclasses
      Use appropriate options to verify the result and for troubleshooting, e.g. -verify, -classpath, -advanced, and -smart.
   4. Put retrotranslator-runtime-n.n.n.jar and backport-util-concurrent-n.n.jar into the classpath of your application if you use the Java 5.0 API.
   5. Run or debug the application as usual on Java 1.4.
The command line syntax:
java -jar retrotranslator-transformer-n.n.n.jar <options>
or
java -cp retrotranslator-transformer-n.n.n.jar net.sf.retrotranslator.transformer.Retrotranslator <options>
Ïêϸ²½Öè
ÔÚjava1.4»·¾³Ï£º
a£º
½«Ð´ºÃµÄ1.5»·¾³ÏµÄclassesÎļþ·Åµ½Ò»Æð£¬±ÈÈçĿ¼1.5classesÏ¡£
b:
È»ºó½øÈëÏà¹ØÄ¿Â¼£¬Ð½¨Ò»¸ö1.4classesµÄĿ¼£¬È»ºóÈ·ÈÏĿ¼ÎÞÎóºó£¬Ö´ÐÐÏÂÌõÃüÁ
java -jar retrotranslator-transformer-1.2.9.jar -srcdir 1.5classes -destdir 1.4classes
c:
ÔÚ 1.4»·¾³Ï´òjar°ü
½øÈëµ½1.4classesÎļþ¼ÐÏ£¬Ö´ÐÐÏÂÁÐÃüÁ
jar cvfm weqiqiserver.jar manifest.mf *
d£º
°ÑÏÂÔØµÄRetrotranslator-1.2.9-binÎļþ¼ÐϵÄ
backport-util-concurrent-3.1.jar
backport-util-concurrent-java12-3.1.jar
retrotranslator-runtime13-1.2.9.jar
retrotranslator-runtime-1.2.9.jar
retrotranslator-transformer-1.2.9.jar
·Åµ½java1.4°æ±¾µÄ$JAVA_HOME/jre/lib/extĿ¼ÏÂ


Ïà¹ØÎĵµ£º

PHP ÔÚÊý¾Ý¿âÖд´½¨±í

Á¬½Óµ½Êý¾Ý¿âÖ®ºó£¬¼´¿ÉÔÚÊý¾Ý¿âÖд´½¨ËùÐèÒªµÄ±í¡£ÔÚÊý¾Ý¿âÖд´½¨±í£¬¿ÉÒÔͨ¹ýÊÇÓÃPHPµÄMSSQL¿âº¯ÊýÖеÄmssql_query()º¯ÊýÖ´ÐÐÏàÓ¦µÄ½¨±íSQLÓï¾äÀ´ÊµÏÖ¡£º¯Êýmssql_query()ÊÇרÃÅÓÃÓÚÖ´ÐÐSQLÓï¾äµÄº¯Êý£¬¸Ãº¯Êý´úÂë¸ñʽ£º
mixed  mssql_query(string query[,resource link_identifier[,int batch_size]])
¸Ãº¯Êý²ÎÊ ......

ÖÆ×÷PHP°²×°³ÌÐòµÄÔ­ÀíºÍ²½Öèѧϰ±Ê¼Ç

Ò»¡¢
1.¼ì²éĿ¼»òÎļþµÄȨÏÞ
2.Ð޸ĻòÌí¼ÓÅäÖÃÎļþ
3.¼ì²éÅäÖÃÎļþµÄÕýÈ·ÐÔ
4.µ¼ÈëÊý¾Ý¿â
5.Ëø¶¨»òɾ³ý°²×°Îļþ
Ô­Àí£º
Æäʵphp³ÌÐòµÄ°²×°Ô­Àí¾ÍÊǽ«Êý¾Ý¿â½á¹¹ÄÚÈݵ¼Èëµ½ÏàÓ¦µÄÊý¾Ý¿âÖУ¬´ÓÕâ¸ö¹ý³ÌÖÐÖØÐ·ÖÅäÁ¬½ÓÊý¾Ý¿âµÄ²ÎÊýºÍÎļþ£¬ÎªÁ˱£Ö¤²»±»±ðÈ˶ñÒâÓð²×°Îļþ£¬µ±°²×°Íê³ÉºóÐèÒªÐ޸ݲװÎļþ¡£
¶þ¡¢ÖÆ×÷° ......

Ãâ·ÑPHP¿ªÔ´CMSÍøÕ¾³ÌÐò

10¿î»ùÓÚPHPµÄÃâ·ÑCMS£¬ÏëҪͨ¹ýPHP+MYSQL´î½¨ÍøÕ¾µÄÅóÓÑ¿ÉÒÔ´ÓÖвο¼¡£
1. Joomla!
Joomla! µÄǰÉíÊÇMamboµÄ¿ªÔ´Âë¼Æ»®£¬
2. Drupal
Ö±±ÆJoomla!µÄ¿ªÔ´CMS£¬²»¹ýÃ²ËÆÓû§Èº»¹ÊÇûÓÐJoomla!¶à¡£
3. Mambo
ÆóÒµÀàCMSÍøÕ¾¿ÉÒÔÑ¡Ôñ£¬¸öÈË»¹ÊÇÓÃJoomla ºÃÁË¡£
4. DEDECMS
ÕâËã¹úÄÚ×îÖªÃû¡¢Ê¹ÓÃÈËÊý×î¶àµÄCMSÁ˰ɡ£ÎÞÊýÀ ......

ʹÓÃdomºÍphp³ÌÐòÁ½ÖÖ·½Ê½Éú³Éxml

$doc = new DOMDocument('1.0', 'UTF-8');
$doc->formatOutput = true;
$root = $doc->createElement('document'); //´´½¨¸ù
$doc->appendChild($root); //¼ÓÈë¸ù
//webSite
$webSite = $doc->createElement('webSite');
$webSite->appendchild($doc ......

PHP³£ÓõÄһЩÕýÔò±í´ïʽ

Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [\u4e00-\u9fa5]
ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ¨ºº×ÖÔÚÄÚ)£º[^\x00-\xff]
ÆÀ×¢£º¿ÉÒÔÓÃÀ´¼ÆËã×Ö·û´®µÄ³¤¶È£¨Ò»¸öË«×Ö½Ú×Ö·û³¤¶È¼Æ2£¬ASCII×Ö·û¼Æ1£©
Æ¥Åä¿Õ°×ÐеÄÕýÔò±í´ïʽ£º\n\s*\r
ÆÀ×¢£º¿ÉÒÔÓÃÀ´É¾³ý¿Õ°×ÐÐ
Æ¥ÅäHTML±ê¼ÇµÄÕýÔò±í´ïʽ£º ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ