[PHP-users 12292] Re: ¥Õ¥¡¥¤¥ë̾¿èåîî󠛤¤Τ褦¤Ê¤â¤Î¤ÎÂåÆþ¤Î

fumiyaKitamura php-users@php.gr.jp
Sun, 22 Dec 2002 17:22:07 +0900


¥­¥¿¥à¥é¤Ç¤¹¡£

¤ª»È¤¤¤ÎPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤¬È½¤é¤Ê¤¤¤Î¤Ç4.2.2¤Ç...

--¸Æ¤Ó½Ð¤·
http://www.hoge.jp/hoge.php?page=abc

--¥×¥í¥°¥é¥à
<?php
if($_GET['page'] == 'abc'){
	echo 'abc';
}else{
	echo 'else';
}
?>

--½ÐÎÏ·ë²Ì
abc


¤Ç¡¢¤É¤¦¤Ç¤·¤ç¤¦¡©




On 2002.12.22, at 16:32 Asia/Tokyo, poq wrote:

> ¤¹¤´¤¯Á°¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦¤Î¤Ç¤¹¤¬¡¢cookie¤Î·ï¡¢
> ºÇ¾®¸Â¤Î¤â¤Î¤Ë¤¹¤ë¤È¾å¼ê¤¯¹Ô¤¤¤­¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹<(_ _)>
>
> ¼ÁÌä¤Ê¤Î¤Ç¤¹¤¬¡¢hogehoge.php
> ¤È¤¤¤¦php¥×¥í¥°¥é¥à¤¬¤¢¤ë¤È¤·¤Þ¤¹¡£¤½¤ì¤Ë¡¢Î㤨¤Ðhogehoge.php?abc
> ¤È¤¹¤ë¤È¡¢hogehoge.php¤ÎÊÑ¿ôabc¤¬¸Æ¤Ó½Ð¤µ¤ì¤Æ¡¢
> ¤½¤ÎÃͤΤè¤Ã¤Æɽ¼¨¤¬¿¶¤êʬ¤±¤é¤ì¤ë¤È¤¤¤¦¤è¤¦¤Ê¤â¤Î¤òºî¤ê¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
> //----hogehoge.php----------
> <?php
> if ($abc) {print("abc¤Î»þ¤Î²èÌÌ");}
> else{ print("¤½¤Î¤è¤¦¤Ê¥Ú¡¼¥¸¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó");}
> ?>
> //-----------------------
> ¤Î½ñ¤­Êý¤À¤È¡Ö¤½¤Î¤è¤¦¤Ê¥Ú¡¼¥¸¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó¡×¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¡¢Æ°¤­¤Þ¤»¤ó¡Ä
> ¤Ê¤Î¤Ç¡¢Àµµ¬É½¸½¤¬É¬ÍפʤΤ«¤È»×¤¤¡¢
> //----hogehoge.php----------
> <?php
> if ($abc == abc) {print("abc¤Î»þ¤Î²èÌÌ");}
> if else { print("¤½¤Î¤è¤¦¤Ê¥Ú¡¼¥¸¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó");}
> ?>
> //-----------------------
> ¤³¤ì¤Ç¤â¾å¼ê¤¯¹Ô¤­¤Þ¤»¤ó¡¢¡¢
> ¤É¤Î¤è¤¦¤Ë¤·¤¿¤éget ¥á¥½¥Ã¥É¤ÎÃͤòÆɤ߹þ¤á¡¢Æ°ºî¤¹¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
> ¶µ¤¨¤Æ失¤Ê¤¤¤Ç¤·¤ç¤¦¤« m(_ _)m

=================<F.Kitamura>=================
E-Mail  : fkit@sys238.jp
---
The greatest enemy of man is alcohol.
But, The Bible tells us to love our enemy.
==============================================