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.
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...
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...
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...
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...
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
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))...
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."...
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...
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.