Jump to content

Jahren

Members
  • Posts

    66
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Jahren's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. xajax is availlable here : http://www.xajax-project.org/en/download/ I use their test files. so i use : <?php include './xajax/xajax_core/xajax.inc.php'; $xajax = new xajax(); $rqstAdd =& $xajax->register(XAJAX_FUNCTION, 'doAdd'); $rqstReset =& $xajax->register(XAJAX_FUNCTION, 'doReset'); // set the parameters $rqstAdd->setParameter(0, XAJAX_JS_VALUE, 39); $rqstAdd->setParameter(1, XAJAX_JS_VALUE, 571); $xajax->processRequest(); function doAdd($a, $b) { $response = new xajaxResponse(); $response->assign('answer', 'innerHTML', $a + $b); $response->assign('reset', 'style.display', 'block'); return $response; } function doReset() { $response = new xajaxResponse(); $response->clear('answer', 'innerHTML'); $response->assign('reset', 'style.display', 'none'); return $response; } I cant even create the Ajax object. gives me the weird error. I tried their support forums but its kinda dead :S thanks for your time
  2. I'm using the unedited files from xajax. I dont change anything, I just try to use their own test files and it doesn't let me.
  3. mysql_real_escape_string() adds slashes to those characters to escape, you need not to worry about an email, it wont inject sql code
  4. hi! I'm trying to use xajax on my server but I get a weird error : Fatal error: Call to undefined function phpdebug_print_backtrace() in /home/client/public_html/Bidup/admin/xajax/xajax_core/plugin_layer/xajaxEventPlugin.inc.php on line 1 for some reason it believes the <?php tag is part of the debug+print call. code : <?php debug_print_backtrace(); The exact same files works perfectly on my local webserver. I don't know what to do, please help xD
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.