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:
Emailer setup (1997)
PLEASE REMOVE MY EMAIL ADDRESS (1997)
range vs greater than/less than (2003)
searching twice on same field (1998)
Triggers (2001)
Help name our technology! (1997)
New public beta available (1997)
Nested tags count question (1997)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
can you reassign loop index? (1998)
Database Updates (1997)
Multiple catalog databases and showcart (1997)
String manipulation in Webcatalog (2001)
NT Manual (1997)
Multiple Merchant Accounts? (1997)
HELP WITH DATES (1997)
[OT] - New Zealand Meteorite (2004)
Replacing a variable within a variable. (1998)
[WebDNA] sendmail time stamp (2013)
[WebDNA] WebDNA 7 multiple fcgid processes (2012)