Re: Daily pic problem



..oO(shror)

Thanks Jerry for your quick response, but I have tried the if
(file_exists ($photo)) and its also giving me the default image

here is the code I used:

<?php

$date = date("Y-m-d");
echo "";
$ext = ".jpg";

$photo = "/DailyPic/photos/thumbs/$date". $ext ;

$photo = $_SERVER['DOCUMENT_ROOT']."/DailyPic/photos/thumbs/$date$ext";

Micha
.