hi all,
we develop and host CF webSites, but sometimes a strange thing appear. When somebody try to see one of sites, the browser only display a white page and nothing happens until it shows a timeout error. The cpu and the memory of the server is ok and it shows no error.
What's wrong with the...
hi all,
I work on a company that build web pages using coldfusion. We have problems on the cf server. Sometimes the usage of the cpu climb to 100% when a page is loaded from one of our site. When the server is rebooted, all works fine again.
We have cf server 5.0 on win2000.
Please help
if u want to remove spaces in a variable, u must use the Trim function. There's also LTrim and RTrim to remove blanks from the left or from the right. The Trim function remove all the blanks in the variable.
The syntax is : #Trim(yourVariable)#
maybe that may help u
the path for the cffile delete is wrong. u must put the path of the server (i.e. c:\inetpub\wwwroot\yourSite\... ). That's why it doesn't delete the files and so it can't delete the folder. And u must put the path server in the cfdirectory delete too.
To change the format of your uploaded image, u can use the <cfx_pwimageproc> tag. With this, u can resize the image as u want and things like that.
<cfx_pwimageproc infile="c:\test\images\#MyImage#" set_width="65" set_height="45">
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.