Reply to Re: newbie, how do I put a required field

Your name:

Reply:


Posted by Kentor on 12/06/06 03:41

thats the same thing he wrote....

Laura25 wrote:
> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация