Jump to content

[SOLVED] VERY easy one - I hope...


fizix

Recommended Posts

Why, when I insert:

[code]<INPUT TYPE="hidden" VALUE="<img hspace=\"0\" border=\"0\" align=\"bottom\" src=\"http://www.onr.navy.mil/media/releases/image_gallery/images/hyfly_booster_test_vehicle_captive_carry.jpg\" />" NAME="content">[/code]

in an HTML page, do I see:

[code]" NAME="content">[/code]

on the page?
Link to comment
https://forums.phpfreaks.com/topic/35864-solved-very-easy-one-i-hope/
Share on other sites

You may have to wrap the value in htmlentities so that it prints the value of < and not the html tag <. I missed the beginning of the img where you're trying to pass a whole html tag. Try running the string through htmlentities() first

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.