denied access to createobject(com)
i moving client's website host. contact form returns error... host say's createobject(com) disabled on server.
i don't want change hosts. change way contact form works. problem not developer... unless rpgii did 15 years ago...
i think muddle through if pointed in right direction.
part of code is:
// *************************************************************************************
objxmldom = createobject("com", "msxml2.domdocument.4.0");
objxmldom.async = false;
xmlloadsuccess = objxmldom.load("#now_path#");
objnodes = objxmldom.selectnodes("standardform/field");
// *************************************************************************************
is there way create object? need have whole form , code redone?
thanks!
i'm sure others in forum can offer more specific suggestions, cf has native support xml parsing (which looks com object used for). should able use functions xmlparse() , xmlsearch() accomplish same things without having resort com call.
More discussions in ColdFusion
adobe
Comments
Post a Comment