Re: String Functions to extract first name initial and first 5 letters of...
As long as first and last name are being submitted separately, it's simple. concat = left(firstname,1) & left(lastname,5) Pseudo-code, of course. ^_^
View ArticleRe: String Functions to extract first name initial and first 5 letters of...
Actually, now that I think about it.. even if first and last name are in the same field or variable, as long as middle name/initial are not being used, you can still do it, simply. fullname = "Reese...
View ArticleRe: String Functions to extract first name initial and first 5 letters of...
This look like it works but was is the code exactly? I cant seem to get everything in the correct place <CFSET fullname = "Dick Van George Jettson">; // It didn't like D y k e.. sigh..<CFSET...
View ArticleRe: What to use for feature testing
Perhaps one of the tools listed at http://www.testdriven.com/tag/acceptance_testing_tools_post_tag would work?
View ArticleSetVariable function considerations
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/Developing/WSc3ff6d0ea7785 9461172e0811cbec22c24-7f48.html
View ArticleRe: SetVariable function considerations
SetVariable() !== using this format. SetVariable() can do more then this format and more suitable to use with 'path' result of structFindKey() / structFindValue()....
View ArticleRe: String Functions to extract first name initial and first 5 letters of...
Part of the problem is I was writing in CFSCRIPT and you're trying tagform.<CFSET fullname = "Dick Van George Jettson"><CFSET thisLen = listLen(fullname," ")> <cfif thisLen eq 2>...
View Articlecffile action="write" not working
Hi all im using the following code <cffile action="write" file="#usersId#.txt" output="tewrasdfasdfasdf asdf a dsfa " nameconflict="OVERWRITE"> however it doesnt throw any errors, and doesnt...
View ArticleRe: cffile action="write" not working
I'm guessing it does create a file, but probably isn't putting it in the location you're expecting. Try specifying the full filepath for it.
View ArticleHelp with Cfftp connection
Hi I am trying to establish a ftp connection using cfftp tag my code is <cfftp connection = "myConnection" username = "abc" password = "xyx" server = "server address" passive = "yes"...
View ArticleRe: Help with Cfftp connection
Place <CFTRY> before the CFFTP tag, and <CFCATCH><CFDUMP var="#cfcatch#"></CFCATCH></CFTRY> after the CFOUTPUT tags. You should see the error message, if there is one. ^_^
View ArticleRe: Internal Server Error 500 on form post
What are the security issues of setting this value higher than 100? Any increased exposure to an attack? Can you limit the increased value to a specific application via a setting in the...
View ArticleRe: Internal Server Error 500 on form post
Hackers and script kiddies use this method of sending huge numbers of post parameters to overwhelm the webserver. When the beta of the Hotfix came out I tested this by having a page that would send...
View ArticleRe: Post ColdFusion Security Hotfix APSB13-10 - error on JSON returned with...
Due to the issues this security fix introduces, I can't certify it for roll-out to production for our systems engineers. I realize Adobe can't release intimate details of the vulnerabilities publicly...
View ArticleRe: Internal Server Error 500 on form post
The risk here is not just sending a lot of random form fields to the server - the server CAN typically handle thousands of form fields without performance issues. The DOS issue arrises when the form...
View Articlecfinput type=datefield and international date format
Hi everybody, I want to use cfinput type=datefield and i can't obtain dates in french format. I have <cfset Locale=setLocale("French (standard)")> in my application.cfm Here my code : <cfinput...
View ArticleRe: cfinput type=datefield and international date format
Not sure if this is going to help, but have you thought of using <select> tags for the days and months and you insert it into the database the way you want it?Give s you more control on how you...
View ArticleConfiguring and using session variables
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859 461172e0811cbec22c24-7c48.html
View Article