Posted by Krustov on 09/30/07 17:36
<comp.lang.php>
<Big Moxy>
<Sun, 30 Sep 2007 10:19:10 -0700>
<1191172750.284452.225190@r29g2000hsg.googlegroups.com>
> > <?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
Navigation:
[Reply to this message]
|