CodeIgniter Forums
Passing URL Referer - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Passing URL Referer (/showthread.php?tid=6754)



Passing URL Referer - El Forum - 03-10-2008

[eluser]Unknown[/eluser]
I have a site that I want to track my PPC campaigns from the various search engines however I am running into a few problems. First problem is code igniter not allowing the use of the query string. I turned this on and I can now pass any variable through and add other strings.

Question is, how do I get the value of the other query strings? Such as ?c=controller&m=function&ref=google... If I wanted to check that ref is posted and what the value is how do I do that?

Next thing is, I am able to set a cookie but unable to retrieve its value. I have been unsuccessful in finding any information on this topic. Please give any advice possible.

If there are any other alternatives also, please let me know.


Thanks.


Passing URL Referer - El Forum - 03-12-2008

[eluser]Unknown[/eluser]
Bumping up. I need help with this.

?c=controller&m=function&id=1

doesn't work for me