Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while loop is running{
- $_SESSION['path'] = $imageURL;
- echo '<img src="pic.png">';
- }
- <?php
- session_start();
- $name = $_SESSION['path'];
- $fp = fopen($name, 'rb');
- header("Content-Type: image/png");
- header("Content-Length: " . filesize($name));
- fpassthru($fp);
- exit;
- ?>
Add Comment
Please, Sign In to add comment