Zend Framework - GET parameters are adding to URL

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Zend Framework - GET parameters are adding to URL

Post by fastfingertips »

Hello

I'm using the Zend Framework (Controller) in an application and i have problems with the links listed on page because every parameter attached to the link when is clicked it will be added also to the URL.

for a URL that looks like: http://proiect.localhost/index/index and a link like: product/list/order_by/product_name if i click on the link for 3 times the URL will look:

http://proiect.localhost/product/list/o ... oduct_name

As you may notice the /order_by/product_name appears for 3 times.

My htacces file looks:

Code: Select all

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php

RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1
php_value include_path "d:/proiecte/proiect/library"
Someone may help me please?
Post Reply