Welcome Guest, Not a member yet? Register   Sign In
Problem using the URL suffix
#1

[eluser]Emkay[/eluser]
I want to add a .html suffix to all my pages. However, CI messes up my links when I am using GET variables.

For example,

Code:
<?php echo anchor('messages/compose?to='.$username,'Contact Seller'); ?>

produces

Code:
http://www.website.com/messages/compose?to=username.html

instead of

Code:
http://www.website.com/messages/compose.html?to=username

Any way around this? This way I cannot retrieve the username properly because a suffix .html is added to it. This means the system will try send a message to "username.html" instead of "username"
#2

[eluser]toopay[/eluser]
How about...sending "to" variable via $_POST instead $_GET ?




Theme © iAndrew 2016 - Forum software by © MyBB