Forums / Cotonti / Development / sed_parse & ajax

hmmm

urlkiller
#24148 2010-04-16 21:44
ill give this a try giving me the headaches the last 4 days ;(

Added 33 seconds later:

currenty my includes look like this:

include('../../../../../datas/config.php');
include('../../../../../plugins/dashboard/inc/extconnect.php');
include('../../../../../system/database.mysql.php');
include('../../../../../plugins/dashboard/inc/functions.php');

and the script runs root level

Added 50 seconds later:

exconnect and functions includes most of the system/functions.php because it was somehow interrupting each other... (already definded bla bla bla)

Added 11 minutes later:

hmm seems that i got a major problem here.

the problem is that i dont have my test.php included in the main system.
i only include the system's functions, db connection, config and common so it wont work
because all variables get definded somewhere in the core system.

is there any secure workaround for something like this? or some alternative because the incldued ajax functions are a bit hard to understand without some working insert/edit/update sql sample for me...

maybe you got something on your hdd for me to share? would help me a lot because i got the strange feeling that iam building a sql injection plugin here ;)

i would need a detailed sample on how i

1. add something to the database with ajax (only loading async.)
2. edit "
3. update "
4. get everything parsed to the right #div

5. how to implement this in a plugin (some sort of jquery db <-> chat)

maybe you have some simple plugin with only a few lines of code where i can get the basics on how to implement this the cot way?
URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
This post was edited by urlkiller (2010-04-16 21:59, 14 years ago)