niklasvh / html2canvas-proxy

Proxies for html2canvas
http://html2canvas.hertzen.com/
32 stars 15 forks source link

html2canvas-proxy SyntaxError #8

Open rainchendan opened 10 years ago

rainchendan commented 10 years ago

Use php proxy or asp proxy, it reports 'syntax error' in line 1. I download the html2canvas-proxy zip, and use the proxy file, never modify the php proxy file, but it tells me 'syntax error' in line 1 '<?php'. screen shot 2014-06-03 at 12 17 36

html2canvas($('#draw-part'), { userCORS: true, proxy: "/html2canvasproxy.php", onrendered: function(canvas) {