|
Posted by Jasen Betts on 02/14/06 12:18
On 2006-02-14, Newbie Supreme <newbiesupreme@yahoo.com> wrote:
> Hi all, SERIOUS newb here just beginning to look into php. I've tried a few
> solutions to my issue from snippets I've seen, but so far nothing has
> worked.
>
> In an attempt to stop email harvesting and SPAM issues (I get about 2,400
> every 24 hours), I'm making my contact forms use the php form handler from
> Sitewizard. The email from the form sends OK, and my Thanks page loads, but
> I'd like to carry the value the user entered for their email into the Thanks
> page. Previously I used a FrontPage component to show it, but putting this:
>
><?
> print "Email you entered is $_POST['email']\n";
> ?>
> just leaves that part of the page blank. I tried using a php extension on
> the page instead of htm, but that didn't help. PHP does work on the Windows
> 2003 server.
what do you see when you view the page source in your browser?
I'm guessing here, but you could try changing <? to <?php
it's a configuration thing...
also
$_POST['email']
when _inside_ quotes should be
$_POST[email]
Bye.
Jasen
[Back to original message]
|