事があります:
.htaccessにこのURL書き換え条件があります:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([-A-Za-z0-9]+)/([A-Za-z0-9\-_]+) app.php?pattern=$1&content=$2 [L]
次に、このURLで完全に機能します。例:
www.mysite.com/pony/mycontent
しかし、私がそのようないくつかのHttp GETパラメーターを追加しようとすると:
www.mysite.com/pony/mycontent?moreparameter=true
var_dump($ _ GET)は私を返します:
array (size=2)
'pattern' => string 'pony' (length=4)
'content' => string 'mycontent' (length=8)
そして、これ以上の値はありません..
他のパラメータを取得する方法は?