Re: Including a php script

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47264
interpreted = N
texte = you can't include a php into webdna, and expect webdna to process the php instructions.in order for your webserver to know that it's a php file, you have to send the request for a php file, eg. the browser has to ask for bla.php.so you have to redirect it, or put it in a form with post, etc.Gyuridemawno@msradiogroup.com wrote:>I have a form that sends its values to an email address, i used webdna >to validate the fields, but i want to use a php script to generate and >send the actually email, i tried using an include, but it didn't work. >i believe it is a problem with the include statement i wrote, because >the php script will work, and so will the validating section of the >webdna page. here is the code i used. my os is slackware 8.1 (linux) >and webdna 4.5.0.i would apreciate any advice or insight :) >thanks in advance >lloyd >demawno@msradiogroup.com >=F]error=[error]+1[/math] > [/showif] > >[showif [error]!0][redirect >../forms/souamerror.tpl?[formvariables][name]=[value]&[/formvariables]author=sgagolf][/showif] > >[hideif [error]!0] >[INCLUDE file=mailtesterxx.php] >[redirect thanks.html] >[/hideif] > > > > >-- Gyuri Ordody Objects Online, Inc.------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Including a php script (Gyuri 2003)
  2. Re: Including a php script (Matthew Bohne 2003)
  3. Re: Including a php script (charles kline 2003)
  4. Including a php script (demawno@msradiogroup.com 2003)
you can't include a php into webdna, and expect webdna to process the php instructions.in order for your webserver to know that it's a php file, you have to send the request for a php file, eg. the browser has to ask for bla.php.so you have to redirect it, or put it in a form with post, etc.Gyuridemawno@msradiogroup.com wrote:>I have a form that sends its values to an email address, i used webdna >to validate the fields, but i want to use a php script to generate and >send the actually email, i tried using an include, but it didn't work. >i believe it is a problem with the include statement i wrote, because >the php script will work, and so will the validating section of the >webdna page. here is the code i used. my os is slackware 8.1 (linux) >and webdna 4.5.0.i would apreciate any advice or insight :) >thanks in advance >lloyd >demawno@msradiogroup.com >=F]error=[error]+1[/math] > [/showif] > >[showif [error]!0][redirect >../forms/souamerror.tpl?[formvariables][name]=[value]&[/formvariables]author=sgagolf][/showif] > >[hideif [error]!0] >[INCLUDE file=mailtesterxx.php] >[redirect thanks.html] >[/hideif] > > > > >-- Gyuri Ordody Objects Online, Inc.------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gyuri

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:

determining plug-ins? (1998) WebCatalog and directory indexing (1998) RE: Error: template (1997) WebCatalog/Mac 2.1b2 New Features (1997) Reversed words (1997) [Webcat 2]Next (1997) [BoldWords] WebCat.acgib15Mac (1997) Using Eudora instead of Emailer, and cron facility (1998) clean(); (2004) [WriteFile] problems (1997) Date Range search (1997) multi-paragraph fields (1997) FW: 2.01 upgrade problems (1997) Virtual hosting and webcatNT (1997) faulure to encrypt (or maybe decrypt) (1999) showif comparison begins w/ and contains (1997) Avery 5160 Mailing Labels SOLVED (2003) problems with 2 tags (1997) PCS Frames (1997) Problems w/ heavy use of cart header fields? (1998)