ãä¸éã®é·åã¯å®å®ããè¦ãã¾ãããä¸å½ç§å¦é¢ãçµè«
ãä¸å½ã®å°å¦æ ¡å½èªæç§æ¸ã¯ãå®å®ããèç¼ã§è¦ãã建ç¯ç©ã¨ãã¦ãé·åã¨ãªã©ã³ãã®å¤§å ¤é²ãæãã¦ããããä¸å½æè²çã¯ãã§ã«æç§æ¸ã®è¨è¿°ãä¿®æ£ããæåã示ãã¦ããã
YOMIURI ON-LINE / å½é
åãä¸éã®é·åã¯å®å®ããè¦ãã«ã¯ç´°ãããããããªããã¨æã£ã¦ããã©ãè¦ããã£ã¦èãããã§è¦ãããã ãããªã¨æã£ã¦ã¾ãããã¡ãªã¿ã«ãå¹ ç´ï¼ï¼ã¡ã¼ãã«ã®é·åãèç¼ã§è¦ããã®ã¯ãä¸è¬äººã§é«åº¦ç´ï¼ï¼ãããè¦åã®åªããé£è¡å£«ã§ãç´ï¼ï¼ããã¾ã§ãã¨ãããã¨ã§çµæ§ãªé«ãã¾ã§ã¯è¦ãã模æ§ã
ä¸çä¸é«ãæ©ãé²éã®ï¼ï¼ï¼ã¡ã¼ãã«ãä»åé¨ãã¨ã¼
é«ãï¼ï¼ï¼ã¡ã¼ãã«ãä¸çã§æãé«ãæ©ã¨ããããããªã¨å°ä¸æµ·æ²¿å²¸ãã¤ãªãéè·¯ã®ä¸é¨ã§ãï¼ï¼æ¥ã«ã·ã©ã¯å¤§çµ±é ãåºå¸ãã¦ééå¼ãè¡ãããã
ä¸çä¸é«ãæ©ãé²éã®ï¼ï¼ï¼ã¡ã¼ãã«ãä»åé¨ãã¨ã¼ - asahi.com : å½é
æ±äº¬ã¿ã¯ã¼ãããé«ãæ©ï¼
PHPç¨MVCãã¬ã¼ã ã¯ã¼ã¯ Mojavi
大è¦æ¨¡ãªWebã¢ããªã±ã¼ã·ã§ã³éçºã®å¹çã®åä¸ã«ããç¨ããããã®ããã¬ã¼ã ã¯ã¼ã¯ã®å°å ¥ã§ãããMojaviãã¯æ°ããPHPç¨ãã¬ã¼ã ã¯ã¼ã¯ã®ï¼ã¤ã§ããããã®ä½¿ãåæã®è¯ãããå½å å¤ã§éããªãã¼ã ã¨ãªãã¤ã¤ããã¾ãã第ä¸åç®ã§ã¯ãã¬ã¼ã ã¯ã¼ã¯ã¨ã¯ãªã«ãããã¬ã¼ã ã¯ã¼ã¯ã®å°å ¥ã«ããã©ã®ãããªå¹æãããã®ããMojaviã¨ã¯ä½ãªã®ããã©ããªç¹å¾´ãæ©è½ãæã£ã¦ããã®ããã¨ãã£ãäºãMojaviã¨ãã®ä»ã®ãã¬ã¼ã ã¯ã¼ã¯ã¨ãæ¯è¼ããªãã解説ãã¾ãã
PHPç¨MVCãã¬ã¼ã ã¯ã¼ã¯ Mojavi第1åï¼ãã¬ã¼ã ã¯ã¼ã¯ã¨Mojavi
å 妹ã§ãããªã«éãï¼ããã©ãããã¨ãã©ãã®æ§è½æ¯è¼ã
åãå 妹ã¨ã¯æããªãã»ã©ã®æ§è½å·®ã§ããç¹ã«é¦¬åã¯77åå·®ï¼
é 足æ°å ±: å 妹ã§ãããªã«éãï¼ããã©ãããã¨ãã©ãã®æ§è½æ¯è¼ã
ã¡ãªã¿ã«ããã©ãããããã©ãããåå®ãããããã¨ãã¦ä½ããã¦ãã¾ãããã©ãã®ã1ä¸é¦¬åãã¨ããã®ã¯ã»ã»
ãã©ãããã®129.3馬åããªã¼ãã¼ã¹ããã¯ã§ã¯ãªããã¨â¦
ã¯ã¦ãªç¡çåç100é£
ã¯ã¦ãªç¡çåç100é£ï¼ã¯ã¦ãªãã¤ã¢ãªã¼ - ã¯ã¦ãªç¡çåç100é£ï¼ã¨ãããã¨ã§ãanitpop ã®ããããããããã¾ãã£ã¦ãã¾ããã
Q: ãã¨ã ãæ¸ãããã¨ãããã¾ããï¼
ã¯ã¦ãªãã¤ã¢ãªã¼ - ã¢ã³ãããã
A: è³ã®å¾ããããã骨ã®ã§ã¦ããããããã¡ãã£ã¨
ãªãã ãåãä¼ç»ã®ãããªã®ã§åçªã« id:ryuzi_kambe ããã«ã質å
ãQ: æ¥æ¬ã«ãããå½ä¼ã¨ããæ©é¢ã«ã¤ãã¦ãã·ã¹ãã ä¸æ¬ ãã¦ããã¨æãããæ©è½ãä¸ã¤ããã¦ãã ããã
ã»ãã¨åçªã§ã¹ã¤ãã»ã³ã
å·®å表示ã½ãã Rekisa
ç¹å¾´ãç®æ¡æ¸ããã¦ã¿ãã¨ã次ã®ãããªç¹ãæãããã¾ãã
å·®å表示ã½ãã Rekisa
- ä¸åº¦ã«ä¸ã¤ä»¥ä¸ã®ãã¡ã¤ã«ãæ¯è¼ã§ããã
- å·¦å³ã®ã«ã¼ã½ã«ãé£åããã®ã§ã対å¿ããé¨åãè¦ã¤ããããã
- ä¸ç·ã§æååä½ã®éãã表ç¾ã
- SJIFT_JISãEUC-JPãJISçãæ§ã ãªæåã³ã¼ãã«å¯¾å¿ããèªåå¤å¥ãã¦éãã
- ã³ãã³ãã©ã¤ã³ããéãå ´åã¯ãã¡ã¤ã«ã®æå®ã«æ£è¦è¡¨ç¾ã使ç¨å¯è½ã
ããã¯ä¾¿å©ããã
ãIEã§ããèªããªããã¼ã¸ï¼Windowsã§ãã使ããªãã·ã¹ãã ã¯ä¸é©ãï¼çµç£çã調éã¬ã¤ãã©ã¤ã³ä½æã¸
çµæ¸ç£æ¥çã¯ç¹å®ã®ã½ããã¦ã¨ã¢ã«ä¾åããªããã¨ãç®çã¨ããã·ã¹ãã 調éã¬ã¤ãã©ã¤ã³ã®ä½æã«ä¹ãåºãããç¾å¨ï¼çµæ¸ç£æ¥çã®ã·ã¹ãã ã§ãç¹å®ã®Webãã©ã¦ã¶ãOSãªã©ã§ããé²è¦§ã§ããªããºã¼ã¸ãï¼ä½¿ç¨ã§ããªãé»åã·ã¹ãã ãåå¨ãããï¼ãã®ãããªç¶æ³ã¯å©ç¨è ã«ç¹å®ã®ã½ããã¦ã¨ã¢ã®å©ç¨ãå¼·ãã¦ãããã¨ã«ãªãã
ãIEã§ããèªããªããã¼ã¸ï¼Windowsã§ãã使ããªãã·ã¹ãã ã¯ä¸é©ãï¼çµç£çã調éã¬ã¤ãã©ã¤ã³ä½æ㸠: IT Pro ãã¥ã¼ã¹
ã¬ã¤ãã©ã¤ã³ã«ã¯ï¼å¤é¨ã¨ããã¨ããããã¼ã¿ã¯ç¹å®ãã³ãã¼ç¬èªã®ãã©ã¼ãããã§ã¯ãªãå ¬éãããæ¨æºã«åºã¥ããã¨ï¼Webã³ã³ãã³ãã¯W3C(World Wide Web Consortium)ã®æ¨æºãéµå®ãã¦W3Cã«æºæ ãããã©ã¦ã¶ã§ããã°ã©ãã§ãã¢ã¯ã»ã¹ã§ããããã«ãããã¨ï¼å½æ°ãªã©ã®å©ç¨è ã使ç¨ããã¢ããªã±ã¼ã·ã§ã³ã¯è¤æ°ã®OSããå©ç¨ã§ããããã«ãããã¨ï¼ãªã©ãçãè¾¼ã¾ãããã®ã¨è¦ãããã
ããã§ãªãã£ã¡ããã§ããããªãã¨Flashã¨ãPDFã¨ãå¾®å¦ãªæ°ããã¾ããæ¶ãã¦ãªããªãï¼ï¼âããªããä¸è©±ã«ãªã£ã¦ã¾ãï¼ï¼Â´Ðï½ï¼ï¼
Apache 㧠Action ãå©ç¨ãã mod_rewrite ã®ä»£æ¿
mod_rewrite ã使ããªãç°å¢ã§ã®ãã¹å¤æã®è©±ã
.htaccess ãµã³ãã«Action ãå©ç¨ãã mod_rewrite ã®ä»£æ¿<FilesMatch "^[0-9]{5}$">
ForceType text/html
Action text/html /cgi-bin/read.cgi
</FilesMatch>
ãããã®ã¬ã³ã¿ã«ãµã¼ãã§ã¯ mod_rewrite ã¯ä½¿ããªãã Action ã¯ä½¿ããã¿ããã
æ¯ãè¾¼ãè©æ¬ºï¼å®å¨è¦å¯ç½²ã®é»è©±ãæºå¸¯ã«è¡¨ç¤ºãç¾éè©å
ä¼ç¤¾å¡ãã¯åç½²ã«é»è©±ãããç´ãããã¨åãã£ããåç½²ã«ã¯ä¼ç¤¾å¡ãã¸ã®é話è¨é²ã¯ãªããä½ããã®æ¹æ³ã§é»è©±çªå·ãå½è£ 表示ãããå¯è½æ§ãé«ãã¨ãããçè¦ã¯ãåºç社ã®é販è¨é²ãå¤é¨ã«æµåºãã¦ããã¨ã¿ã¦ããã
MSN-Mainichi INTERACTIVEãäºä»¶
NTT西æ¥æ¬åºå ±å®¤ã¯ãå½è£ 表示ã¯èãããã¨ããªããèããããªããã¨è©±ãã¦ããã
é»è©±çªå·è¡¨ç¤ºã·ã¹ãã ã«æ¬ é¥ãï¼ãããä¸ä»¶ãã£ãããã ãã
ãããâãããã³ã³ã«å¿
åããæ¹æ³ããç¹éããæ¸ç±ãé販ã§è³¼å
¥ãã¦ãã島ç°å¸ã®ç·æ§ä¼ç¤¾å¡ï¼ï¼ï¼ï¼ãã¦ã«âã£ã¦ã®ããããæ
å ±ã ãªãé販ã®è¨é²ãæµãã¦ããã ãããªãé岡çã®ããã³ã³å±ã«è¡ãã£ã¦ã®ãåãã£ã¦ãã£ã¦äºã ã好ããªé»è©±çªå·ã表示ã§ãããã ãããããããã¯ãã¾ãã¾ãã®çªå·ã表示ã§ããæ©è½ãæã«å
¥ãã¦ããªã¹ãããé岡ã®äººããããæã¡ãããã ãããã好ããªçªå·ã表示ã§ããããªãä»ã«ããããã使ãåæãããããã ãã
è¦å¯å
é¨ã®äººã®ç¯è¡ã ã£ãããããããã®ã«ãªã
ãããã®ã¬ã³ã¿ã«ãµã¼ãã§PHP5
SAKURA Internet ã® ã¬ã³ã¿ã«ãµã¼ã ã¯æé¡500åã®ã¹ã¿ã³ãã¼ããã©ã³ä»¥ä¸ã§ telnet ã§ãã°ã¤ã³ãCGIã®ã³ã³ãã¤ã«ã¨ãã§ãããPHP4ãCGIã¢ã¼ãã§åãã¦ããã
ã§ãPHP5ããã¦ã³ãã¼ããã¦ã¤ã³ã¹ãã¼ã«ãèªåã®ã¢ã«ã¦ã³ãã MYACCOUNT ã¨ãã
ãã¦ã³ãã¼ãã¨ãã³ã³ãã¤ã«ã¨ã
åºæ¬çãªãã¨ã¯èªåã§ã(^.^)ãä¸å¿ã
$ ./configure --prefix=$HOME --with-config-file-path=$HOME/www/php5.ini --program-suffix=5 --with-pear=$HOME/share/pear5 --enable-force-cgi-redirect --enable-mbstring=all --enable-mbregex --enable-mbstr-enc-trans --enable-versioning --enable-trans-sid --with-mysql --with-openssl=/usr --with-soap=yes --with-zlib=/usr --with-gd=/usr/local --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-ttf --with-png-dir=/usr --with-curl
ç¾å¨ã®PHP4ã®ç¶æ ããã®ã¾ã¾å¼ãç¶ãã§ãprefix㨠with-config-file-path --program-suffix ãã¤ããæããlibeiconv ã®ã´ã¡ã¼ã¸ã§ã³ãéãã¿ãããªè¦åãã§ããªã¼ãã¾ããããããã¨ã¯ make ã㦠make installããããã®åã« ~/bin ã¨ãä½ããªãã¨è¡ããªãããâ¦äºåã«ããããã¤ã³ã¹ãã¼ã«ãã¦ããã§ã«ç´°ããªç°å¢è¨å®ã¯çµãã¦ããã§ãåæç¶æ ããä½ãå¿ è¦ãã¯ããåããã¾ããã
Apacheã§ä½¿ããããã«
/home/MYACCOUNT/bin/ ã« php ãã§ãã¦ããã¯ããªã®ã§ã
ã§cgi-bin ã«ã³ãã¼ãã¦ã.haccess ã«
Action php5-script /cgi-bin/php5.cgi
AddHandler php5-script .php5
ã追å ãããã§æ¡å¼µåã .php5 ã«ãããã¡ã¤ã«ã¯ php5 ãåãã¿ãããã³ãã¼ããã¨ãã·ã³ããªãã¯ãªã³ã¯ã¨ãã ã¼ãã¨ãã§ä½ã¨ããªããããªæ°ããã¾ããããåããã¾ããããã£ã¨å¹ççãªæ¹æ³ã¨ããã£ããæãã¦ãã ããã
ãã®ãã¡ã³ã³ããã¼ã«ããã«ããå
¥ããããããã«ãªããããããã¨åæ§ã«PHP4ã®ã¢ãããã¼ãã¨ããèªåã§å¯è½ã ãªã