Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Redirect after image load PHP!

$
0
0
Hello Fellow Forumers,
 
I am trying to work out how I can redirect after the following "image.php" has finished loading.
I have a large loading image that I want to render and then redirect once complete.
 
I have tried so many ways, but just can't work it out.
My image code is:
 
<?php
Header ('Content-type: image/jpeg');
Header('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
Header('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
Header('Pragma: no-cache');
 
$image = imagecreatefromjpeg("image.jpg");
 
$img_width = 514;
$img_height = 128;
 
imagepng($image);
imagedestroy($image);
 
?>
 
Your help is greatly appreciated.
 
Regards,
Pico~

Viewing all articles
Browse latest Browse all 13200

Trending Articles