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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Idee

  1. Idee

    Regular expressions

    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...
  2. Idee

    Mysql join query

    I have a table category and content category table Table id parentid catname cattype contentid 1 0 index category 0 2 6 cat1 category 0 3 2 page1 content 1 4 1 page2 content 2 5...
  3. Idee

    Create Excel from colfusion data

    No, I get these values only once I write the values in Excel. My query returns the correct values. Thanks
  4. Idee

    cgi.http_referer

    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
  5. Idee

    Create Excel from colfusion data

    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...
  6. Idee

    cgi.http_referer

    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...
  7. Idee

    cgi.http_referer

    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...
  8. Idee

    Finding unique value using Xpath

    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>...
  9. Idee

    &lt;cfwddx issue

    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...
  10. Idee

    &lt;cfwddx issue

    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...
  11. Idee

    Can I mark a page as printed in database?

    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
  12. Idee

    confirm() in javascript?

    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...
  13. Idee

    confirm() in javascript?

    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?
  14. Idee

    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
  15. Idee

    A simple JOIN query

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

Part and Inventory Search

Back
Top