[eluser]Ajaxboy[/eluser]
Can you also give an example how you used site_url()?
Before we get too complicate, please notice I said this:
Quote:you can always use built in function base_url() or create a similar functions, or a constant that can hold the relative path to a url so it’s easier to place around.
If any of these functions don't work for you, just create your own, is pretty much what I said.
Should make this so much easier for you. I am unable to test any code at this moment since my computer environment crashed and I am on a temporary computer for the time being. But basically I am suggesting don't get too complicate just make a function , at least for now until you figure something out.