Re: redirect after send form to email with message
- From: Krustov <me@xxxxxxxxxxx>
- Date: Sun, 30 Sep 2007 18:36:34 +0100
<comp.lang.php>
<Big Moxy>
<Sun, 30 Sep 2007 10:19:10 -0700>
<1191172750.284452.225190@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
<?php
$msg=$_REQUEST['passform'];
if ($msg==1) {"<br> Thank you for your request! Someone will be
contacting you soon. <br>";}
?>
The rest of your index.php page will de displayed as normal .
--
(c) The Amazing Krustov
I set it up so the form posts to the apply page to processes the form
input and send the email. I suppose I could do it all on the index
page but generally prefer not to.
<?php
$msg=$_REQUEST['passform'];
if ($msg==1) {include('process.php');}
?>
With the following at the top of the process.php page ...
if ($msg<>1) {return;}
Although in general i suppose it isnt a good way to do it .
--
(c) The Amazing Krustov
.
- References:
- redirect after send form to email with message
- From: Big Moxy
- Re: redirect after send form to email with message
- From: Krustov
- Re: redirect after send form to email with message
- From: Big Moxy
- redirect after send form to email with message
- Prev by Date: Re: not receiving emails expected
- Next by Date: Re: New To PHP
- Previous by thread: Re: redirect after send form to email with message
- Next by thread: Re: redirect after send form to email with message
- Index(es):
Relevant Pages
|