Re: Including a php script

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47262
interpreted = N
texte = PHP will only be processed on documents that have the .php or .php3 extension. This page is already getting grabbed up by WebDNA - can't do both, but you could validate the fields, and pass it via [TCPConnect] to your PHP script... But at that point why not just either use PHP to do it all or WebCat to do it all?- CharlesOn 1/28/03 4:14 PM, demawno@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 > > > > > sgagolf.com -- Thank You Page > > > > [math show=F]error=0[/math] > > [showif [FirstName]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [LastName]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Address]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [City]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [State]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Zip]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [EmailAddress]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ResidencePhone]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [BusinessPhone]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Index]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ChampCart]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ChampCart]=[raw][ChampCart][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualSite]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualSite]=[raw][QualSite][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualCart]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualCart]=[raw][QualCart][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Payment]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Payment]=[raw][Payment][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [error]!0][redirect > ../forms/souamerror.tpl?[formvariables][name]=[value]&[/formvariables]author=s > gagolf][/showif] > > [hideif [error]!0] > [INCLUDE file=mailtesterxx.php] > [redirect thanks.html] > [/hideif] > > > > > ------------------------------------------------------------- > 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/-- ------------------------------------ Charles Kline, PresidentRightCode, Inc. 900 Briggs Road Suite #303 Mount Laurel, NJ 08054Email: ckline@rightcode.net Phone: 856.608.7908 Fax: 856.439.0154 URL: http://www.rightcode.net ------------------------------------------------------------- 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)
PHP will only be processed on documents that have the .php or .php3 extension. This page is already getting grabbed up by WebDNA - can't do both, but you could validate the fields, and pass it via [tcpconnect] to your PHP script... But at that point why not just either use PHP to do it all or WebCat to do it all?- CharlesOn 1/28/03 4:14 PM, demawno@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 > > > > > sgagolf.com -- Thank You Page > > > > [math show=F]error=0[/math] > > [showif [FirstName]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [LastName]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Address]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [City]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [State]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Zip]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [EmailAddress]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ResidencePhone]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [BusinessPhone]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Index]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ChampCart]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [ChampCart]=[raw][ChampCart][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualSite]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualSite]=[raw][QualSite][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualCart]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [QualCart]=[raw][QualCart][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Payment]=] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [Payment]=[raw][Payment][/raw]] > [math show=F]error=[error]+1[/math] > [/showif] > > [showif [error]!0][redirect > ../forms/souamerror.tpl?[formvariables][name]=[value]&[/formvariables]author=s > gagolf][/showif] > > [hideif [error]!0] > [INCLUDE file=mailtesterxx.php] > [redirect thanks.html] > [/hideif] > > > > > ------------------------------------------------------------- > 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/-- ------------------------------------ Charles Kline, PresidentRightCode, Inc. 900 Briggs Road Suite #303 Mount Laurel, NJ 08054Email: ckline@rightcode.net Phone: 856.608.7908 Fax: 856.439.0154 URL: http://www.rightcode.net ------------------------------------------------------------- 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/ 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:

TaxTotal Problem (1997) AuthorizeNet setup -- progress but still need input from experts! (2000) Add htmlarea 3 to SiteBuilder (2004) WebCat B13 Mac CGI -- Frames question (1997) OT - New Ti Books (2002) Emailer (1999) [WebDNA] Acceleratin Search / Index Performance in a Formum Service (2013) Donovans Theorem (2003) Help name our technology! (1997) WebCat2: multiple currency support (1997) Kaaaaahhhhhhhnnnnnnn! (1997) WCS Newbie question (1997) Nested tags count question (1997) Moment of Thanks (1997) Here we go again... (2006) Who is John Jakovich? (1999) Deleting Multiple Database Records based on Checkbox (1998) PERL to Web DNA (2000) WebCat2: Items xx to xx shown, etc. (1997) webdelivery.html and webna (1997)