Category: Programming

URL Encoding HTML- HTML URL Encode – HTML5

URL Encoding URL encoding is the practice of translating unprintable characters or characters with special meaning within URLs to a representation that is unambiguous and universally accepted by web browsers and servers. These characters include: ASCII control characters – Unprintable characters typically used for output control. Character ranges 00-1F hex (0-31 decimal) and 7F (127

Web Storage – HTML5 – Web Storage in HTML5

Web Storage Web Storage – HTML5 introduces two mechanisms, similar to HTTP session cookies, for storing structured data on the client side and to overcome following drawbacks. Cookies are included with every HTTP request, thereby slowing down your web application by transmitting the same data. are included with every HTTP request, thereby sending data unencrypted

Movie Explorer – Use the Movie Explorer to view

The Movie Explorer Movie Explorer helps you arrange, locate, and edit media. With its hierarchical tree structure and provides information about the organization and flow of a document. 1. Select Window > Movie Explorer: If necessary, enlarge to view the tree structure within the pane and filtering buttons display or hide information. 2. Click the

Pagination In Coldfusion – Example of Coldfusion Pagination

Pagination In Coldfusion Pagination In Coldfusion – This is simple pagination implement in ColdFusion using calculation. Find first and last record or page by page records. <cfquery name="records" datasource="demoDB"> SELECT Fname,LastName FROM campaign </cfquery> <div style="display:inline-block; position:relative; width:644px; margin-top:-30px;"> <cfif IsDefined("nmax")> <cfset max = nmax> <cfelseif IsDefined("url.max")> <cfset max = url.max> <cfelse> <cfset max =

Call cfc inside another cfc using Create Object with cfscript

call cfc function inside another cfc using create object with cfscript in coldfusion with parameters. CFC <!---One.cfc---> <cfcomponent> <cffunction name="generateRandom" output="true" access="public"> <cfargument name="srange" type="string" /> <cfargument name="Erange" type="string" /> <cfreturn RandRange(arguments.srange,arguments.Erange)> </cffunction> </cfcomponent> <!---Two.cfc---> <cfcomponent> <cfset OneCFCComponent = createObject("component", "one") /> <cffunction name="TwoCFCFunction" access="remote" returntype="any"> <cfargument name="Start" required="yes" type="string"> <cfargument name="End" required="no" type="string"> <cfset

Nexmo Voicemail Integration With Coldfusion cfhttp

Nexmo Voicemail Integration With Coldfusion. First Call XML Nexmo API using Coldfusion cfhttp Nexmo Voicemail Integration With Coldfusion, Call XML API using cfhttp. <cfhttp url="" method="post" result="myData"> <cfhttpparam type="formfield" name="api_key" value="xxxxxx" > <cfhttpparam type="formfield" name="api_secret" value="xxxxxx"> <cfhttpparam type="formfield" name="to" value="918800xxxxxx"> <cfhttpparam type="formfield" name="machine_detection" value="true"> <cfhttpparam type="URL" name="answer_url" value=""> <cfhttpparam type="formfield" name="status_url" value=""> <cfhttpparam type="formfield"

Create CSV File By Calling Coldfusion function With CreateObjet

Create CSV File by calling cffunction using createObject, append, java.lang.StringBuffer, deserializejson, cfheader, Content-Disposition and cfcontent. Create CSV File By Calling Coldfusion function <cfset CFCObject = createObject("component", "one") /> <cfset csvstr = createObject("java","java.lang.StringBuffer")> <cfset csvstr.append("FirstName,LastName,Registered Date" & Chr(13) & Chr(10) )> <cfset arrayData = deserializejson(CFCObject.getUsersDetails()).aaData> <cfloop index = "arrayIndex" array = "#arrayData#"> <cfset csvstr.append(arrayIndex[1] & ",")>

HTMLCodeFormat() and HTMLEditFormat() – Difference

HTMLCodeFormat() and HTMLEditFormat() HTMLCodeFormat(): HTMLCodeFormat Inserts opening pre and closing pre tag at the beginning and end of the string. HTMLEditFormat(): HTMLEditFormat do not inserts opening pre and closing pre tag at the beginning and end of the string. NOTE: 1. Both convert characters with special meanings in HTML to HTML character entities such as