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

Your name:

Reply:


Posted by flamer die.spam@hotmail.com on 12/03/06 22:17

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

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