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 Mike Lewis 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
  • Order by date
  1. danarashad

    cffile

    Yeah thats what I am doing. I didn't know if there was a way to do it all at once.
  2. 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.
  3. danarashad

    Document Upload

    Thanks I got that to work.
  4. danarashad

    Document Upload

    Shouldn't this catch the error. if it doesnt insert shouldn't this catch send me to espn. <cftry> <cfset variables.newUUID=createUUID()> <cfquery datasource="#application.myDSN#"> INSERT INTO gallery (name,image1,UUID) VALUES ('#form.Name#','#form.image1#','#variables.newUUID#') </cfquery>...
  5. danarashad

    Document Upload

    Thats what I thought also. But it keeps going as if it got inserted. Ok here's the code I am using. <cfset variables.newUUID=createUUID()> <cfquery datasource="#application.myDSN#"> INSERT INTO gallery (name,image1,UUID) VALUES ('#form.Name#','#form.image1#','#variables.newUUID#') </cfquery>...
  6. danarashad

    Document Upload

    No I am not inserting inside a loop. The value of #getnewID.newID# is nothing. What I am doing after I insert I am querying the db, to get the last ID. I am querying using your UUID statement. Its not inserting into the database. Keep in mind it does work, but after the 5th insert it...
  7. danarashad

    Document Upload

    Thanks for all of your help.
  8. danarashad

    Document Upload

    By break I mean I get the error. An error occurred while evaluating the expression: #getimage.image1# I've tried all of the examples you gave. And after I do the 5th insert. I get the error. I've stopped using the cfinsert and went to using a sql insert ie: INSERT INTO mytable. and i still...
  9. danarashad

    Document Upload

    No worries about the version thing, I am using your brain for help, and if knowing what version I have will help, then by all means ask. We are going to switch to 8, but as of now, I have tons of users asking why, does this keeping happening. So I am trying to appease the masses.
  10. danarashad

    Document Upload

    I've tried <cftransaction> <cfinsert ...> <cfquery name="getNewID" datasource="table"> SELECT @@IDENTITY as NewID </cfquery> </cftransaction> And it works for about 6 inserts then it breaks? I'll give the UUID a try.
  11. danarashad

    Document Upload

    I am using cf 5, I am going to upgrade to 8, but at this time I can not. I think using an older version might be one of the problems. I am using microsoft access 2003. I"ll give this a shot.
  12. danarashad

    Document Upload

    Here's the error message I get. Error Diagnostic Information An error occurred while evaluating the expression: #getimage.image1# Error resolving parameter GETIMAGE.IMAGE1 ColdFusion was unable to determine the value of the parameter. This problem is very likely due to the fact that either: I...
  13. 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...
  14. danarashad

    Displaying a remote image from url stored in my db

    you would have to use a Rereplace(); or simply make the changes on your site. then write a sql script to replace http:// with nothing.
  15. 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.
  16. danarashad

    CFForm

    No I am using cf 7. It doesnt throw an error, nothing loads. It just brings up a blank page. I got around it, but I was wondering why it wasnt working.
  17. 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
  18. danarashad

    REReplace

    Thanks I figured it out like 5 mintues later. Thanks though.
  19. 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...
  20. 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...

Part and Inventory Search

Back
Top