Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-21 02:12:41

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Having issues with PHP form mailer

I’ve got a basic contact form on my site which uses a file called “email.php” to process the form.

I’m having trouble getting it integrated with TXP.

The page is www.deronsizemore.com/contact. You can fill out the form and click submit and it just takes you to a 404 Not Found page.

I tried placing “email.php” in the root directory and it worked as far as sending the email to me. It processed and I got in a minute or so, but it does not recognize my stylesheet with email.php in the root directory. Basically what I want to happen is once “submit” is clicked it will take the visitor to another page (exact template/stylesheet i’m currently using for all other pages) and tell them if the form was processed correctly or if there was an error (which is all done with the php file.

If anyone has any ideas here you can view the source code for the form at www.deronsizemore.com/contact. And you can view the PHP code at www.deronsizemore.com/dsnew/phpcode.htm

Offline

#2 2005-11-21 03:02:25

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: Having issues with PHP form mailer

Deron,
If you aren’t attached to the form you currently use you could try zem_contact
Its a flexible form maker, and uses txp’s $mailto functionality.
and you will want to check out this thread for details.

Also, try to use some textile on your link next time :)

Matthew


Offline

#3 2005-11-21 04:21:18

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Having issues with PHP form mailer

> ma_smith wrote:

> Deron,
If you aren’t attached to the form you currently use you could try zem_contact
Its a flexible form maker, and uses txp’s $mailto functionality.
and you will want to check out this thread for details.

Also, try to use some textile on your link next time :)

Matthew

Thanks. I will check out those links and see what I can figure out. Sorry for the links. I’m not real familar with using textile yet. :)

Offline

#4 2005-11-21 06:20:45

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Having issues with PHP form mailer

Matthew,

Thanks again for the links! Worked perfectly and I even got the “thankyou” after submit integrated successfully with no problems!

-Deron

Offline

Board footer

Powered by FluxBB