Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $script_name = "./script.js";
- header("Content-Type: text/javascript");
- if(file_exists($script_name))
- {
- header("Content-Length: " . filesize($script_name));
- $fp = fopen($script_name, 'r');
- fpassthru($fp);
- exit;
- }
Add Comment
Please, Sign In to add comment