Aptana studio 2.0 +aptana php plugin 1.1
I’ve just updated Aptana Studio from 1.5 to 2.0 only to find out that the spectacular Aptana PHP plugin is not longer supported and its installation has been removed from the Install Additional Features view. However, with some tricks we can still install the old Aptana 1.5.1 in order to use it. Well, in fact we can even install Aptana PHP in Studio 2.0.
First, download Aptana Studio 2.0 and install it.
When you reach the Install Additional Features after installing Aptana, close it, what we need is not here.
from the Help menu, click on Install New Software…
add the Aptana PHP plugin update site. Click on the Add… button and type the url http://update.aptana.com/update/php
Choose the Aptana PHP 1.1 and install it. After restarting Studio, the Aptana PHP plugin will be installed and your php files will be handled by it.
As you can see on the Plugins Manager, Aptana PHP 1.1 is installed (the Duplicate location warning appears because I typed the url again for this tutorial). I’ve you already installed Eclipse PDT, make sure you remove it, or your php files won’t be handled by Aptana PHP.
So that’s it, if you find any issues please let me know.
Ïà¹ØÎĵµ£º
<?php
//µ¥ÀýģʽµÄÀàLock
class
Lock
{
//¾²Ì¬ÊôÐÔ$instance
  ......
php½Ì³Ì µ÷ÓÃmssql´æ´¢¹ý³ÌʵÀýÓ¦ÓÃ
ÓÃmssql_initÓï¾äÓÃÓÚ³õʼ»¯´æ´¢¹ý³Ì£¬¶øºóµ÷ÓÃmssql_bindÓï¾äÖ¸¶¨´æ´¢¹ý³Ì²ÎÊý£¬×îºóµ÷ÓÃmssql_executeÖ´Ðд洢¹ý³Ì¡£
*/
//Á¬½ÓmssqlÊý¾Ý¿â½Ì³Ì·þÎñÆ÷
$link = mssql_connect("127.0.0.1", "sa", "sa") or die("Can't connect sql server");
mssql_sele ......
$thunder = ("Thunder://QUFodHRwOi8vNjAuMTkxLjYwLjEwODo4MDgwL3hweGlhemFpL0RlZXBpbl9HaG9zdF9YUF9WMTguMC5pc29aWg==");
//½âÃÜËü
$thunder = trim($thunder,'Thunder://');
$c_thunder = base64_decode($thunder);
$c_thunder = ltrim(rtrim($c_thunder,'ZZ'),'AA');
//out [url]http://60.191.60.108:8080/xpxi ......
»¨Á˼¸¸öСʱµÄʱ¼äÑо¿Ò»Ï£¬·¢ÏÖ»¹ÊDZȽϺÃÓõģ¡
smarty¿ÉÒԺܺõؽ«Âß¼Óë±íÏÖ·ÖÀ룬ºǫ́³ÌÐòÔ±ºÍwebǰ¶Ë¹¤³Ìʦ¸÷¸É¸÷µÄÊ£¬²»ÏñÒÔǰ£¬php´úÂëºÍhtml´úÂëÔÓºÏÔÚÒ»Æð£¬ºǫ́³ÌÐòÔ±ºÍǰ¶ËǰÐòÔ±Ò»Æð·¢ì£¬ÒòΪËûÃǵļ¼ÄÜÒªÇó¸ü¸ßÁË£¬¶¼±ØÐëÒª¶®¶Ô·½µÄÓïÑÔ£¬ºÇºÇ£¡
ÍøÉϽéÉܵÄÅäÖÃÌ«¶ßàÂÁË£¬Ò²ÐíÊÇÀϰ汾µÄÔµ¹ÊµÄ£¬ÒòΪÎÒ ......
ÎÞÂÛÄÄÖÖÓïÑÔ£¬×Ö·û´®²Ù×÷¶¼ÊÇÒ»¸öÖØÒªµÄ»ù´¡£¬ÍùÍùÊǼòµ¥¶øÖØÒª¡£ÕýÏñÈË˵»°Ò»Ñù£¬Ò»°ãÓÐÐÎÌ壨ͼÐνçÃæ£©£¬ÓÐÓïÑÔ£¨print ×Ö·û´®£¿£©£¬ÏÔÈ»×Ö·û´®ÄܽâÊ͸ü¶àµÄ¶«Î÷¡£PHPÌṩÁË´óÁ¿µÄ×Ö·û´®²Ù×÷º¯Êý£¬¹¦ÄÜÇ¿´ó£¬Ê¹ÓÃÒ²±È½Ï¼òµ¥£¬ÏêϸÇë²Î¿´ http://cn2.php.net/manual/zh/ref.strings.php . ÒÔϽ«¼òµ¥µÄ½²ÊöËüµÄ¹¦ÄܺÍÌØÐ ......