Re: [WebDNA] calling a webDNA tmpl from PHP?
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101244
interpreted = N
texte = shell_exec() works fine, you can use curl to hit a webdna pageOn Oct 21, 2008, at 3:30 PM, Govinda wrote:> OK, :-)>> Normal html page, set by server to be parsed by PHP.> We need the page to goto PHP, not WebDNA by default.>> BUT I want to save rewriting loads of WebDNA code that is quick, > easy, functioning.> For example I need to write to a WebDNA db (*with WebDNA*) every > time someone hits that PHP page.> I can put a tiny 1px x 1px image (HTML
![]()
tag) which references > my .tmpl WebDNA template (instead of a real .gif/jpg) to do this > writing to the db,> but I would prefer not, so that, for example, this cannot be seen in > the source HTML.>> As a total PHP and *nix newbie, I scan their talklist and docs and I > see that there is a function called "shell_exec()" that can call > things as if from the command line, and I think, "probably many > people who actually know what they are doing know all about this and > have done it, or if I ask the question right, they will show me a > much better way to approach this.">> You didn't mean you wanted to see what search params I put in my > webDNA [search] did you? I mean, did I leave out any important > details?>> You said, "What you can do is have PHP call a WebDNA template and > return the response". That is exactly what I want to see an example > of!>> -G>> On Oct 21, 2008, at 2:15 PM, Charles Kline wrote:>>> You won't really call an include. What you can do is have PHP call >> a WebDNA template and return the response.>>>> Before we all try and guess what you are after again, lets have a >> little more detail...>>>> - Charles>>>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, *nix, and AS/400.Complete ddos proof hosting solutions and network services.
Associated Messages, from the most recent to the oldest:
shell_exec() works fine, you can use curl to hit a webdna pageOn Oct 21, 2008, at 3:30 PM, Govinda wrote:> OK, :-)>> Normal html page, set by server to be parsed by PHP.> We need the page to goto PHP, not WebDNA by default.>> BUT I want to save rewriting loads of WebDNA code that is quick, > easy, functioning.> For example I need to write to a WebDNA db (*with WebDNA*) every > time someone hits that PHP page.> I can put a tiny 1px x 1px image (HTML
tag) which references > my .tmpl WebDNA template (instead of a real .gif/jpg) to do this > writing to the db,> but I would prefer not, so that, for example, this cannot be seen in > the source HTML.>> As a total PHP and *nix newbie, I scan their talklist and docs and I > see that there is a function called "shell_exec()" that can call > things as if from the command line, and I think, "probably many > people who actually know what they are doing know all about this and > have done it, or if I ask the question right, they will show me a > much better way to approach this.">> You didn't mean you wanted to see what search params I put in my > webDNA [search] did you? I mean, did I leave out any important > details?>> You said, "What you can do is have PHP call a WebDNA template and > return the response". That is exactly what I want to see an example > of!>> -G>> On Oct 21, 2008, at 2:15 PM, Charles Kline wrote:>>> You won't really call an include. What you can do is have PHP call >> a WebDNA template and return the response.>>>> Before we all try and guess what you are after again, lets have a >> little more detail...>>>> - Charles>>>> ---------------------------------------------------------> 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> old archives: http://dev.webdna.us/TalkListArchive/Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, *nix, and AS/400.Complete ddos proof hosting solutions and network services.
Bob Minor
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:
Tenon and PCS Partner (1998)
The USArea® Network web site ... (1997)
Help name our technology! I found it (1997)
Size limit for tmpl editor ? (1997)
cart ID (1998)
Am I being really stupid? (2003)
need some help with tcpsend (2000)
Press Release hit the NewsWire!!! (1997)
MATH TIME (1997)
An Isnumeric function of some kind (2001)
Beta 18 (1997)
Missing CR in message (2005)
possible, WebCat2.0 and checkboxes-restated (1997)
WebCat2b12 - nesting [tags] (1997)
Emailer tracking (1997)
sort problems....bug or brain fart? (1997)
Serving images from databases (1998)
POST Datamissing? (1998)
Nesting format tags (1997)
Date calculation problems (1997)