Re: [WebDNA] Using WebDNA with MAMP

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104957
interpreted = N
texte = Jonathan Young wrote: > I have that at the top of the file. I just noticed that it works if I use index.dna, instead of .html. But I'd like to be able to use .html, or .php for that matter. > > I don't understand. I was assuming that I could have both WebDNA code and PHP code on the same page, using a suffix such as .html or .php, and it would parse both the WebDNA and the PHP code. Not possible? > > Jon Jon, To get WebDNA to work with .html files, add .html to the webdna.conf file (near the bottom) and restart WebDNA. In general, you can't mix server-side languages. However, once WebDNA is mapped to .html, you could, in theory, use the [shell][/shell] context to invoke PHP to process PHP that way. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  2. Re: [WebDNA] Using WebDNA with MAMP (Dan Strong 2010)
  3. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  4. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  5. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  6. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  7. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  8. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  9. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  10. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  11. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  12. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  13. Re: [WebDNA] Using WebDNA with MAMP (christophe.billiottet@webdna.us 2010)
  14. Re: [WebDNA] Using WebDNA with MAMP (Donovan Brooke 2010)
  15. Re: [WebDNA] Using WebDNA with MAMP (christophe.billiottet@webdna.us 2010)
  16. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  17. Re: [WebDNA] Using WebDNA with MAMP (christophe.billiottet@webdna.us 2010)
  18. Re: [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
  19. Re: [WebDNA] Using WebDNA with MAMP (christophe.billiottet@webdna.us 2010)
  20. [WebDNA] Using WebDNA with MAMP (Jonathan Young 2010)
Jonathan Young wrote: > I have that at the top of the file. I just noticed that it works if I use index.dna, instead of .html. But I'd like to be able to use .html, or .php for that matter. > > I don't understand. I was assuming that I could have both WebDNA code and PHP code on the same page, using a suffix such as .html or .php, and it would parse both the WebDNA and the PHP code. Not possible? > > Jon Jon, To get WebDNA to work with .html files, add .html to the webdna.conf file (near the bottom) and restart WebDNA. In general, you can't mix server-side languages. However, once WebDNA is mapped to .html, you could, in theory, use the [shell][/shell] context to invoke PHP to process PHP that way. Donovan -- Donovan Brooke Euca Design Center [Practical-Ethical-Efficient] www.euca.us egg.bz artglass-forum.com Donovan Brooke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[cart] (1998) Serving images from databases (1998) Multiple Unique SKUs (2000) [OT] Airport Problem (2003) Not really WebCat (1997) FREE Stuff .. (2003) Search in 2 or more catalogs (1997) [WebDNA] It's been a while so ... (2009) Tab Charactor (1997) Trouble with formula.db + more explanation (1997) RAM variables (1997) Processing all html files through WebCat or Typhoon (1998) WC1.6 to WC2 date formatting (1997) emailer prob (1998) webdna dreamweaver extension (2003) [defined]ish (1997) how does [middle] work? (1998) 2nd WebCatalog2 Feature Request (1996) For those of you not on the WebCatalog Beta... (1997) A few questions. . . (1997)