PHPã«ã³ãã¡ã¬ã³ã¹2024 @phpcon DMMã®ãã¤ãã¼ã¡ãã£ã¢ãªã¿ãµã¼ã®å§«arimoãèªãPhalcon arimo (03.Oct.2015 at 14:20, 30 min) joind.in/talk/view/15362 #phpcon2015 #php #phpcon #phpcon2015_3 2015-10-03 14:16:44
ãµã¨Twitterãçºãã¦ã㨠ããã¡ããæ¥æ¬ã®PHP使ã£ã¦ã人krakjoeã®è©±é¡ã«é¢å¿æã£ã¦ãããã¨æããã ãã©ãªãå½¼php-dbgã¨ãcoreã§é å¼µã£ã¦ããããã¡OSSã®åºæ¥äºã¨ãã¦ã²ããã¼ã«èå³æ·±ãã¨æãâ Shuhei Tanuma (@chobi_e) July 10, 2014 ã¨ãè¦çã«é£ã³è¾¼ãã§ããã karkjoeã¤ã¼ã¨ç¢ºãAPCuã¨ãpthreadsæ¸ãã人ã ããªã¼ã£ã¦æãã¤ã¤ä½ã ããã¨æã£ã¦Twitterè¦ã¦ã¿ãã¨ãããªã®ã A leg up, please .... Click to Donate: http://t.co/vT4MczCaAk #gofundmeâ Joe Watkins (@krakjoe) July 9, 2014 ãï¼ã£ã¦äºã§ãªã³ã¯å ãæè¦ http://www.gofundme.com/b9dfcg My name is Joe Watk
æ°è¨èª Hack ã¨ã¯ ããã«ã¡ã¯ãæ°è¨èª Hack ã Facebook ãã OSS ã¨ãã¦ãªãªã¼ã¹ããã¾ãããã 詳細ã¯ä»¥ä¸ã®éãã https://code.facebook.com/posts/264544830379293/hack-a-new-programming-language-for-hhvm/ æ°è¨èª Hack 㯠HHVM åãã®éçºè¨èªã§éçåä»ãè¨èªã®æ§è³ªãåãå ¥ã PHP ã§ã®ç´ æ©ãéçºãå®æ½ããPHPã¨ã®äºææ§ãããã¾ã http://hacklang.org/ http://hhvm.com/ HHVM (HipHop Virtual Machine for PHP) ã¨ã¯ãFacebook ã OSS ã§éçºãã¦ãã PHP ç¨ã® JIT ã³ã³ãã¤ã©ã§ãã HHVM 㯠PHP ã®ã³ã¼ãããã¤ãããã¯ã«ãã¤ããªã³ã¼ãã¸ã¨å¤æãããã¨ã§é«éå®è¡ã®å®ç¾ãç®
PHP ã¨ããã°å°è±¡çãªã®ã¯ãæ´å²çãªçç±ã (âé»æ´å²) ã®æ°ã ã§ããã ãã®ã»ãã·ã§ã³ã§ã¯ãæ®æ®µéã«ããã£ã¦ãã¦ã¹ãããã®å½ãããã¨ã®å°ãªããæ´å²çãªçç±ããã¡ãå¼ãããåºããå¾¹åºè¿½åããé ãæ±ãã¦ãããã¨æãã¾ããRead less
ãã®æ稿㯠12å¹´ åã«å ¬éããã¾ããããã¾ã§ã¯ããç¡å¹ã«ãªã£ãå 容ãå«ãã§ãããããããªããã¨ããäºæ¿ãã ããã Rubyãæ¸ã人ã®å¤§åã¯Rubyã®ä½è ãã¾ã¤ãã¨ã²ãããããã²ãæ°Rubyã®äººããææããã¾ãããã2ã¡ããã®äººã¨ééãã¾ããã§ãããã¨ãç¥ã£ã¦ããã§ãããããPerlãæ¸ã人ã¯ã ãããã©ãªã¼ã»ã¦ã©ã¼ã«ã®ååãç¥ã£ã¦ããã¨æãã®ã§ãããPHPãæ¸ã人ã®å¤§åã¯PHPã®ä½è ãã©ã¹ãã¹ã»ã©ã¼ããæ°ã§ãããã¨ãç¥ããªãã¨æãã¾ãã ããã¯å¤åã«PHPã¨ããã®ãããã ãè²ããªå±¤ã®äººã«ä½¿ããã¦ããçµæã«éããªãã®ã§ããããã®ã©ã¹ãã¹ããã®çºè¨ã¯ã¨ã¹ããªãå¹ãã¦ã¦é¢ç½ããã§ãããã¯ã¦ãªå¿åãã¤ã¢ãªã¼ã§ãããä¼èª¬ã®PHPä½è ãRasmus Lerdorfãåè¨éãèãã¨å«PHPå¨ããã¡ãã§ããªã©ãåèã«ãã¦ã¿ã¦ãã ãããPHPã¯ãæ¯ãã©ã·ã¿ãããªãã®ã§ãããæ¯æ¥ä½¿ããã®ã§ããã©ãã ããä½ã§ã
段ç°ã§ãã æè¿ãPHPããiphone端æ«ã«PUSHéç¥ãéãæ©è½ã®éçºã«æºããã¾ãããPHPã§ããã°ã©ã ãå®è£ ããå ´åããã«ã¹ã¯ã©ããã¨ã©ã¤ãã©ãªã使ç¨ããã±ã¼ã¹ãããã®ã§ãããåã±ã¼ã¹ã§ã®ãã¤ã³ããå¿ããªãããæ¸ãããã¨æãã¾ãã ãªãPUSHéç¥ã®æ¦è¦ã証æ証ã®ä½æã«ã¤ãã¦ã¯çç¥ãã¾ããæ¦è¦ãªã©ã¯ä¸è¨ã®è¨äºããããããããåèã«ãªãã¾ããã Apple Push Notification ãµã¼ãã¹(APNs) ã®å®è£ æ¹æ³ iPhoneããã·ã¥éç¥ã¾ã¨ã ãã«ã¹ã¯ã©ããã®ã±ã¼ã¹ ãã«ã¹ã¯ã©ããã§ããå ´åããã¡ãã®ã¯ã¦ãªã®è¨äºãåèã«ãªãã¾ããã https://irss.hatenablog.com/entry/20111026/1319632548 ãããã試ãã«ä½æããã¨éä¿¡ã¯ã§ããã®ã§ãããä¸è¨ã®æ§ãªå¶ç´ããããã¨ãç¥ãã¾ãã 1ã¤ã®ã¡ãã»ã¼ã¸ã§256ãã¤ããè¶ ãã¦ã¯ãããªã
ã¤ã³ã¿ã¼ãããã§ããã¥ã¼ãã£ã¼ç¾è±ããè¦ã¤ããã®ã§ãããåãã¯å·»ãè¾¼ãæ¥ç¼ãæ¢ããµããªã¸ã®å¿ æ»ã¯éå®ã§å°ãªã㨠[â¦]
[追è¨ï¼] æå¾ã§èª¬æãã¦ããproxy cacheã®è¨å®ãä¿®æ£ãã¾ããã [追è¨ï¼] nginx proxy cacheã§ãã£ãã·ã¥ããªãå ´åã®å¦çãå¤æ´ãã¾ããã [追è¨ï¼] ã¹ãã¼ããã©ã³ãæºå¸¯ã§é²è¦§ããæã«ãã£ãã·ã¥ããªãè¨å®ã追å ãã¾ããã ã¯ãã㫠大ãããªé¡åã§ãããä»åã¯WordPressåä½ãéãããã®ã§ã¯ãªãããã¼ã¿ãã¼ã¹ãWebãµã¼ããªã©ã®èª¿æ´ãã¾ãnginxã®proxy cacheæ©è½ã使ã£ã¦éããã話ã«ãªãã¾ãã ãµã¤ãã®æ§æã«ãã£ã¦ã¯ãproxy cacheã¯ä½¿ããªãããããã¾ãããã使ããªãã¦ã5åç¨åº¦éããããã¨ã¯ã§ãã¾ããã®ã§ãåèã«ãã¦ããã ããã°ã¨æãã¾ãã ä»åè¡ããã¥ã¼ãã³ã°ä¸è¦§ DBãæé©åãããã©ã°ã¤ã³ãå°å ¥ãã APCãå°å ¥ãã¦PHPãéããã MySQLãéããã éãWordPressãã©ã°ã¤ã³ãå¤ã nginx+FastCGIã«ãã W
ããã«ã¡ã¯ãã¡ãã£ã¢éçºã®ããã§ãã ä»åã¯ãPNG ç»åå ¥ãæ¿ãã«ã¤ãã¦ã話ãã¾ãã PNG ã®æ å ±ãæ ¼ç´ã§ããã¿ã° DefineBitsLossless, DefineBitsLossless2 ãå©ç¨åºæ¥ã¾ãã(*1) DefineBitsLossless ã«éæ度æ å ±ãå ããã®ããDefineBitsLossless2 ã§ãã PNG ã®ç¹å¾´ (åºç¤ç¥è) å¯éå§ç¸®ã®ãã©ã¼ãããã§ãã(JPEGã¨éã£ã¦ç»åã®ç´°é¨ãæ½°ãã¾ãã) ãã¬ããå½¢å¼ã¨ãã¥ã«ã¼ã«ã©ã¼å½¢å¼(24bit(*2)ãã«ã«ã©ã¼)ã®ä¸¡æ¹ã«å¯¾å¿ãã¾ãã è²æ¯ããã¯ã»ã«æ¯ã«éæ度(åéæãå¯)ãæå®ã§ãã¾ãã (GIFã¯åéæãæ±ãã¾ãã) ãã¬ããå½¢å¼ ååã® GIF ç·¨ã®èª¬æã¨ä¼¼ã¦ãã¾ããã(GIFã¨ç°ãªã)åéæãæ±ãçºãæ ¼ç´æ¹å¼ãç°ãªãã¾ãã 以ä¸ã®ã¯è¼ªéã®å¤ãéæã§ãé»è²ãå°ãã ãåéæããä¾ã§ãã PLTE ch
ããã«ã¡ã¯ãcakephperã§ããPHP Advent Calendar 2010ã®13æ¥ç®ã®æ å½ã§ãã PHPã使ã£ã¦ããã¨è¦ããããªãæ°ã®é¢æ°ãç®ã«ãã¾ããããã®é¢æ°ãä½ãããããã©ããã£ãå¼æ°ãåãããªãã¦å ¨é¨è¦ããå¿ è¦ã¯ãªãã§ãããã©ããªååã®ãã®ããããè¦ãã¦ããã¨ããããããã¨ããã£ãã¨ãã«ããç¨åº¦æ¨æ¸¬ã§ä½¿ããããªé¢æ°ãçµãããã¨ãããã¾ãã ããããã©ããã£ã¦ãã®é¢æ°ãè¦ããã®ããä¸çªæ¥½ãªæ¹æ³ã¯å¯ãªããè¦ãããã¨ã§ãããï¼ããããã£ã¦ã¿ã¾ãããã :) MacOSã«ã¯sayã³ãã³ãã¨ãããã®ããã£ã¦ãè±èªã®æåãããã¹ããããã¨ãã§ãã¾ããä»åã¯ãã®sayã³ãã³ãã使ã£ã¦é³å£°ãã¡ã¤ã«ãä½æããå¤å¯ã¦ããæã«ãã®é³å£°ãã¡ã¤ã«ãåçããã¦è¦ãããã¨ã«ãã¾ãããããã¶ãæ¯æ¥ããã°æ¥å¹´ã®ä»é ã¯ããããã¨é¢æ°åãåºã¦ããã¯ãï¼ ã¡ãªã¿ã«Windowsã§ãåããããªãã¨ãã§ãã¾ã ã¾ã
ååï¼ã¢ã¡ããã®AtomAPIãåããªãï¼ã®è¨äºããæ°ã«æãã ã¢ã¯ã»ã¹è§£æè¦ã¦ããã£ã±ãåãããã«å°ã£ã¦ã人ãããã¿ããã ã¨ããããã§ãä¹ ãã¶ãã«èª¿ã¹ç´ããã ååã®ã½ã¼ã¹ã¨éãé¨åãããã¯ã¢ããã ãã£ã±ãWSSEèªè¨¼ããã¤ã³ãã§ãããããããéãã°ãã¨ã¯ãããªãã $nonce = sha1(md5(time())); ã©ã³ãã æåçæã ããä½ã§ãããã¨ã¯æããã©ã $pass_digest = base64_encode(pack('H*', sha1($nonce.$created.strtolower(md5($password))))); ãããå ¨ç¶éã ã£ãã 大æåã«ããããããªãã¦å°æåã«ããã ãã¨ã¯getã§è¨äºæ å ±ãåå¾ãããã®çµæããpostããURLãã¨ã£ã¦è¨äºãæããã¿ããã ä»å使ç¨ããã½ã¼ã¹ã <?php require_once 'cURL.php';
å¹´æ«å¹´å§ãããããæ©ã¾ãã¦ãããAtomAPIã«ã¤ãã¦ã®ã¡ã¢ã ãã®ã¾ã¨ãã ï¼ï¼WSSEèªè¨¼ HTTP 㧠X-WSSE ãããã追å ããã«ã¼ãAtomã¨ã³ããã¤ã³ãã«æããã ã¢ã¡ããã®ã«ã¼ãAtomã¨ã³ããã¤ã³ãã¯ï¼ï¼ï¼ï¼å¹´ï¼æç¾å¨ã¯âã§å¤§ä¸å¤«ã http://atomblog.ameba.jp/servlet/_atom/blog 追å ãããããã¯âã®ãããªæãããã¡ãããâãæãã¦ããã¾ããããªãã X-WSSE: UsernameToken Username="xxxxxxx", PasswordDigest="ZCNaK2jrXr4+zsCaYK/YLUxImZU=", Nonce="Uh95NQlviNpJQR1MmML+zq6pFxE=", Created="2005-01-18T03:20:15Z" Usernameãã»ã»ã»ãã¢ã¡ããã§ãã°ã¤ã³ããã¨ãã®IDã Pass
PHP-MySQLéã§ã®æååãã«ã¤ãã¦ã åé¡ç¹ PHPãMySQLã¨ãã«UTF-8ã§æ§æãã¦ããã®ã«ãDBã¨ã®ãã¼ã¿åã渡ãã§æååããèµ·ããï¼ããããä»ã®æåã³ã¼ãã§ãåæ§ï¼ã 対å¿ç ä¸è¨ã©ã¡ããã®å¯¾å¿ãå®æ½ããã ãã®1 DBæ¥ç¶ãã¨ã«ãå¦çå®è¡åã«ãSET NAMES UTF8ãã¨ããã¯ã¨ãªãçºè¡ããã ãã®2 my.cnfãã¡ã¤ã«ã®è¨å®ãä¸è¨ã®ããã«å¤æ´ããã #character-set-server = latin1 // å ã ãããã®ãã³ã¡ã³ãã¢ã¦ã #collation-server = latin1_general_ci // å ä¸ default-character-set=utf8 // æ°ãã追å ãã skip-character-set-client-handshake // å ä¸ å®è¡æã®ç°å¢ Windows 2000 XAMPP 1.6.1 PH
ï¼ã«ã³ãã¼ããã¨ãã(ã·ã³ããªãã¯ãªã³ã¯ãããããªãã£ãã®ã§ã¨ãããã) ï¼PHPãåä½ããããã«ãªãã¾ããã ãã¡ã¤ã«ãç´æ¥ã³ãã¼ãããããã§ãããããã¯ãã¯ãDebianæµã«ã®ã£ã¨ã£ã¦ ã·ã³ããªãã¯ãªã³ã¯ï¼Windowsã§ããã¨ããã®ã·ã§ã¼ãã«ããï¼ãå¼µãã¾ãããã # lnã-sã/etc/apache2/mods-available/php4.confã/etc/apache2/mods-enabled/php4.conf # lnã-sã/etc/apache2/mods-available/php4.loadã/etc/apache2/mods-enabled/php4.load ä½ããåããããªä½æ¥ãç¹°ãè¿ãã®ã¯é¢åãªã®ã§ãã¢ã¸ã¥ã¼ã«ã®ä¸è¦§ãããã·ã³ããªãã¯ãªã³ã¯ ãå¼µã£ãããåé¤ãã¦ããã便å©ãªã³ãã³ããDebianã«ã¯ç¨æããã¦ãã¾ãã âã·ã³ããªãã¯ãªã³ã¯ãåé¤ï¼ã¢ã¸ã¥
This tutorial deals with the various security issues a PHP developer, or any person who writes web applications, might face. The tutorial is aimed towards beginners, but other people may find some of the information the tutorial contains useful as well. Topics such as SQL injections, cross-site scripting, remote file inclusion attacks and session security are covered. The tutorial also covers how
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}