I have a simple php file having only:
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("content-type:application/javascript");
echo "var md = 0 ";
In my html file I am calling the php file in iframe
:
<iframe src="../API/index.php?i=MTQ4MDkyMDY1Mg==&d" width="100" height="100"></iframe>
While using the link in script tag its working but when I try to use it in iframe
I'm getting the mime application/javascript error.