Does anyone know how to execute a script inside an image. ive embedded 1. html 2. javascript inside images, they are not password protected and i would like to find out how i can execute the code in the image from a web page. thanks
sadly its not possible , unless u plan to use some browser exploit ... which will be browser specific. Also why would you want to do so ?
You can execute it on your own website, if you use .htaccess to make certain file extensions be executed through PHP. Like you could have .jpg files execute through PHP. You could run PHP functions but I can't think of a way to have it echo.