Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
form thank you page help
Old 01-07-2006, 01:34 AM form thank you page help
Average Talker

Posts: 26
Trades: 0
Hello all,

I have created my first form by hand coding. Yehaaaaa!!!!

Anyhow, I am using form2mail for my formhandler and when the form is submitted it goes to this generic page that does not follow my design. I know that the code is in this form2mail file yet I don't know enough aobut this language (yet) to make it go to the page I want.

Any and all help is appreciated.

Thanks
taskhill is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-07-2006, 01:43 AM
Skilled Talker

Posts: 68
Trades: 0
you tryed useing $_SERVER['PHP_SELF'];
mrpaul is offline
Reply With Quote
View Public Profile
 
Old 01-07-2006, 01:53 AM
Average Talker

Posts: 26
Trades: 0
I'm sorry I really have no idea what that means. I have little to no coding experence. I am an old front page user trying to learn how to do it right.

Could you be a little bit more spacific?

Thank you for your reply.
taskhill is offline
Reply With Quote
View Public Profile
 
Old 01-07-2006, 01:26 PM
Ultra Talker

Posts: 264
Location: UK
Trades: 3
If its PHP there will probably be an include line, leading to another page.

Something like:

include ('thankyou.php');

Have a look for that. If you give me the address of the form I'll have a look for you.
uktvindex is offline
Reply With Quote
View Public Profile
 
Old 01-08-2006, 10:20 AM
Skilled Talker

Posts: 70
Trades: 0
Quote:
you tryed useing $_SERVER['PHP_SELF'];
$_SERVER['PHP_SELF'] refers to the current script. In other words, if the form tag looks like this:

Code:
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
When the form data is submitted, the contents of that PHP file will be processed and the output will be displayed. An example how it's used is at this url:

http://www.zend.com/php/beginners/php101-3.php#Heading3
cerebro89 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to form thank you page help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25420 seconds with 12 queries