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 strongm 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: Idee
  • Order by date
  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...
  16. Idee

    Assigning a value to a form field through javascript

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

    Assigning a value to a form field through javascript

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

    Assigning a value to a form field through javascript

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

    Javascript and Cold fusion

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

    Javascript and Cold fusion

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

Part and Inventory Search

Back
Top