Welcome Guest, Not a member yet? Register   Sign In
xss attack
#2

Output the value of the form element either like this:

<input type="text" name="email" value="<?php echo html_escape($email); ?>" />

Or like this

<input type="text" name="email" value="<?php echo set_value('email'); ?>" />

Either method will escape your data for output to the screen.
Reply


Messages In This Thread
xss attack - by scalar1 - 05-12-2016, 12:52 AM
RE: xss attack - by CINewb - 05-12-2016, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB