Why is ValidateInput(False) not working?

With asp.net 4, you’ll need to configure the validation mode in the web.config as well. Set the following as a child of the <system.web> element: <system.Web> … <httpRuntime requestValidationMode=”2.0″/> Asp.Net 4 sets the requestValidationMode to 4.0 by default, which tells the system to perform request validation before the BeginRequst phase of the HTTP request. The … Read more

A potentially dangerous Request.Form value was detected from the client

I think you are attacking it from the wrong angle by trying to encode all posted data. Note that a “<” could also come from other outside sources, like a database field, a configuration, a file, a feed and so on. Furthermore, “<” is not inherently dangerous. It’s only dangerous in a specific context: when … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)