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 Chriss Miller 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 philcha

  1. philcha

    PHP Fusebox 3: 'failed opening ..fbx_Switch.php'

    I want to convert an existing ColdFusion Fusebox 3 design to PHP. (Not Fusebox 4 because I've seen reports of problems running that on shared hosting) So I set up FB 3 in the root directory of a new virtual host on my development kit. Then as a starter I tried a cut-down version of a standard...
  2. philcha

    CFCOOKIE: trouble with DOMAIN & PATH

    I'm afraid I never found a solution. It seems CFCOOKIE doesn't like domains which don't have full names (e.g. http://wwww.mydomain.com)
  3. philcha

    CFCOOKIE: trouble with DOMAIN & PATH

    I'm afaraid I never found a solution. It seems CFCOOKIE doesn't like domains which don't have full names (e.g. http://wwww.mydomain.com)
  4. philcha

    How to check if browser supports createContextualFragment

    Jason, I read your reply re DOM 3 Load & Save Module, and have done a little research on the web. The most recent reference I could find which had a date was Feb 2002, and that referred to DOM 3 Load & Save Module as a work in progress. Is it an offical standard yet? If not, when is it...
  5. philcha

    How to check if browser supports createContextualFragment

    Starway, In principle I'd like to agree with you. But what % of the market are DOM-compliant browsers which do not support createContextualFragment? Can you point me at some browser names (with platforms if not Windows) and some stats? I'm sure you've noticed that when even the so-called...
  6. philcha

    How to check if browser supports createContextualFragment

    Hi, everybody Got an answer at http://www.siteexperts.com/forums/viewConverse.asp?d_id=10195 - if (typeof window.Range != 'undefined' && typeof Range.prototype.createContextualFragment == 'function') { // your code here } This gives the right results in Netscape 6 (DOM with...
  7. philcha

    How to check if browser supports createContextualFragment

    KevinAr18, I'll try webxpertz.net I searched the web ("w3c dom innerhtml") and found only 1 page which threw some light on why W3C didn't adopt something like innerHTML: * innerHTML is HTML specific, while the DOM is meant to support any language (e.g. XML) and any environment( not...
  8. philcha

    Can cfelse and cfoutput redirect to a page?

    I'd use CFINCLUDE rather than CFLOCATION to select the new page: * if you forget to code cflocation ADDTOKEN=NO, cflocation shows CFID and CFTOKEN as URL paramaters in the browser's address bar. This is known security hazard. * CFLOCATION clobbers cookies, session variables, etc.
  9. philcha

    CFQUERY Advance Where'ing, or catching on output?

    In programming terms the easy way is to use the Verity search engine. The cost is disk space - Verity is a fully-inverted list system and will read the DB and build its own index containing every word except the "noise" words (and, the, etc.). A search returns the keys of the...
  10. philcha

    Session Timing and Locking Out

    Don't create the shopping cart array in your CFAPPLICATION tag, create it when you add the first item to it. Maintain a per-session cookie (no EXPIRES, so the browser won't save it). Store in this whether the cart existed last time you output a page. When you get the incoming message, check...
  11. philcha

    SQL INSERT or CFINSERT

    The person who created the SQL INSERT syntax should be shot. To amending an existing SQL INSERT you have to count along the field name list and then along the value list -a nightmare if the record is large. INSERT should have used the same name-value pair notation as UPDATE. I use a custom tag...
  12. philcha

    How to check if browser supports createContextualFragment

    The W3C Dom deprecates the innerHTML property supported by IE. A few articles recommend using for DOM-compliant browsers a subroutine which uses createContextualFragment. But createContextualFragment is not part of the W3C DOM, it is a Netscape specific add-on which is supported by all...
  13. philcha

    what is equivalent syntex in Asp for Coldfusion <cfparam> tag

    eSP (or any other contributor), Did you find an answer? I've been searching the web like crazy and have found no real equivalent. I suspect one has to look separately at the main uses of CFPARAM and find a functional equivalent (if any) for each. I think the 2 main uses of CFPARAM are: *...
  14. philcha

    Linking to a place in the same page

    In my frustration I didn't spell out what I was getting as accurately as I should have. Page URL: http:/..../directory_name/page.cfm Browser's address bar: http:/..../directory_name/page.cfm Coding in page: <cfoutput> .. <a href=&quot;##anchor_name&quot; title=&quot; .. &quot;> .. </a> ...
  15. philcha

    Cookie expiration

    Looks like your options are: (1) Create per-session cookie, i.e. one which expires when the user closes the browser. Just omit the EXPIRES attribute from CFCOOKIE. (2) Kill it yourself at some suitable point by CFCOOKIE EXPIRES=&quot;NOW&quot;

Part and Inventory Search

Back
Top