Re: How 2 pass a hidden field string in html form to a php script
- From: "Tru7nk" <trunk@xxxxxxxxx>
- Date: Sat, 4 Apr 2009 08:34:12 +0200
Michael Fesser:
Users can manipulate everything that's sent to the server: HTTP headers,
form fields, cookies ... You simply have to take this into account and
always validate the received data in your script.
I now validate to check if they don't match what I need:
if ( $_POST[fields] != 'validation string' ){
exit;
}
would that be sufficient?
--
Tru7nk
.
- Follow-Ups:
- Re: How 2 pass a hidden field string in html form to a php script
- From: Geoff Berrow
- Re: How 2 pass a hidden field string in html form to a php script
- From: J.O. Aho
- Re: How 2 pass a hidden field string in html form to a php script
- References:
- How 2 pass a hidden field string in html form to a php script
- From: Tru7nk
- Re: How 2 pass a hidden field string in html form to a php script
- From: Tru7nk
- Re: How 2 pass a hidden field string in html form to a php script
- From: Michael Fesser
- How 2 pass a hidden field string in html form to a php script
- Prev by Date: Re: same files, different sites?
- Next by Date: Re: How 2 pass a hidden field string in html form to a php script
- Previous by thread: Re: How 2 pass a hidden field string in html form to a php script
- Next by thread: Re: How 2 pass a hidden field string in html form to a php script
- Index(es):
Relevant Pages
|