hai all,
in the parent window by clicking an anchor tag i am showing some data's fetching from the database in an iframe using get method.when we pass through the get method the datas may be hacked by the attacker.So how i can submit the iframe file from the parent window using javascript or php. waiting for ur valuable reply

Any kind of submission, to another page or iframe, using post or get is exposed to the possibility of attacks. The only thing that you can do is validate that the data is in the right format. The most effective form of validation is server side because that occurs after the form submission. Something like this should help you get started:
http://www.lotsofcode.com/php/validation.htm

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.