Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6959947
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:20:22+00:00 2026-05-27T15:20:22+00:00

I recently launched CodeIgniter based website for someone who wishes to be advertised and

  • 0

I recently launched CodeIgniter based website for someone who wishes to be advertised and linked to by affiliates, in E-newsletters and the like. This type of linking generally attaches tracking code on the end, in the form of querystrings for analytics.

blah.com/?utm_source=MailingList&utm_medium=email&utm_campaign=Blah+OCt+II

Of course if you hit that, Code Igniter displays an error about disallowed characters in the URL.

It seems that I can get around this by setting this in the config.php:

$config['uri_protocol'] = "AUTO";

This at least stops the error from being displayed. I only need it to be enabled for the homepage so I read online that you can set this in the controller of choice:

parse_str($_SERVER['QUERY_STRING'],$_GET);

I’m assuming that will then let the vars be parsed so the analytics JS code will pick up on it.

Does that all seem safe and logical?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T15:20:22+00:00Added an answer on May 27, 2026 at 3:20 pm

    Use the latest version of CodeIgniter, 2.1 has no problems with $_GET at all and 2.0.x should have been fine too.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently launched a website I have been developing over the past year -
We recently launched a new Django-powered website, and we are experiencing the oddest bug:
Iam a web-developer and recently i have completed and launched a website (im using
Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's
I recently gave up trying to use Scala in Eclipse (basic stuff like completion
I released an update to one of my apps recently. This update made some
I recently launched a rocket with a barometric altimeter that is accurate to roughly
since I have launched a podcast recently I wanted to analyse our Downloaddata. But
Recently, we discovered odd behavior in some old code. This code has worked for
I have recently launched my application into the Google Play store but unfortunately some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.