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?> > JonJon,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, onceWebDNA is mapped to .html, you could, in theory, use the [shell][/shell]context to invoke PHP to process PHP that way.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-forum.com
Associated Messages, from the most recent to the oldest:
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?> > JonJon,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, onceWebDNA is mapped to .html, you could, in theory, use the
[shell][/shell]context to invoke PHP to process PHP that way.Donovan-- Donovan BrookeEuca Design Center[Practical-Ethical-Efficient]www.euca.usegg.bzartglass-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)