Posted by Laura25 on 12/05/06 14:14
Thanks, L
Actualy I found this code that work better.
$fieldname = $_POST['fieldname'];
if(empty($fieldname))
{
print("write your message here");
exit();
}
<die.spam@hotmail.com> a ιcrit dans le message de news:
1165184261.302331.229810@l12g2000cwl.googlegroups.com...
>
> Laura25 wrote:
>> Hi,
>>
>> Ref : form (for bank cards information)
>>
>> I wish to put a required field on a form.
>>
>> What should I do on my php and html files ?
>>
>> Also,what is the coding to get the IP address of the sender.
>>
>> And finaly... how can I make may page (https) very secure ?
>>
>> ... please remember that I am a newbie in php...
>>
>> MANY thanks in advance for your help
>>
>> L
>
> if (!empty($fieldname)) {//process form} else {echo "Required field was
> not filled in.";}
>
> ip address is echo $SERVER['REMOTE_ADDR'];
>
> https is encrypted between the server and the end user, read online
> about preventing code injection its a topic that goes too in depth for
> this post.
>
> Flamer.
>
[Back to original message]
|