how can i execute a php page from within a page?
just include it?
like?
include("image.php");
is this the best way?
can i execute another page from within,
like asp's server.execute()
display.php
<head><title>show image</title>
</head>
<body bgcolor="hotpink">
<?php
execute(image.php);
?>
</body>
image.php
<?php
header("Content-type: image/jpeg");
$file=fopen("test.jpg","rb");
fpassthru($file);
?>