Re: [WebDNA] WebDNA not parsing php files
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 109196
interpreted = N
texte = Dave Stengel wrote:> Yes php is installed and the php works. I'm trying to plug in some> cart information and Header files from a proceeding .tpl page into a> .php file to process payment. It was my understanding the webDNa would> parse a page if I include at the top and set> file extensions may be displayed: to .php. Is there some other place I> must set preferences so webdna will parse a page?> ______________Ahh, O.K., what you need to do rather is call PHP from WebDNA, to stay in WebDNA.You could do this either by using WebDNA's TCPconnect context, or by using [shell][/shell] and calling PHP by the commandline. (if you have PHP Cli configured).As Terry mentioned, in general, you can't have the same suffix parsed by two different server-side languages... at least, I don't know how to configure that.I would go with the TCPConnect option.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
Associated Messages, from the most recent to the oldest:
Dave Stengel wrote:> Yes php is installed and the php works. I'm trying to plug in some> cart information and Header files from a proceeding .tpl page into a> .php file to process payment. It was my understanding the webDNa would> parse a page if I include at the top and set> file extensions may be displayed: to .php. Is there some other place I> must set preferences so webdna will parse a page?> ______________Ahh, O.K., what you need to do rather is call PHP from WebDNA, to stay in WebDNA.You could do this either by using WebDNA's TCPconnect context, or by using
[shell][/shell] and calling PHP by the commandline. (if you have PHP Cli configured).As Terry mentioned, in general, you can't have the same suffix parsed by two different server-side languages... at least, I don't know how to configure that.I would go with the TCPConnect option.Donovan-- Donovan BrookeWebDNA Software Corporationhttp://www.webdna.us**[Square Bracket Utopia]**
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:
Any limit to [include] (1997)
Looping control (1997)
WebCat and WebTV (1997)
WebCatalog Mac 2.1b3 (1997)
'page impression' techniques for banner ads (1999)
GuestBook example (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
WebCat2: Formulas.db question (1997)
webdelivery.html and webna (1997)
can we reset Linux file permissions w/in [shell] ? (2000)
Re:2nd WebCatalog2 Feature Request (1996)
Search/sort in URL Was: GuestBook example (1997)
F*** you (1998)
!@#$$@@# formulas database, tax and freight. (2002)
WebCatalog [FoundItems] Problem - LONG - (1997)
2.0 Info (1997)
WC 2.0 frames feature (1997)
Authenticate (1997)
purchase.log file (1997)
WebCat2b12 forgets serial # (1997)