How does one send an email with an audio file that plays automatically when the user opens the e-mail message? I have received numerous emails from friends that play audio when you open the e...
How can i make a flash form submit upon the user hitting the ENTER key?
Like in a standard HTML form.
Thanks in advance for any answers..
Am giving 250 points.
Hello Experts,
Does anyone know the best way to read an excel file using coldfusion? I need to have the ability to read the FULL DATA contained within the xls file so keep in mind that the...
I need validation javscript which check user enter dd-mmm-yyyy.
thanks
Hello Experts,
I have a form with the following type="file" field:
<input name="vupload" type="file">
I need to be able to clear this field using a Javascript function by pressing a b...
Hi,
I wanted to find out how I can find the difference between two dates... not just the result using DateDiff, but I need to run a query and in my where clause I have:
WHERE thedate bet...
If I do a query of a SQL 'smalldatetime' column, this is the format I get:
DateBegin -> 2004-06-21 08:51:00
Here are the form select fields to get the dates I will compare to it. These ...
Is there a way to export on the fly a csv file created from a sql query with a click of a button using cfm?
Hi,
I have a drop down box with menu items which are dynamically generated. The user selects an item, clicks the submit button and it all works. HOWEVER, many of my clients have requested th...
Hi Guys!
I have installed MS SQL Express on my machine with a Server Administrator ("sa") password. I have also installed ColdFusion MX 7 Developers Edition server on my machine. When I go ...
Hello all,
I am attempting to use Coldfusion session variables within my web portal system. However I am running into a major problem when I attempt to add <cfapplication> tag into the app...
How can I modify the following query to ignore disabled users in Active Directory?
<cfldap action="query"
name="PhoneList"
start="#Portal.LDAPOUStart#"
attributes="cn,sn,give...
I have a form that the user can add or edit criteria. I would like the cursor to be in a certain input field when the focus is on adding or editing. How can I do this?
Thanks.
I'm sure this is remarkably silly but :
I need a way - in coldfusion - to detect is a table (in mysql) exists. If it does NOT exist; then do this.
i.e.
<CIF databasename exists >
do...
In my cold fusion application I have a multiple select list. Once data is select from the multiple select list it is passed to an oracle procedure as an in parameter and used in the IN clause ...
I'm using MySQL. I have a form with an HTML editor in two textarea fields. So the textareas output HTML code, which I want to store in the database. Here's the query i'm using to update the ta...
I want to disable print screen and right click or print the webpage
I can disable the checkboxes but I can't make them read only.
I am able to do this, so I know it works:
<SCRIPT LANGUAGE="JavaScript">
function disableform(staff_access_allowed_add_r...
Is it possible to sort a query after I have made an SQL query?
If I submit this query:
<cfquery datasoure="database" name="test">
SELECT data FROM table
</cfquery>
And I have five...
Hello,
I am trying out this cfreport tag and I am getting this error....
An unexpected error occurred while using the Crystal Engine. Error number 500 ocurred (Not enough memory for oper...
I've spent an hour searching and I can't find a definite answer to my problem.
I have a Coldfusion variable which is a string of SQL that I use to build a recordset. The string & records...
Hi!
I have a form on a CF page that depending on the value of field Layout (a value from 1-4) the user will be taken to a different page. I know it cann be done through javascript and I thi...
Hi,
I have two tables, one is countries and the other is counties.
I need the first drop down box to list all the countries, which it does :) The second one needs to be dynamically po...
<cfloop query="A03">
<cfset THEFIN = A03.PTFIN>
<cfset THEMRN = A03.PTMRN>
<CFPROCESSINGDIRECTIVE SUPPRESSWHITESPACE="No">
<CFMAIL
SUBJECT= "Discharge"
FROM="IntranetAdmin@swgc....
Please tell me how to exploit this query with a SQL injection attack!
I've been reading about such attacks and I want to lock down my code a bit better. But, for some reason I can't get my...