Re: [WebDNA] WebDNA not parsing php files
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 109203
interpreted = N
texte = I will give this a try. Thanks for everyones input.Dave________________________On Tue, Jun 12, 2012 at 10:46 AM, Marc Thompson
wrote:> Dave,> What you're attempting to accomplish must be done in a different way.> A suffix should only be mapped for one processing engine. You cannot have> both WebDNA and PHP process the same file.> You can however call the other engine from within the processing of eithe=r.>> Like Donovan suggested, simply make a http call using curl within you php> page for the WebDNA file.> Your server has to be able to decide which engine to pass the requested p=age> off to and in this case all .tpl or .dna files should be configured to be> handled ONLY by WebDNA and those files should include> =A0 near the top for them to work.> (That is unless you've configured WebDNA to NOT require that...)>> I have done what you're trying to do many times, both ways.> 1. use curl to call a PHP script from within a WebDNA page.> 2. use curl to call =A0a WebDNA script from within a PHP page.>> Marc>>> On 6/12/2012 11:03 AM, 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?>> ______________>>>> On Tue, Jun 12, 2012 at 9:46 AM, Donovan Brooke wrot=e:>>>>>> Dave Stengel wrote:>>>>>>>>>>>> I'm trying to insert some webdna cart and header files within some php>>>> code. File is named invoice.php>>>> File has =A0at top>>>> Preferences are set to: Only the following file extensions may be>>>> displayed: .php .tmpl .tpl .tp2 .dna .html .htm>>>>>>>> System is: unix-Macintosh OS X Apache Module version 6.2>>>>>>>> Am I missing something? Is this possible..has anyone had experience>>>> combining php files with Webdna?>>>>>>>> Dave Stengel>>>> --------------------------------------------------------->>>>>>>>>>>>>>>>>> Is this a server that also has PHP installed?>>>>>> Apache won't like a suffix mapping that maps to two different places.>>>>>> I think what you want to do is use PHP's curl function to call a .dna>>> page..>>> but I'm not exactly sure what you are needing/doing.>>>>>>>>> Donovan>>>>>>>>>>>>>>> -->>> Donovan Brooke>>> WebDNA Software Corporation>>> http://www.webdna.us>>> **[Square Bracket Utopia]**>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>>>>>>>>>> --> -------------------------------------------> Marc Thompson> Software Engineer> Media Solutions> University Information Technology> University of Utah> 801.585.9264> marc.thompson@utah.edu> ------------------------------------------->>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us--=20Dave Stengelc 209.623.9231o 209.820.1300dave@mobilinkpro.com
Associated Messages, from the most recent to the oldest:
I will give this a try. Thanks for everyones input.Dave________________________On Tue, Jun 12, 2012 at 10:46 AM, Marc Thompson wrote:> Dave,> What you're attempting to accomplish must be done in a different way.> A suffix should only be mapped for one processing engine. You cannot have> both WebDNA and PHP process the same file.> You can however call the other engine from within the processing of eithe=r.>> Like Donovan suggested, simply make a http call using curl within you php> page for the WebDNA file.> Your server has to be able to decide which engine to pass the requested p=age> off to and in this case all .tpl or .dna files should be configured to be> handled ONLY by WebDNA and those files should include> =A0 near the top for them to work.> (That is unless you've configured WebDNA to NOT require that...)>> I have done what you're trying to do many times, both ways.> 1. use curl to call a PHP script from within a WebDNA page.> 2. use curl to call =A0a WebDNA script from within a PHP page.>> Marc>>> On 6/12/2012 11:03 AM, 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?>> ______________>>>> On Tue, Jun 12, 2012 at 9:46 AM, Donovan Brooke wrot=e:>>>>>> Dave Stengel wrote:>>>>>>>>>>>> I'm trying to insert some webdna cart and header files within some php>>>> code. File is named invoice.php>>>> File has =A0at top>>>> Preferences are set to: Only the following file extensions may be>>>> displayed: .php .tmpl .tpl .tp2 .dna .html .htm>>>>>>>> System is: unix-Macintosh OS X Apache Module version 6.2>>>>>>>> Am I missing something? Is this possible..has anyone had experience>>>> combining php files with Webdna?>>>>>>>> Dave Stengel>>>> --------------------------------------------------------->>>>>>>>>>>>>>>>>> Is this a server that also has PHP installed?>>>>>> Apache won't like a suffix mapping that maps to two different places.>>>>>> I think what you want to do is use PHP's curl function to call a .dna>>> page..>>> but I'm not exactly sure what you are needing/doing.>>>>>>>>> Donovan>>>>>>>>>>>>>>> -->>> Donovan Brooke>>> WebDNA Software Corporation>>> http://www.webdna.us>>> **[Square Bracket Utopia]**>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>>>>>>>>>> --> -------------------------------------------> Marc Thompson> Software Engineer> Media Solutions> University Information Technology> University of Utah> 801.585.9264> marc.thompson@utah.edu> ------------------------------------------->>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us--=20Dave Stengelc 209.623.9231o 209.820.1300dave@mobilinkpro.com
Dave Stengel
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:
Pirated WebCat? NOT... (2003)
webcat- multiple selection in input field (1997)
[WebDNA] Is WebDNA slowing things up - please try these URL's (2013)
[WebDNA] XML Syntax (2012)
Rumpus & WebCat (1998)
Re[2]: Enhancement Request for WebCatalog-NT (1996)
can WC render sites out? (1997)
Off Topic - OS X web server, FTP accounts (2003)
syntax question, not in online refernce (1997)
re: Large Database Options? (1999)
Text data with spaces in them... (1997)
View order not right (1997)
much help needed NEWBIE alert (2000)
rotating thumbnails (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
item sorting (1997)
Sorting (1998)
Using [showif] within [lineitems] (2000)
WebCatalog on Linux (2000)
NT beta ReadMe missing (b12-b15) (1997)