blank stare from my mail form
Jason
jason at kernbuilt.com
Fri Aug 6 12:52:01 EDT 2004
All,
Thanks for the suggestions. Here's what I got to work. I know it's a bit OT
but FWIW.
<?php
$question=$HTTP_POST_VARS['question'];
$email_address=$HTTP_POST_VARS['email_address'];
$toaddress = "receiver at domain.com";
$subject = "Feedback From Form";
$mailcontent = "Email Address: ".$email_address."\n"
."Question: ".$question."\n";
$fromaddress = "webserver at domain.com";
mail($toaddress, $subject, $mailcontent);
?>
Hope this can be used elsewhere. Next step error checking.
Jason Kern
www.KernBuilt.com
603.823.5150
> -----Original Message-----
> From: gnhlug-discuss-admin at mail.gnhlug.org
> [mailto:gnhlug-discuss-admin at mail.gnhlug.org]On Behalf Of Cole Tuininga
> Sent: Friday, August 06, 2004 10:33 AM
> To: GNHLUG List
> Subject: Re: blank stare from my mail form
>
>
>
> Yes, having register_globals off is what is making your code (as it is)
> not work. However, you're better off to leave register_globals off and
> access the data through the appropriate $_ variable ($_POST, $_GET,
> $_REQUEST, whatever).
>
> --
> "Things are fine, the upcoming semester approaches like a brick wall
> and we're in a 1962 Corvair with no brakes." - Paul Sand
>
> Cole Tuininga
> Lead Developer
> Code Energy, Inc
> colet at code-energy.com
> PGP Key ID: 0x43E5755D
>
>
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
More information about the gnhlug-discuss
mailing list