HighDots Forums  

Using PHP to make a "Thank You" page

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Using PHP to make a "Thank You" page in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Toby-Joe webforumsuser@macromedia.com
 
Posts: n/a

Default Using PHP to make a "Thank You" page - 12-01-2003 , 01:56 PM






I am brand new to using php. My server is through Yahoo, and I want to make a email form that redirects my clients to a thank you page.

I've only ever used the "mailto:" function before, and realize I can't use this to redirect to another page.

Any Help would be appreciated (no code please as I have no clue what it means). Use dreamweaer MX.

Thanks
TJ



Reply With Quote
  #2  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 02:01 PM






are you able to use php pages with yahoo??

if yes, take a look at http://boaddrink.com -->formmail.php pages.
The instructions for it are there-

Quote:
I am brand new to using php. My server is through Yahoo, and I want to make a
email form that redirects my clients to a thank you page.

I've only ever used the "mailto:" function before, and realize I can't use
this to redirect to another page.

Any Help would be appreciated (no code please as I have no clue what it
means). Use dreamweaer MX.

Thanks
TJ



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer

yes, it's a real email address- but it's filtered to trash



Reply With Quote
  #3  
Old   
Michael Fesser
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 02:25 PM



Toby-Joe webforumsuser wrote:

Quote:
I am brand new to using php. My server is through Yahoo, and I want to
make a email form that redirects my clients to a thank you page.

I've only ever used the "mailto:" function before, and realize I can't
use this to redirect to another page.
You can't even use 'mailto' for reliably sending the form data. It
depends on the client's configuration if the 'mailto' will work or not.

You need a server-side script (formmailer) that handles the submitted
data and returns a "thank you"-page.

Micha


Reply With Quote
  #4  
Old   
SnakEyez webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 04:12 PM



Are you sure Yahoo allows PHP scripts to run on their servers. Last I checked they never really had PHP installed.

My suggestion to you since you don't know how to script in PHP is to go and download formmail from www.scriptarchive.com and install that. With that script it asks you where you want people to be redirected to after they fill out the form. You can just make your own thank you page and have the script redirect to that page when it's done.

The script itself is pretty self-explanatory so just download it and follow the instructions on the website.




Reply With Quote
  #5  
Old   
Toby-Joe webforumsuser@macromedia.com
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 04:39 PM



I've got the mid level provider and they allow PHP (page says PHP Version 4.1.2)

Should I still download the site you suggested, or do you have any advice when using this type of PHP?

Thanks
TJ



Reply With Quote
  #6  
Old   
Alan Ames _TMM_
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 04:39 PM



my suggestion is to go with http://boaddrink.com and their formmail for php.
One line to edit in the script to tell it what domains are allowed to use
the script- not fussy to get working like cgi/Perl scripts are.

Quote:
I've got the mid level provider and they allow PHP (page says PHP Version
4.1.2)

Should I still download the site you suggested, or do you have any advice when
using this type of PHP?

Thanks
TJ



--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer

yes, it's a real email address- but it's filtered to trash



Reply With Quote
  #7  
Old   
Mickey
 
Posts: n/a

Default Re: Using PHP to make a "Thank You" page - 12-01-2003 , 06:08 PM



Visit http://nms-cgi.sourceforge.net/scripts.shtml and you won't touch Matts
formmail script.

Mickey



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.