Welcome Guest, Not a member yet? Register   Sign In
how to query from outside the system folder but inside the ci root folder
#1

[eluser]chazy (aldever calvo)[/eluser]
is it possible for ci to query from a file outside the application folder but inside the root folder?

i am goin to use this for my flash.swf...

the first thing i did is that i have a controller that will point to the view file which contains the flash embedded file..

from this view.. it will load the swf which upon clicking submit button of flash, will retrieve the value from the flash to php... however, it is impossible to redirect it to a controller since it will eliminate the requested value due to ci's routing style..

now, my option is, after submit button from flash, it will redirect to the folder outside the application but inside the root...

now, my problem is would it be possible to reuse database.php so that after i get the values form flash, i can store it in the database?

here is the arrangement inside my root ci

ci

->script
->sim
->swf
->loadflashvar.php //gets the variable values from flash

->system
->applications
->model
->view
->folder
->flashshow.php //contains the embedded flash
->controller




Theme © iAndrew 2016 - Forum software by © MyBB