2014-08-14 15:08 +0000 7311 2014-08-14 15:08 +0000 7311087 Johannes Schlüter Update Git rules show more ...
2014-08-14 15:08 +0000 7311 2014-08-14 15:08 +0000 7311087 Johannes Schlüter Update Git rules show more ...
æ¸ãTipsã¯ã10åã§èãã¦ã5åã§æ¸ããå 容㧠ok ã§ãã æ®æ®µ PHP ã使ã£ã¦ãã¦ã便å©ãªæ©è½ã好ããªãã¯ããã¯ãèå³ã®ãããã¿ãªã©ã ããã£ã¨æ¸ãã¦ä¸ãããï¼ãã£ã¤ãæ¸ãã¦ãè¯ãã§ã:Dï¼ ã£ã¦ãã¨ã§ããã ã¿ããªããã£ã¤ããããªãã§ãããã¼ ãããªä¸ãé¢ç½ã¿ã®å°ãªã話ã§ããããããããé¡ããã¾ãã è²ã ãªè¨èªã§ããã°ã©ãã³ã°ã®çµé¨ãç©ãã§ãäººã æ å ±å¦çç³»ã®å¦ç§ã¨ã£ã¦ããã試é¨åããããã¦ã人ã«ã¯å¸¸èãå¤å ¸çãªãã¿ã§ããâ¦â¦ wordpressããPHPå§ãã人ãªã©ã¯ãç¥ããã«éã£ã¦ãã¾ãããã§ãã®ã§ 0.1+0.8ãã¿æ¸ãã¦ããã¾ãã ã¨ãããã¨ã§æ©éã¯ããã¾ã PHPã§ï¼ã»ãã¨ã¯PHPã§ã£ã¦ããã§ãç¡ãã§ããï¼ <?php if (0.8 === 0.1 + 0.7) { echo "åã"; }else{ echo "éã"; } ãã®ãããªã¹ã¯ãªãããå®è¡ã
phptop Install Debian package with source deb http://deb.bearstech.com <release>-bearstech/ (with release being: lenny, squeeze, wheezy or Jessie) Documentation (man page): PhpTopMan Source now hosted on GitHub : âhttps://github.com/bearstech/phptop phptop prints per query and average metrics comparable to the 'time' program or shell builtin: wallclock, user and system CPU time along with memory a
ä»å¹´ï¼2010å¹´ï¼ã¯ãæ¥æ¬ã§ãæè¡ç³»ã³ãã¥ããã£ã®Advent Calendarãæµè¡ãã¦ãã¾ããã PHPé¢é£ã ã¨CakePHPï¼ææ¥æ¸ãã¾ãï¼ï¼ãSymfonyãOpenPNEãªã©ã¯ããã®ã§ãããPHPåä½ãç¡ãã£ãã®ã§ä½ã£ã¦ã¿ã¾ããã PHP Advent Calendar jp 2010 Advent Calendarã«ã¤ãã¦ã¯ãä¸è¨ãªã³ã¯ã詳ããã§ãããããæ¸ãã¦ããæ®µéã§ã¯ãã¾ã åå æ ãããã®ã§ãã©ãã©ãåå ãã¦ä¸ãããã¿ããªã®ã¡ãã£ã¨ããPHPãã¿ãæ¸ãã¦ããã¾ãããï¼ æè¡ç³»Advent Calendarã«ã¤ã㦠ä»ã® Advent Calendar ã¨ããããã§ãã¾ãååï¼12/2ã«å§ããã®ã§ãDay1ã¯ç©ºå¸ã§ï¼ã®ãã¿ã¯ãæè¿èªåã®ä¸ã§æµè¡ä¸ã®PHPã®ã·ãªã¢ã©ã¤ãºãã¼ã¿ï¼serialize()/unserialize()ï¼ã«ã¤ãã¦ã ã·ãªã¢ã©ã¤ãºãã¼ã¿ã®ãã¼ã¿å Cake
CakePHPã®ã»ãã¥ãªãã£ãã¼ã«ï¼ã¾ã ã®æ¹ã¯ã対å¿ãï¼ï¼ãããunserialize()ã話é¡ã«ãªã£ã¦ãã¾ãã ãã®ã»ãã¥ãªãã£ãã¼ã«ã¯ãå¤é¨ããéä¿¡ãããå¤ããã§ãã¯ããã«unserialize()ãããã¨ãå¼ãéã«ãªã£ã¦ãããå®å ¨ã§ãªãå¤ãunserialize()ãããã¨ã®å±éºæ§ãææããã¦ãã¾ãã ä¸è¨ã¨ã³ããªã§ã¯ãã³ã¼ãã交ãã¦unserialize()ãã__destruct()ãå®è¡ãããéç¨ã解説ããã¦ãã¾ãã PHP5 __destruct() and unserialize() function â TokuLog æ¹ã¡ tokuhiromâs blog 念ã®ããã®è£è¶³ãªã®ã§ãããunserialize()ãã__destruct()ãå¼ã°ããããã§ã¯ããã¾ããã ä¸è¨ã³ã¼ãã¯ãPHP5.3.3ã§å®è¡ãã¦ãã¾ãã unserialize()ããå®è¡ããã颿° unse
ã第26åElasticsearchåå¼·ä¼ãLogstashã¨ã¨ãã«æ¯ãè¿ãããã£ã¡ã¾ã£ãäºä¾ãã£ãç ®
第32åãPHPã»ãã¥ãªãã£æéï¼Month of PHP Sercurityï¼ã§ãPHPã»ãã¥ãªãã£æéãï¼â MOPS - Month of PHP Securityï¼ã«ã¤ãã¦ç°¡åã«ç´¹ä»ãã¾ããã ååãArthur Gerkisæ°ãæç¨¿ããPHPã«ãããã³ã¼ãå®è¡ã解説ããææ¸ãç´¹ä»ãã¾ãããä»åã¯ãã®ç¶ãã§ãã MOPS Submission 07: Our Dynamic PHP - Obvious and not so obvious PHP code injection and evaluation http://www.php-security.org/2010/05/20/mops-submission-07-our-dynamic-php/index.html åçã³ã¼ã åçã³ã¼ãã§ã®ã³ã¼ãå®è¡ã«ã¯ãä»»æã³ã¼ãã®å®è¡ãã®ã¿ã§ãªãã䏿£ãªã³ã¼ãå®è¡ãã¹ããå«ãã¦è°è«ãã¦ã
第32åãPHPã»ãã¥ãªãã£æéï¼Month of PHP Sercurityï¼ã§ãPHPã»ãã¥ãªãã£æéãï¼â MOPS - Month of PHP Securityï¼ã«ã¤ãã¦ç°¡åã«ç´¹ä»ãã¾ããã ä»åãMOPSé¢é£ã®è©±é¡ã§ããMOPSã§ã¯PHPé¢é£ã®ã»ãã¥ãªãã£è£½åãã»ãã¥ãªãã£ç¥èã®è«æãåéãã11ã®è«æãå ¬éããã¾ãããä»åã¯Arthur Gerkisæ°ãæç¨¿ããPHPã«ãããã³ã¼ãå®è¡ã解説ããææ¸ãç´¹ä»ãã¾ãã MOPS Submission 07: Our Dynamic PHP - Obvious and not so obvious PHP code injection and evaluation http://www.php-security.org/2010/05/20/mops-submission-07-our-dynamic-php/index.html ãª
è£è¶³ ãã®è¨äºã¯æ§å¾³ä¸¸æµ©ã®æ¥è¨ããã®è»¢è¼ã§ãï¼å URLãã¢ã¼ã«ã¤ããã¯ã¦ãªããã¯ãã¼ã¯1ãã¯ã¦ãªããã¯ãã¼ã¯2ï¼ã åå¿ã®ãã転è¼ãããã¾ããããã®è¨äºã¯2010å¹´9æ27æ¥ã«å ¬éããããã®ã§ã彿ã®å¾³ä¸¸ã®èãã示ããã®ããåºæ¬çã«å 容ã夿´ããã«ãã®ã¾ã¾è»¢è¼ãããã®ã§ãã è£è¶³çµãã PHPã«ã³ãã¡ã¬ã³ã¹2010ã«ã¦ãæåã³ã¼ãã«èµ·å ããèå¼±æ§ã¨ãã®å¯¾çãã¨ããã¿ã¤ãã«ã§åããã¦ããã ãã¾ããããã¬ã¼ã³ãã¼ã·ã§ã³è³æãPDFå½¢å¼ã¨slideshare.netã§å ¬éãã¦ãã¾ãã æåã³ã¼ãã®ã»ãã¥ãªãã£ã¨ããã¨ããããããã¤ã¡ã¼ã¸ãå¼·ãã¦ãã¹ãã¼ã«ã¼ã®åå¤ç¥ã§ããè´è¡ã®ååã¯ç½®ãã¦ãã¼ãã«ãªãããããã¿ãããªè©±ããã¦ããã®ã§ãããæå¤ã«ããåãããããã£ããçã®å¥½æçãªåå¿ãtwitterçã§ããã ããé©ãã¨å ±ã«åãã§ãã¾ããåæã«PHPã«ã³ãã¡ã¬ã³ã¹ã«æ¥ããããããªæ¹ã¯æèãé«ãã¨ããã®
Lisphp is a Lisp dialect written in PHP. It was created to be embedded in web services or to be distributed within web applications. For that reason, it implements sandbox environment for security issues and multiple environment instances. Requirements It requires PHP 5.2.5 or higher version. When it works on PHP 5.3 or higher, it is integrated with lambda functions well. It also requires SPL whic
è£è¶³ ãã®è¨äºã¯æ§å¾³ä¸¸æµ©ã®æ¥è¨ããã®è»¢è¼ã§ããå URLãã¢ã¼ã«ã¤ããã¯ã¦ãªããã¯ãã¼ã¯1ãã¯ã¦ãªããã¯ãã¼ã¯2ã åå¿ã®ãã転è¼ãããã¾ããããã®è¨äºã¯2010å¹´7æ1æ¥ã«å ¬éããããã®ã§ã彿ã®å¾³ä¸¸ã®èãã示ããã®ããåºæ¬çã«å 容ã夿´ããã«ãã®ã¾ã¾è»¢è¼ãããã®ã§ãã è£è¶³çµãã PHPã®ãã¼ã¿ãã¼ã¹ã»ã¢ã¯ã»ã¹ã»ã©ã¤ãã©ãªPDOã¯ãDBæ¥ç¶æã®æåã¨ã³ã³ã¼ãã£ã³ã°æå®ãã§ããªããããæåã¨ã³ã³ã¼ãã£ã³ã°ã®é¸æã«ãã£ã¦ã¯ããã¬ã¼ã¹ãã«ãã使ã£ã¦ãã¦ãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ãçºçãã¾ãã 追è¨(2011/06/19) ããã«æ¥ã¦æ¥ã«ãã¯ãã追å ããã¯ããã¦ãã¾ããããã®ã¨ã³ããªãæ¸ãã¦ããç¶æ³ãæ¹åãã¦ãã¾ããPHP5.3.6(2011/03/17)ã«ã¦ãPDOã§ããã¼ã¿ãã¼ã¹æ¥ç¶ã®æåã¨ã³ã³ã¼ãã£ã³ã°ãæå®ã§ããããã«ãªãã¾ããããã®çã§ãUNIXçã®PHPã§ã¯è§£æ±ºãã¾ããããWin
â mb_convert_encoding 颿°ã® ISO-2022-JP 㨠JIS ã®éã mb_convert_encoding() 颿°ã§ã¨ã³ã³ã¼ãã£ã³ã°ãæå®ããéã ISO-2022-JP 㨠JIS ã§ã¯æå³ãéãã¨ããã®ã¯ãåç¥ã§ããããï¼ PHP ã®ã½ã¼ã¹ã³ã¼ã (mbfilter_jis.c) ãè¦ã¦ã¿ãã¨ã ããããã®ã¨ã³ã³ã¼ãã£ã³ã°ã対å¿ããæå種ã¯ã次ã®ããã«ãªã£ã¦ãã¾ãã ISO-2022-JP ASCII JIS X 0201 ã©ãã³æå JIS X 0208 JIS ASCII JIS X 0201 ã©ãã³æå JIS X 0201 åè§ã«ã JIS X 0208 JIS X 0212 è¦ããã«ãJIS ã¯åè§ã«ãã«å¯¾å¿ãã¦ãã¾ãããISO-2022-JP ã¯å¯¾å¿ãã¦ãã¾ããã ãã®ãããåè§ã«ãã®ã¡ã¼ã«ãæ±ãã¨ããç¡è¶ãªãã¨ãããããæã«ã¯ã ISO-20
Iâve prepared a pretty comprehensive PHP security checklist thatâs a good scan through. Update: This list was written in 2009 and now it is outdated, incomplete, and you can find more modern sources, such as OWASP. If you have any questions, feel free to leave a comment. The following is also now in a very concise printable form. Basic: Have strong passwords be sure that your âpassword recovery qu
ã»ãã¥ãªãã£ã¯å¤ãã¦æ°ããåé¡ã§ããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ãå¤ãããããåé¡ã§ããç¾å¨ã®åé¡ã§ãã対çã¯æ¯è¼çç°¡åãªã®ã§ããä»ã§ããªããªãã¾ãããã¨è¨ããããä»ã§ãç¾å½¹ã®ã»ãã¥ãªãã£ä¸ã®åé¡ã§ååæ³¨æãå¿ è¦ã§ãããã®é£è¼ã§ãä½åº¦ãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³å¯¾çã«ã¤ãã¦ç°¡åã«åãä¸ãã¦ãã¾ãã 第5åãã¾ã ã¾ã æ®ã£ã¦ããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ 第14åãæ¸ããªãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ ç¬¬15åãæ¸ããªãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ï¼è§£çç·¨ï¼ ç¬¬24åãç¡ããªããªãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ ä»åã¯SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã復ç¿ãã¦ã¿ããã¨æãã¾ãã SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã¨ã¯ SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã¯ããã°ã©ããæå³ããªãSQLæãå®è¡ãããæ»æã§ã2種é¡ã®æ»ææ¹æ³ã«åé¡ã§ãã¾ãã ç´æ¥SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ 鿥SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ ç´æ¥SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ ç´æ¥SQLã¤ã³ã¸ã§ã¯ã·ã§
A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK supportA PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support mPDF is a PHP class which generates PDF files from UTF-8 encoded HTML. It is based on FPDF, HTML2FPDF, and UFPDF, with a number of enhancements. I wrote mPDF to output PDF files 'on-the-fly' from my website, handling different languages. It is
PHP 5.3.0 ãå ¬éãããã®ã¯çµæ§åã§ãããæ¥ä»é¢ä¿ã®å¦çã«ã¤ãã¦ãPHP 5.3.0 ã§ã¯ã©ã¹ã颿°ã®è¿½å ã»å¤æ´ãããã¾ããã®ã§ãæ°ã«ãªã£ãé¨åã ã調ã¹ã¦ã¿ã¾ããã æ°ãã追å ãããã¯ã©ã¹ã¨ã¡ã½ãã PHP 5.3.0 ã§ã¯ã以ä¸ã®ã¯ã©ã¹ã追å ããã¾ããã DateInterval - æ¥ä»ã®ééã表ãã DatePeriod - æ¥ä»ã®æéã表ãã DateTime ã¯ã©ã¹ã«ã¯ã以ä¸ã®ã¡ã½ããã追å ããã¾ããã DateTime::add() - å¹´ææ¥æåç§ã®å¤ã DateTime ãªãã¸ã§ã¯ãã«å ãã DateTime::createFromFormat() - æå®ããæ¸å¼ã§ãã©ã¼ãããããæ°ãã DateTime ãªãã¸ã§ã¯ããè¿ã DateTime::diff() - ãµãã¤ã® DateTime ãªãã¸ã§ã¯ãã®å·®ãè¿ã DateTime::getLastErrors()
Twitter ã§åä¸ããªãªã¼ã¹ããããã¨ãè¨ã£ã¦ãããªããå ¨ç¶åºæ¥ã¦ãã¾ããã§ãããããã£ããã®ã¯ãªã¹ãã¹ãªã®ã§ãå ¬éãã¦ã¿ããã¨ã«ãã¾ãããã³ã¼ããããªãæ±ãã§ãããä¸å¿æå³éãåãã¦ã¾ãã®ã§ããæ£æã¨ãã«ããã¥ã¡ã³ãæ¸ããããªãã¡ã¯ã¿ãªã³ã°ããã¤ããã§ãã åå㯠Smoochy(ããã¼ã¡ã¼) ã§ããç±æ¥ã¯ä½ã£ã¦ãæã«ããè´ãã¦ãã忬é¾ä¸ã®ã¢ã«ãã åããã 以ä¸èª¬æã ã¯ããã« Smoochyã¨ã¯? Smoochy 㯠PHP ã§ä½ããããã³ãã¬ã¼ãã¨ã³ã¸ã³ã§ããSmoochy 㯠Pure HTML ããã³ãã¬ã¼ãã¨ãã¦ä½¿ç¨ãããããæ¬å½ã®æå³ã§ããã¶ã¤ã³ã¨ãã¸ãã¯ã®åé¢ããå®ç¾ãã¦ãã¾ãã ç¬èªã¿ã°ãç¬èªå±æ§ãã¾ãã¦ã {$hogehoge} ã®ãããªãã¼ã¯ã¢ãããå¿ è¦ããã¾ããã ã¤ã³ã¹ãã¼ã« bitbucket.org ãã Smoochy.zip ããã¦ã³ãã¼ããã¾ãã
Many browser based games need to run processes in the background to fulfill special tasks. Think of a chatsever that handles incoming messages and broadcasts them to all connected clients. For such a purpose one cannot rely on user-executed scripts or cronjobs. We need an approach that runs a set of commands all the time as a background process on the server. This is where daemons come in handy. F
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}