The server I'm working on has the 'CreateObject' function disabled.  I
was told to use cfinvoke instead.  What would the following code look
like, then, if wrapped in a cfinvoke statement?:

<cfscript>
imgObj=CreateObject("component", "tmt_img");
imgObj.resize(#cffile.serverFile#, "#form.id#.jpg", 250);
</cfscript>

Many thanks,
Les

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324022
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to