フレンドリ URL (.htaccess) で Codeigniter 2.1.3 を使用しています。
コントローラーで:
public function confirm($key) {
var_dump($this->input->get());
}
しかし、リンク _http://site.com/confirm/12345 は「boolean false」を返します。
URL でクエリ文字列を有効にする方法、または $key をフィルタリングする方法は?
私の .htaccess:
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|files|templates)
RewriteRule ^(.*)$ /index.php?/$1 [L]