Re: [WebDNA] calling a webDNA tmpl from PHP?

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101245
interpreted = N
texte = On Tue, 21 Oct 2008 14:30:26 -0600 Govinda wrote: > OK, :-) >=20 > Normal html page, set by server to be parsed by PHP. > We need the page to goto PHP, not WebDNA by default. >=20 > BUT I want to save rewriting loads of WebDNA code that is quick,=20 >easy, functioning. >For example I need to write to a WebDNA db (*with WebDNA*) every=20 >time someone hits that PHP page. > I can put a tiny 1px x 1px image (HTML tag) which references=20 > my .tmpl WebDNA template (instead of a real .gif/jpg) to do this=20 > writing to the db, > but I would prefer not, so that, for example, this cannot be seen in=20 > the source HTML. >=20 > As a total PHP and *nix newbie, I scan their talklist and docs and I=20 > see that there is a function called "shell_exec()" that can call=20 > things as if from the command line, and I think, "probably many=20 >people who actually know what they are doing know all about this and=20 >have done it, or if I ask the question right, they will show me a=20 >much better way to approach this." >=20 > You didn't mean you wanted to see what search params I put in my=20 > webDNA [search] did you? I mean, did I leave out any important=20 >details? >=20 > You said, "What you can do is have PHP call a WebDNA template and=20 > return the response". That is exactly what I want to see an example=20 >of! >=20 > -G >=20 > On Oct 21, 2008, at 2:15 PM, Charles Kline wrote: >=20 >> You won't really call an include. What you can do is have PHP call a=20 >>=20 >> WebDNA template and return the response. >> >> Before we all try and guess what you are after again, lets have a =20 >> little more detail... >> >> - Charles >> >=20 > --------------------------------------------------------- > 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  2. Re: [WebDNA] calling a webDNA tmpl from PHP? (Bob Minor 2008)
  3. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  4. RE: [WebDNA] calling a webDNA tmpl from PHP? ("Olin Lagon" 2008)
  5. Re: [WebDNA] calling a webDNA tmpl from PHP? (Bob Minor 2008)
  6. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  7. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  8. Re: [WebDNA] calling a webDNA tmpl from PHP? ("Charles Kline" 2008)
  9. Re: [WebDNA] calling a webDNA tmpl from PHP? (Bob Minor 2008)
  10. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  11. Re: [WebDNA] calling a webDNA tmpl from PHP? ("Charles Kline" 2008)
  12. Re: [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
  13. RE: [WebDNA] calling a webDNA tmpl from PHP? ("Olin Lagon" 2008)
  14. [WebDNA] calling a webDNA tmpl from PHP? (Govinda 2008)
On Tue, 21 Oct 2008 14:30:26 -0600 Govinda wrote: > OK, :-) >=20 > Normal html page, set by server to be parsed by PHP. > We need the page to goto PHP, not WebDNA by default. >=20 > BUT I want to save rewriting loads of WebDNA code that is quick,=20 >easy, functioning. >For example I need to write to a WebDNA db (*with WebDNA*) every=20 >time someone hits that PHP page. > I can put a tiny 1px x 1px image (HTML tag) which references=20 > my .tmpl WebDNA template (instead of a real .gif/jpg) to do this=20 > writing to the db, > but I would prefer not, so that, for example, this cannot be seen in=20 > the source HTML. >=20 > As a total PHP and *nix newbie, I scan their talklist and docs and I=20 > see that there is a function called "shell_exec()" that can call=20 > things as if from the command line, and I think, "probably many=20 >people who actually know what they are doing know all about this and=20 >have done it, or if I ask the question right, they will show me a=20 >much better way to approach this." >=20 > You didn't mean you wanted to see what search params I put in my=20 > webDNA [search] did you? I mean, did I leave out any important=20 >details? >=20 > You said, "What you can do is have PHP call a WebDNA template and=20 > return the response". That is exactly what I want to see an example=20 >of! >=20 > -G >=20 > On Oct 21, 2008, at 2:15 PM, Charles Kline wrote: >=20 >> You won't really call an include. What you can do is have PHP call a=20 >>=20 >> WebDNA template and return the response. >> >> Before we all try and guess what you are after again, lets have a =20 >> little more detail... >> >> - Charles >> >=20 > --------------------------------------------------------- > 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/ "Charles Kline"

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:

RE: IIS4b2 and WebCatalog b19 (1997) Help! Strange happenings... (1997) [WebDNA] .htm files (2008) Server Freeze (1998) Need relative path explanation (1997) 4.5 Upgrade (2003) Solve the Problem, get the code! (2001) Include Files (1998) NetForms for mail, sorry (1998) Location of Browser Info.txt file (1997) Make sure I understand this??? (1997) Emailer and encryption (1997) WebCat2 - many [carts] on one template page? (1997) WC2b12: Yes, Formulas.db is for real (1997) Emailer problem with WC 2.1, NT, WebSite 2.1 (1998) wrong input values? (1997) WebDNA Solutions --> Date format suggestions (1998) TCPSEND (1999) [ANN] The ZipBurst CGI 2.5 & Trial Size Special (2001) Sendmail and textarea (1998)