Re: Why does this not work?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Joe Lowder
Date:  
To: Main PLUG discussion list
Subject: Re: Why does this not work?
Thanks James. I tried making the change that you
suggested, but it still doesn't work. -joe

-----------------
December 29, 2019 at 7:45 pm, James Dugger wrote:
> Joe,
> Have you tried using the $_POST array instead of the $_REQUEST array?
>
>
> <?php
> //if "email" variable is filled out, send email
> if (isset($_POST['email'])) {
>
> //Email information
> $admin_email = "";
> $email = $_POST['email'];
> $subject = $_POST['subject'];
> $comment = $_POST['comment'];
>
>
>
> The form puts items in the $_POST array not the $_REQUEST array. Your
> condition resolves to false and your conditional exits with out doing
> anything
>
>
>
> On Sun, Dec 29, 2019 at 5:58 PM David Schwartz
> <>
> wrote:
>
>
>> I’d ask them, especially if they sent you the code.
>>
>>
>> In particular, I’d see if they changed their PHP recently.
>>
>>
>> -David Schwartz
>>
>>
>> On Dec 29, 2019, at 5:16 PM, Joe Lowder <> wrote:
>>
>>
>> For years, I have used bluemail form input for a simple way to invite
>> comments from visitors to my websites; but recently discovered that
>> this quit working:
>>
>> http://www.upquick.com/message/
>> <https://u2206659.ct.sendgrid.net/wf/click?upn=tzJbcg2o-2FNh3kfIF32sRUb
>> ct3oiXTUUBrLOg0XztaVjpWgmnE3bgmeIIgqYhyKAP_6lpMB7VLnN-2Fj9-2FEErg8-2F-
>> 2BMBpb5QxlByTgv2M3fbWD9ebvC-2BWrN3h7jImK8EVWYBe3HIwYayKP83-2FfqFjTgQnq
>> fyRpAJ4pHmxAdvAuph0dJFzh9N1ZBp7y7S1hqLMQugdU5sVMTf3yZ4DI-2B86-2BLrtPdZ
>> mf-2Fz5VLqTE6ouMGx-2FdQx-2FmJDxLD7ogqau7W5FaNgE2lWa-2B3J-2FYSj-2BrcPPi
>> CZsnm2ee3wjykGtXAvaoY5q3XltRTD3bQmwipfWrexdtLwF>
>>
>>
>> So, I asked bluehost support for a remedy and they sent the code
>> sample shown below, which I uploaded to a test site:
>> upquick.com/message/forminput4.htm to try to use, but it does not
>> work.
>>
>> What do I need to change to get this to work?:



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss