|  | Posted by Erwin Moller on 08/23/06 10:43 
R wrote:
 > Hi All,
 >
 > I'm using HTML_AJAX and it's really superb solution, but unfortunetly
 > my scripts must take 'm' parameter (framework uses it as:
 > /url/?m=moduleID).
 >
 > HTML_AJAX uses 'm' for method name, and all request become:
 >
 > /url/?m=moduleID&otherstuff=....&c=ajaxaclass&m=ajaxmethod
 >
 > so value of $_GET['m'] in PHP becomes ajaxmethod
 > framework takes m=ajaxmethod as module ID and fatal errors occure
 >
 > I've saved the output of /ajax.php?client=all (HTML_AJAX_Server)
 >  - but it's over 3 000 lines of very sophisticated JavaScript
 >
 > I've searched through it to find something related to 'm=' but failed
 >
 > Maybe someone know to change default HTML_AJAX parameter name for
 > method?
 >
 > thanks in advance for any help
 > best regards R
 
 Hi,
 
 I don't know HTML_AJAX, but if it is very sophisticated and difficult to
 understand, why not change m=23 to muduleid=23, and change the name in the
 receiving serverside script form m to moduleid?
 Probably only 1 point where it says something like:
 $moduleid=$_GET["m"];
 to
 $moduleid=$_GET["moduleid"];
 
 But I don't know any of the packages you use, so maybe that is difficult
 too. :-)
 
 Regards,
 Erwin Moller
  Navigation: [Reply to this message] |