• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem w Wiki: Calling CI models from outside script

#1
[eluser]Unknown[/eluser]
I’m using the following instructions for using a CI model outside of CI:
http://codeigniter.com/wiki/Calling_CI_m...de_script/

I tried it in a little test script and it works fine.
However when I use with an URI containing blablabla?id=123

I get the error:
The URI you submitted has disallowed characters.

I can prevent this by allowing = and ? ( set in config file ) but, then I get the error:
404 Page Not Found

It seems that the Wiki suggested approach still causes some parsing of the URI.
Can I avoid this?

I simply just would love to have access to all libraries, helpers, models and config values without having to be under the control of a controller.


Messages In This Thread
Problem w Wiki: Calling CI models from outside script - by El Forum - 07-01-2007, 02:33 PM
Problem w Wiki: Calling CI models from outside script - by El Forum - 07-04-2007, 12:30 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.