I have a regular expression in which I want to select all links where there is index.cfm but want to ignore all where there is index.cfm/accounts or index.cfm/tax
I don't know how to negate an expression for index.cfm/accounts or index.cfm/tax but the other part of expression is like that...
Thanks Wullie
Do you mean that site which is showing in my report is a spider and it has entered a fake referrer and if I click on that referrer, it will open a site which this spider is trying to advertise?
Is there any way to find out if the referrer is a genuine one or a fake one?
Thanks
I am trying to output a query to Excel by using <cfcontent type='application/vnd.ms-excel'>
I output the data in html <table and <td etc. It outputs the content nicely except the number 8111111111111111 becomes 8.11111E+15 and if I try to format it in Excel, it formats it but becomes...
Thanks to both of you. xtendscott, thanks for sharing about logfile spamming.
I just got 3 hits from that site and that too just on one date. Do you still think it could be logfile spamming? Another thing, I am not using log file to generate my stats rather I have a database for report purposes...
I generate the report on referers and hits to my site. Recently I got a referrer in my report from a site which is not a good site and no way it could have a link to my site.
As far as I understand, a site only becomes a referrer because its URL was set in the cgi.http_referer variable...
Hi
The structure of my XML is
<Sales>
<sale>
<items>
<item>
<id>1</id>
<saleid>5</saleid>
</item>
<item>
<id>2</id>
<saleid>5</saleid>
</item>
</items>
</sale>
<sale>
<items>
<item>...
Thanks for your reply.
I have a problem here.. After submitting the form to the page, I can not create the session variables as I have no control over the page the form is submitted to. So I have to create the session variable in the same file where my form is.
In my code, I have a javascript...
Hi
I have select box and onchange of this selectbox, in javascript function to which I pass optionid, I run
<cfwddx action="cfml2js" input="#Getvalue#" toplevelvariable="options">
Getvalue is a query which selects all the options and using wddxRecordset_findValue in javascript, I get the...
Hi all
In my website, I provide a button for users to print a page. Is there any way that if the page is printed, it should mark in database as 'Printed'?
Thanks
Thanks Tsuji for your response but I am not able to understand what you are trying to say.
In my code I say
if(confirm('Are you sure you want to do it?'))
{
formname.submit()
}
When I run this programe, it alerts a dialog box with Ok and Cancel button and Ok is the default button. What I want...
Thanks for all your responses...
I have an alert where accidently I don't want it to say Ok. Only if someone chooses to say 'OK', it should submit.
Is anyone sure that this is not possible with confirm in javascript?
Hi
I am using confirm(Are you sure you wnat to do it?) in javascript. The dialog box in confirm shows two buttons - Ok and cancel. By default, the focus is on Ok. I want to change the default focus to Cancel. How can I do it?
Thanks
My SQL query is
SELECT distinct a.optionid,b.id,optionname
FROM Price a
Right JOIN Option_Type b
ON a.optionid = b.id
WHERE a.HId = 3
Price table stores the options for the HId 3 along with the price. In Option_Type table, I have options but no main HId field.
If I have added price for...
Thanks cLFlaVA for the prompt reply.
My problem here is that I can not use another form field. I have to use the same form field as that is the field which gets processed in all next files and I am not in a position to change all those files.
Do you think I should be able to reassign the...
Thanks for your replies.
I have just one select box with the name optionsSize and no text box. What I am trying to do is changing the value passed for optionsSize if user gives his own sizes for width and height and using this width and height, I assign new value for optionsSize through...
Hi all
I have a form with a select box with size options in it and there is another select box for the user to say if he wants to his own custom sizes. If user selects yes from this second select box, two text fields should be displayed for the user to input his own values of width and height...
Thanks Wullie
Thats exactly what is happening. But I can not alert before I submit as I have to run a query based on the form values and then based on this query, I have to alert.
Yes, this is right that putting saving process in a seperate file should solve my problem but isn't there any...
Hi all
I submit a form and after form is submitted, check for the record in database with the given id and if exist, alerts the user using javascript and only if user confirms .. save the information in database else just go to a different location.
But what is happening- is that it alerts the...
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.