On Thu, Jun 28, 2012 at 2:17 AM, Tim Dunphy <bluethundr@xxxxxxxxx> wrote:
> Hey guys,
>
> It's been a little while since I've toyed with this, and I hope you
> don't mind my coming back to you for some more advice. But I've
> enjoyed some limited success with David R's advice regarding adding
> some strong quoting to the mix. Here is what I last tried -
Please bottom post on this (and probably any) mailing list.
>
> <form method="post" action="' . $_SERVER['[PHP_SELF'] .'">
This must be some typo, it should read
<form method="post" action="' . $_SERVER['PHP_SELF'] .'">
>
>
> $from = 'bluethundr@xxxxxxxxxxxx';
> $subject = $_POST['subject'];
> $text = $_POST['elvismail'];
> $output_form = "false";
>
Try using
$subject = isset($_POST['subject']) ? $_POST['subject'] : "";
$subject = isset($_POST['elvismail']) ? $_POST['elvismail'] : "";
Cheers,
Matijn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[PHP Home]
[Apache Users]
[PHP on Windows]
[Kernel Newbies]
[PHP Install]
[PHP Classes]
[Pear]
[Postgresql]
[Postgresql PHP]
[PHP on Windows]
[Find Someone]
[PHP Database Programming]
[PHP SOAP]