What I really would like to know is how do I change this line to a PHP4
compatible line without having the register_global set to on.
The orginal code is
$msg = "Sender Name:\t $sender_name\n";
I've tried these:
$msg = "Sender Name:\t $_POST['sender_name']\n";
$msg = "Sender Name:\t" $_POST['se
s to your php.ini - keep in mind security risks:
>
> if (!ini_get('register_globals')) {
> // mimic GPCS order
> if ($_GET) extract($_GET);
> if ($_POST) extract($_POST);
> }
>
> This doesn't 'register' cookie or session vars.
>
> Matt
>
I am also a newbie to PHP. I have been writing and copying code from the
web. It seems to me without having the register_global set to on, 99% of
the code out there is useless. I have been using the POST method for my
form method. I've tried modifiy code from the web to work without the
regis