Hello.
I have an application that generete HTML5 form in PHP.
The form is written in a while loop and therefore the form field has exact
same name for every row in the loop.
And that is the problem. Because when my PHP document shall handle
submitted data it only take the very last row in the whil
Better yet, don't allow the user to enter a From address. Simply give
them subscribe and unsubscribe radio buttons, and make sure the
un/subscribe-ee gets a confirmation email. And certainly check your
input fields for newlines. :)
On 8/7/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
On Mon, A
On Mon, August 7, 2006 2:37 am, David Dorward wrote:
> Richard Lynch wrote:
>
>> > if (isset($_REQUEST['email'])){
>> $success = mail($_REQUEST['action'], 'un/subscribe',
>> 'un/subscribe', "From: $_REQUEST[email]\r\nReply-to:
>> $_REQUEST[email]");
>> if ($success) echo "Status Change Se
Richard Lynch wrote:
>if (isset($_REQUEST['email'])){
> $success = mail($_REQUEST['action'], 'un/subscribe',
> 'un/subscribe', "From: $_REQUEST[email]\r\nReply-to:
> $_REQUEST[email]");
> if ($success) echo "Status Change Sent";
> else echo "Unable to send Status Change";
> }
> ?
On Fri, August 4, 2006 7:14 am, David Ellsworth wrote:
> I was wondering how simple it would be to set up a script to provide a
> subscribe/unsubscribe form for a list serve. The form would send an
> email to
> the subscribe address or unsubscribe address as selected.
It's pretty simple:
Subsc
what I need is what I would use after the form is submitted - responding to
whether the form sent the value (post likely from a dropdown field) of
"subscribe" or unsubscribe" to the posted page for processing.
On 8/4/06 8:52 AM, "Duncan Hill" <[EMAIL PROTECTED]> wrote:
> On Friday 04 August 2006
of the
> requirements of the can-spam law) to set up a mailing list that does
> not include opt-in/-out confirmation requirements.]
>
> - Rick
>
> Original Message
>> Date: Friday, August 04, 2006 08:14:58 AM -0400
>> From: David Ellswo
In most cases, your PHP build is set up with mail() attached to whatever
SMTP you have on the server.
you would just use the following...
mail($recipientemail,$subject,$message);
On 8/4/06, Duncan Hill <[EMAIL PROTECTED]> wrote:
On Friday 04 August 2006 13:27, Jay Blanchard wrote:
> [snip]
>
On Friday 04 August 2006 13:27, Jay Blanchard wrote:
> [snip]
> I was wondering how simple it would be to set up a script to provide a
> subscribe/unsubscribe form for a list serve. The form would send an
> email to
> the subscribe address or unsubscribe address as selected.
> [/snip]
>
> I wondere
[snip]
I was wondering how simple it would be to set up a script to provide a
subscribe/unsubscribe form for a list serve. The form would send an
email to
the subscribe address or unsubscribe address as selected.
[/snip]
I wondered about that the other day myself and came to the conclusion
that it
I was wondering how simple it would be to set up a script to provide a
subscribe/unsubscribe form for a list serve. The form would send an email to
the subscribe address or unsubscribe address as selected.
Thanks
David
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
11 matches
Mail list logo