Quantcast
Channel: Adobe Community: Message List - ColdFusion
Browsing all 21760 articles
Browse latest View live

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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

SetVariable 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 Article


Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: What to use for feature testing

I'll give it a look, thanks!

View Article


cffile 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 Article


Re: 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 Article

Re: cffile action="write" not working

your absolutely right  thanks

View Article

Help 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article


Re: 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 Article

Re: 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 Article


cfinput 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 Article

Re: 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 Article

Configuring 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
Browsing all 21760 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>