Zen Follower
- Join Date:
- Dec 2008
- Location:
- Pittsburgh, PA
- Posts:
- 241
- Plugin Contributions:
- 0
Views: 529
Zen Follower
Deceased
wolfderby:
<?php echo zen_draw_textarea_field('comments', '45', '3', $_SESSION['comments'],'accesskey="n"'); ^is the "$_SESSION['comments']" part of that dangerous or a security flaw to do?
No. This input gets sanitised before use.
wolfderby:
when I have...
<?php echo zen_draw_textarea_field('comments', '45', '3', ,'accesskey="n"'); it redraws the field as empty, and I loose any form data entered on the first check out step.
The reason it redraws as empty is because you've removed the $_SESSION['comments'] field.
Cheers
Rod
Zen Follower
Thanks!
Tell staff why this post should be reviewed.