Monday, January 24, 2005

PATH_INFO による静的なページ

-------path_info.php-----------
$query = getenv ("PATH_INFO");
echo $query;
echo "
";

$var = split ("[/\.]", $query);
print_r ($var);
?>


--------------------------------
.htaccess

ForceType application/x-httpd-php

--------------------------------

引用元

http://blog.su-jine.com/archives/2004/08/_path_info_1.html

No comments: