Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: danarashad
  • Content: Threads
  • Order by date
  1. danarashad

    cffile

    Is there away to remove special characters from a file thats being uploaded. I can do this to strip out invalid characters, to insert into the database. #REReplace(form.image1, "[^0-9a-zA-Z_]", "", "ALL")# But I am having trouble stripping the invalid characters out of the upload.
  2. danarashad

    Document Upload

    I am having some trouble, I am uploading an image. Then I do an insert into a DB, and do a select to grab the last insert. But for some reason I'll get an error. I don't get the error all of the time, but I do get it enough where its becoming a problem. I am using cflock, because I was told...
  3. danarashad

    form data has expired

    help please I'll get this error at the most inconvient times. How can I get rid of these errors. "The form data has expired, Please reload this page in your browser". Someone told me to set a time out. that doesnt work. sometimes i get the error and sometimes i dont.
  4. danarashad

    CFForm

    <cfform format="flash" onSubmit="return fieldcheck()" height="600" width="500"> Can anyone explain to me why this doesnt work. It works if i remove the onsubmit? Thanks for you help
  5. danarashad

    REReplace

    I am trying to create line breaks in some output, using the rereplace tag. Here's what I have. <cfoutput>#REReplace(sum.activities,"\n","<br>","all")#</cfoutput> Here's what I would like the output to read! Running Jumping Fishing Football Track Where it puts a line break when the user...
  6. danarashad

    Printing

    I am having a problem. When users print there forms. The information in the text boxes aren't printing. Is there a way to print all of the info from a text box. The tag in question is! <input type="text" name="address" size="17" maxlength="50"> What I typed into the box is the following. I have...
  7. danarashad

    cfloop help

    Why doesn't this work. <cfoutput query="depts"> <cfset deptname = #Dept# > <input name="dept" type="radio" value="#deptname#" <cfif #session.auth.dept# IS #deptname#> checked="checked" </cfif> <cfloop query="catDepts">#deptname# <cfif #deptname# IS NOT #catDepts.catsall#> disabled="disabled"...
  8. danarashad

    Upload Document

    Can anyone help I keep getting errors when I try to upload a document. Here's what I have. <cfset thisDocPath='D:\documents'> <CFFILE action="upload" filefield="docDocument" destination="#thisDocPath#" nameconflict="MakeUnique"> I keept getting this error. The form field specified in the...
  9. danarashad

    Coldfusion datasource

    How can you setup a OLE DB datasource. I am using CF 5, I am upgrading to CF 8 and SQL DB in the future. And I keep getting too many connections error with access. I saw a posting to connect your DB via OLE DB. But it fails, everytime I do so. Can someone help. Thanks
  10. danarashad

    Database

    I am using Coldfusion 5, and everynow and again, when a user visits a site. they will get the message. ODBC Error Code = 08004 (Data source rejected establishment of connection) [Microsoft][ODBC Microsoft Access Driver] Too many client tasks. The error occurred while processing an element...
  11. danarashad

    Coldfusion Database problem

    I am using CF 5, and everynow and again, when a user visits a site. they will get the message. ODBC Error Code = 08004 (Data source rejected establishment of connection) [Microsoft][ODBC Microsoft Access Driver] Too many client tasks. The error occurred while processing an element with a...
  12. danarashad

    Trim

    Is there anyway to do a trim off extra character. Example I an unknown variable i.e question10. I never know what that value is so I am using QUERY_STRING variable. And that tells me if it's, question1, question10 or whatever. But since its a url variable, it adds the = after the question10...
  13. danarashad

    Image resize

    Does anyone know of an image resize for CF 7. Thanks
  14. danarashad

    functions

    IS this possible. <cfset get = querymerge#c#(getNo,getStu,"ID","Flag_ID,FlagNote")> querymerge is a function, the c is a counter. I am trying to call different functions ie. querymerg1, querymerg2. i keep getting errors. I can output the word querymerge#c#, and it will output querymerge1...
  15. danarashad

    page refresh

    I am new to Ajax, as a matter of fact I know nothing about ajax. I was wondering if there was a way to auto refresh a page, after a certain time length. Sort of like what those fantasy football pages do. Where it refreshes but the user never notices.
  16. danarashad

    Page Refresh

    I am new to Ajax, as a matter of fact I know nothing about ajax. I was wondering if there was a way to auto refresh a page, after a certain time length. Sort of like what those fantasy football pages do. Where it refreshes but the user never notices.
  17. danarashad

    CF Folder Creation Problem

    I am having a problem with CF. When user go to delete a folder in CF, i get an error. Because a file named _vti_cnf gets created. How do I not create that file. Its something that gets created autmatically. I don't create the file it somehow gets created by itself. Users upload images, and...
  18. danarashad

    insert help???

    I am having trouble inserting into an access database. <cfquery name="insert" datasource="#datasource#"> INSERT INTO noteLog (userID, note) VALUES (#form.userID#,'#form.note#') </cfquery> the note field is a memo datatype. how do you insert into a memo datatype field. i've taking out the...
  19. danarashad

    &lt;cfexecute&gt;

    I trying to use cfexecute to do a batch copy of files, from one folder to another. <cfexecute name="D:\copy2.bat" timeout="60"></cfexecute> the copy2.bat files has a variable in it. copy D:\folder1\folder2\userdir\#empID#\*.pdf D:\ the #empID# is a variable, i do a cfset before the...
  20. danarashad

    CFFile

    I dont know if this is possible, but I would like some help. I am trying to copy files from my server to another companies server, via coldfusion. I have no problem copying files locally, but when I try to copy via network, no dice. <cffile action="copy" source="D:\folder1\file.pdf"...

Part and Inventory Search

Back
Top