다음 URL이 작품을 좋아 :Zend/Apache mod_rewrite ... 무엇이 잘못 되었나요?
http://localhost/index/index/
을하지만, 그들은 이런 식으로 들어올 때 나는 _GET의 $ 변수로 드릴 수 없습니다 :
http://localhost/index/index/test/1234/test2/4321
- 부트
나는 그러나 수 , _get $ 변수를 다음과 같이 변경합니다.
http://localhost/index.php?test=1234&test2=4321
http://localhost/index?test=1234&test2=4321
http://localhost/index/index?test=1234&test2=4321
/index/index/var/val 방식을 사용할 때 변수가 나에게 나타나지 않는 이유는 무엇입니까?
아래에서 내 .htaccess 파일을 찾을 수 있습니다.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
답변입니다 ... Zend_Filter_Input에 _GET $을 (를) 사용하면서 내가 offtrack을 가졌다 고 생각합니다. – MichaelICE