Pretty much yeah... I don't know the layout of your subscription form but
let's say you have 2 fields... username and email address... a quick and
dirty method [could] be:

<?php
if ((!isset($_POST['username']) || empty($_POST['username'])) &&
(!isset($_POST['email']) || empty($_POST['email']))     {
        Header ('location: http://mysite.com);
        Die();
}
?>

That would just ignore any form that doesn't have an email address and user
entered into the form

That's just an example and an oversimplified one at that

If you need any more help with it email me offlist and I'll see what I can
do :)

HTH

Dan

-- 
Dan Parry
Senior Developer
Virtua Webtech Ltd
http://www.virtuawebtech.co.uk

-----Original Message-----
From: Portman [mailto:[EMAIL PROTECTED] 
Sent: 16 May 2006 15:13
To: [email protected]
Subject: Re: [wdvltalk] Subscriptions

Thanks Dan.  Do you mean put something in the php file saying "if the 
fields are empty, abort"?

Dan Parry wrote:
> Could be either really... Best thing is to do a quick server-side
validation
> or skip empty forms
>
> HTH
>
> Dan
>
>   

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To:
mailto:[EMAIL PROTECTED] or
use the web interface
http://e-newsletters.internet.com/discussionlists.html/
       Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.6/340 - Release Date: 15/05/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.5.6/340 - Release Date: 15/05/2006
 


____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
       Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: unknown lmsubst tag argument: ''
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to