How can I create code that will validate a file upload field? The validation will just check to make sure that text has been entered in the file upload field.
Ryan ;-]
Is there any way that I can emulate the CF Administrator, and have a DSN create automatically from my application? For example, when a user runs install.cfm I want the template to create a DSN for a database already loaded on the server.
Ryan ;-]
Hey lucid, I tried e-mailing you, but the e-mail bounced. Anyway, you initially helped to create this code, so I figured that you would be the best to come to in this time of trouble. I have been trying for weeks to get this code to function in Netscape 4.7 and 6, but the code just gets...
i'm posting this again because i haven't received a response and this is perhaps the most imporant project of my life. please help.
i'm in a huge crunch. i've created this entire project for free for my school, and i have to present it to the faculty, and now all of these errors are coming up...
I have the following code (which used to work, but the page has since changed):
function validation_function2() {
crap = document.frm.upFile;
arr = crap.split(".");
reg =...
How can I make a CFIF statement with the following conditions:
Number greater than 3 AND less than 13.
I tried:
<CFIF grade_level GT 3 LT 13>
But I don't think it works.
Thanks in advance.
Ryan ;-]
How can I have ColdFusion create "n" upload boxes and make the necessary changes to the action page. Basically I want a user to be able to select how many files they want to upload from a form and have the form and action pages change accordingly. I'm sure this will require a loop...
Sorry for the barrage of posts, but this will be the last. I have 15 seperate file upload boxes. On the action page I want the FILE.SERVERFILE for only the first upload box (named upFile1) to be saved. How will simply referring to FILE.SERVERFILE know which uploaded file I want the attribute...
Is there anyway to create something that can upload several files at one time? For example, I want to make users of my system to be able to upload an HTML file and the images to go along with it. Short of making numerous file upload boxes, is there any other way to go about doing it?
Ryan ;-]
How can I place the current date, with time into a variable? It has to look something like this:
0406010908
Which represents the month, the day, the year, hour, and minutes (MMDDYYHHMM).
Thanks
Ryan ;-]
I have a list of 7 blocks of text, with elements that are outputted from a query. When I run the template, it lists them vertically. I want to be able to output them in a table, with three in each row, and one below. Here is the page:
http://lynbrook.k12.ny.us/cfm/schools/contact.cfm
Ryan ;-]
I have a text file with a list of e-mail addresses that I want to be deleted from a table. How can I create a query that searches the entire database Email and deletes any records in the Email column based on that text file.
Ryan ;-]
Can someone explain to me exactly what XML is? I know what it is capable of, but I have seen one adaptation of it. For example, people say that if something is coded in XML, it can go from HTML to MS Word, etc. Can anyone make me an example that shows XML's capabilities and advantages...
Has anyone encountered a problem where DreamWeaver replaces one pound sign with two? For example, in ColdFusion templates, DW will changed the background color to ##FFFFFF, etc. It is becoming exasperating. I was using UltraDev, and now I've switched to 4--just waiting to see if it'll happen...
Does anyone know where I can get CHEAP and RELIABLE (reliability is very important) ColdFusion hosting? I have signed up with CFM-Resources, but I guess the saying "you get what you pay for" really applies. Their server has been down since I signed up several days ago. It would also...
I get the following error:
The encrypted template G:\INETPUB\WWWROOT\CFM\STUDENT_RESOURCES\GATSBY\ASSIGNMENTS\LOGIN.CFM contains invalid CFML syntax.
I have encrypted the template, but I know that prior to encrypting it, it was working perfectly. Could it be the version that I encoded it (2)...
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.