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

[eluser]drewbee[/eluser]
I can't remember if the stock htaccess can tell the difference between actual files, and files that do not exist but get routed through the CI controller.

Currently any file that does literally exist does not get processing through CI for me. I had this situation come up with paypal and did something to the tea of:

/paypal.php
Code:
header("Location: /paypal/process_transaction/" . $_GET['crypt']);

That is a down and dirty sample of what I did, as I didn't do any data cleansing, but I hope you get the idea.

Also if anyone else has a better way, let me know. Two http requests are going to happen for each transaction this way.

you would simply post the transaction to example.com/paypal.php?crypt=df908as7dfd

edit:

I actually created a directory at the root called 'bootstraps' and this is where I place these type of situation files.


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