I have been asked to looked as some code within this page is below. I have no 
idea what its doing however I was told its needed but keeps giving me errors. 
is your opinion why does this exists?

<cfparam name="referer_itemID" default="0">
<cfparam name="referer_popupID" default="0">
<cfif len(cgi.HTTP_REFERER)>
        <!--- Item ID --->
        <cfset begin_itemID = find("item_id:",cgi.HTTP_REFERER) + 8 />
        <cfif begin_itemID>
                <cfset end_itemID = find("/",cgi.HTTP_REFERER,begin_itemID) />
                <cfset referer_itemID = 
mid(cgi.HTTP_REFERER,begin_itemID,end_itemID-begin_itemID) />
        </cfif> 

    
        <!--- MP ID --->        
        <cfset begin_mpID = find("mp_id:",cgi.HTTP_REFERER) + 6 />
        <cfif begin_mpID>
                <cfset end_mpID = find("/",cgi.HTTP_REFERER,begin_mpID) />
                <cfset referer_popupID = 
mid(cgi.HTTP_REFERER,begin_mpID,end_mpID-begin_mpID) />
        </cfif>
        
        <cfif not isNumeric(referer_itemID)>
                <cfset referer_itemID = 0 />
        </cfif>
        <cfif not isNumeric(referer_popupID)>
                <cfset referer_popupID = 0 />
        </cfif>
        
        <cfparam name="livewireLaunch" default="0">
        
        <cfif livewireLaunch>
                <cfset referer_itemID = -1 />
        </cfif>
</cfif> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:330531
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to