Re: redirect after send form to email with message



<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
.



Relevant Pages

  • Re: Pick 5 random entrys
    ... Krustov wrote: ... (it works fine - but something that just works isnt good enough for this newsgroup is it) ... I'm not sure what you are doing but it looks like you are pulling 5 random entries from some file and sorting by date. ...
    (comp.lang.php)
  • Re: London marathon nutters
    ... In message, Krustov writes ... themsleves silly to the point where most needed medical attention - then ... Isnt it safe to say the london marathon nutters do nothing but put a ...
    (uk.media.tv.misc)
  • Re: the couple of users who have signed up so far
    ... I've had a look and what you typed in doesnt start with http:// so it ... assumes it isnt a proper www url and displays n/a instead. ...
    (uk.local.glasgow)
  • Re: Countdown letters game (php)
    ... 250 words in the first 21 hours isnt too bad. ... Enjoy it while you can as i'm just about to add a sexual swear word ... True or false quiz ...
    (uk.media.tv.misc)
  • Re: Countdown letters game (php)
    ... 250 words in the first 21 hours isnt too bad. ... Enjoy it while you can as i'm just about to add a sexual swear word ... True or false quiz ...
    (uk.media.tv.misc)