This package can be used to edit data from sql databases using ajax to avoid page reloading. Ajax is used to create more interactive applications. The information we need here are file name, type and size, using the information here too we double check for valid file size and type. Using xajax, you can asynchronously call php functions and update the content of your your webpage without reloading the page. To let xajax know which functions are to be called, they must first be registered. If you have an account, sign in now to post with your account. While it could be used for that purpose, the task may not be a file upload, instead it could be crunching larged data sets from a database or reading large xml input etc. The demo page demonstrates the php code examples for file upload and download and php directory functions to show files in select menu. About using xajax in drupal by ethanzhong on 14 may 2006 at 09.
The following example will demonstrate how a web page can communicate with a web server while a user type characters in an input field. You can follow any responses to this entry through the rss 2. Here we have a little xajax script that displays a loading image while a task is happening on the server. Download the class and place it into your module directory. It allows for asynchronous communication between clientside applications and serverside applications that are. So i wrote a xajax module that you call to include the functionality only once and that looks for hooks in all loaded modules to register functions.