question on readfile()
From: vickie_raven (vickie_raven_at_hotmail.com)
Date: 03/29/04
- Next message: Piet: "This script does not act properly - why?"
- Previous message: T. Relyea: "Re: mysql union not working as thought"
- Next in thread: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Andy Hassall: "Re: question on readfile()"
- Reply: Andrew Bullock: "Re: question on readfile()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 14:13:02 -0500
This works fine, so i know that the path is ok.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<img src="/ccphotos/dec/page1/images/pics/0001.jpg">
</body>
</html>
but when i try this script i get an error
<?
header("Content-type: image/jpeg");
$path = "/ccphotos/dec/page1/images/pics/0001.jpg";
readfile($path);
?>
Thank you in advance!!
Vickie
- Next message: Piet: "This script does not act properly - why?"
- Previous message: T. Relyea: "Re: mysql union not working as thought"
- Next in thread: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Kapt. Boogschutter: "Re: question on readfile()"
- Reply: Andy Hassall: "Re: question on readfile()"
- Reply: Andrew Bullock: "Re: question on readfile()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|