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 SkipVought 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: *

  1. mochalova

    Password protect a pdf

    Hello Folks, I need users to provide a password before they can access a pdf file. How can I prevent someone simply sending out the link to the pdf and accessing it without the password? Any help would be great. Thank you.
  2. mochalova

    cfform.js and Apache

    Hello, I notice my cfform validation works in IIS but not on an Apache box. Does cfform not work on Apache? Thanks
  3. mochalova

    CF with some sql

    Thank you both so very much. Lyndon, you have saved the day one more time. Thanks :-)
  4. mochalova

    CF with some sql

    Hello, This might be for someone who knows CF as well as sql. I have a list coming in from a text box called ID: SOH01123, SOH01146,SOH01141, SOH0118 With these values I have to run a select statement: Select * from my table where (UserID IN ('#form.id#')) When I do this, sql wont work...
  5. mochalova

    Replace or concatenate?

    Lyndon, Thanks a million, worked perfectly.
  6. mochalova

    Replace or concatenate?

    Hello Folks, does anyone know how I can change this SOH01123,SOH01146,SOH01141,SOH01185 to SOH01123','SOH01146','SOH01141','SOH01185 Thanks
  7. mochalova

    quick problem...

    I got it, I used rereplace: <cfset num = rereplace(URL.value, "[^0-9]+", "", "all")> <cfset str = rereplace(URL.value, "[^A-Za-z]+", "", "all")> Thanks
  8. mochalova

    quick problem...

    Thanks for your response r937. I changed <CFSET alphabegins = REFind('A-Za-z',URL.value)> to <CFSET alphabegins = REFind('[A-Z|a-z]',URL.value)> But this line is returning an error: <CFSET num = Left(URL.value,alphabegins-1)> I need to strip out the numbers separately from the letters...
  9. mochalova

    quick problem...

    Please can someone help me out with this... I have a query string in a url that contains both numbers and letters. I need to store the numbers in one session and the letters in another session variable. The numbers come before the letters. The numbers could be 3 to 7 digits long and then...
  10. mochalova

    http_referer

    Thank you for your response. I notified the value of http_referer is blank in IE but shows in firefox. After spending a few minutes on google, I found out http_referer is not reliable as it can be tweaked and some browsers don't show it anyway. So my question is instead of using...
  11. mochalova

    http_referer

    My http-referer is coming up blank in IE when I open a JS popup window I do need the referer value for another portion of code on the new popped up window. Can anyone please let me know if I can use another method apart from cgi.http_referer? Many thanks
  12. mochalova

    Cant tell why this wont work, please help

    Big, huge thanks to you both. It's five consecutive numbers. Thank you Kaht Thank you Tsuji
  13. mochalova

    Cant tell why this wont work, please help

    Could you please tell me what I am missing, I am trying to prevent more than 5 numbers at a time in my textarea This is what I have but it wont work: <script> var testresults function checkcomm(){ var str=document.form.COMMENTS.value var filter=[0-9]:\{5\} if (filter.test(str))...
  14. mochalova

    preventing numbers from a text area

    My present validation is being done via Coldfusion, but I would need JS to handle the textarea validation for me. Thanks <body> <cfform name="form" action="act.cfm" method="post"> <table> <tr> <td> <cfinput type="text" name="FIRST_NAME" value="" message="Please type in your first name."...
  15. mochalova

    preventing numbers from a text area

    Quick question from a JS newbie: I have a form which does some validation ie makes sure you enter first name, last name etc. However I have a textarea which is not required but if the user does fill it out, I need to prevent the user from entering a 5 or more consecutive numbers. So you can...

Part and Inventory Search

Back
Top