Skip to content

Instantly share code, notes, and snippets.

@mironal
Created June 17, 2012 06:58
Show Gist options
  • Save mironal/2943747 to your computer and use it in GitHub Desktop.
Save mironal/2943747 to your computer and use it in GitHub Desktop.
<?php
header('Content-Type: application/json; charset=urf-8');
$json = Array();
$json['sctipt'] = '<body onload=alert(1)>';
$json['miss img'] = '<img src=img.jpg>';
echo json_encode($json);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment