首先,与我没有法典。 I m收集需要数据以启动一个项目。
I will be having multiple <form>
s on a website which are all linked to the same PHP page, say for example to send email or add data to DB.
现在,我可以建立表格,并用购买力平价网页向亚洲开发银行发送邮件或增加数据。 我需要知道......。 如果其中任何表格都指PHP网页,那么我如何知道为什么会这样做?
而且,对形式采取双重效力是否更好? 我指的是,客户方然后是服务器方?
Since we are talking about validation, is it better to be, on client-side, JS or JQuery (I can write both)? And about the DB thing, how can I secure it?!! I mean, how can I assure that the user won t enter a PHP code to mess things up and how I can detect it.
I know this seems to be like general question or a discussion, but you will be helping me a lot. And frankly, I ve been using this website for around 3 yrs now, and you guys helped me pass my grad project with a great grade :) So I m willing to find answers here :)
Thanks all.