Welcome Guest, Not a member yet? Register   Sign In
Sorry but a new question about url variable.
#1

[eluser]Unknown[/eluser]
Hi,
Im new to both CI and working with PHP-frameworks with the MVC-model.

I have a site where I use an external payment-processor, that answers back to a url at my side with some url-variable. I get the errors:
The URI you submitted has disallowed characters or
Page not find, depending of what different settings i try after reading the forums.

The url I get back look like:
http://www.mysite.com/acc/verify?OkURL=h...ntqj&Fee=0

My controller is acc and the function verify.

I hope somebody can help me.
#2

[eluser]mohsin917[/eluser]
Did you enable query string in config.php file??

$config['enable_query_strings'] = true;

you can find solution here

Read user guid...
#3

[eluser]xeroblast[/eluser]
the disallowed characters in your URI is the slash ( / ) value in OkURL variable...
#4

[eluser]Unknown[/eluser]
As I wrote before I have read userguide and also tried different suggestions here on the forum. Guess I will end up make a standalone php-page that not gets to index.php, to fix the issue. Ugly but possible.
#5

[eluser]xeroblast[/eluser]
i already fix this kind of problem by making a new helper for this one...

i include a file for the helper and use it like this...

before passing the data (which is the URL) use this: urltitle(data)

after receiving the data (which is the $_GET data) use this: rev_urltitle(data)




Theme © iAndrew 2016 - Forum software by © MyBB