Welcome Guest, Not a member yet? Register   Sign In
specific controllers allowing query strings
#23

[eluser]Yorkshire Pudding[/eluser]
nice idea, but the crypt that the payment gateway sends back includes '/' and '=' etc. I tried a similar thing earlier using a file outside of CI to redirect. I used urlencode() / urldecode() and then the header() function but couldn't get it to work. I'm pretty sure that if someone can figure how to route this url. (Essentially just stripping away everything after and including the question mark)

Code:
http://localhost/mysite/index.php/home/order_success?crypt=DycAHF1HGiA1WRU9VFFGA2tkOChhYTYREgsKGyogQAQbdFpVAgd8HFsEMGlRSUBxbnRDOgIMDWswd0lpWlJJSH8RGhlGQD1lOX1XCx0FBUAqBgsMU1wiZUYGQWhJXlFhMSdOOUdBJjcEXwI5HQ0eW3k1DwsSZjs7FVMCKw8RHRt/FhY5R0EmFhkLRWlQU0kDb2QvLmF2GGpLcjAMKEQ/eg1iLTB3dgUdMhAwPA0WFEYqEAsLR1k6ZTh5JQg7Kyd8HQcqXmJaPSw1WRU9OwECQDU2UzZ9YR4KOWA4HCwgV3YPcDwdQUAiLEt4Pgw5Nj5jEAYrPBRyJz4Cdxg8VFRXBh0RCxtHRysLAlcFLRpZP3oNASY9cX4LHFB3HDccCgUIaHdASAI=

to:

Code:
http://localhost/mysite/index.php/home/order_success
then we can use $hook['pre_system'] to define a constant with $_SERVER['QUERY_STRING'] as xwero suggested earlier?


Messages In This Thread
specific controllers allowing query strings - by El Forum - 03-09-2009, 11:11 AM
specific controllers allowing query strings - by El Forum - 03-09-2009, 01:55 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 04:38 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:00 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:10 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:18 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:38 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:45 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 05:45 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 06:45 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 06:54 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 07:34 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 07:39 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 07:43 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 10:42 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 10:56 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 11:32 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 11:41 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 11:48 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 11:49 AM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:12 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:29 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:29 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:33 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:34 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:37 PM
specific controllers allowing query strings - by El Forum - 03-10-2009, 12:52 PM
specific controllers allowing query strings - by El Forum - 03-11-2009, 01:45 AM
specific controllers allowing query strings - by El Forum - 03-11-2009, 03:59 AM
specific controllers allowing query strings - by El Forum - 03-12-2009, 03:00 AM
specific controllers allowing query strings - by El Forum - 03-12-2009, 03:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB