Re: Daily pic problem
- From: Michael Fesser <netizen@xxxxxx>
- Date: Sat, 20 Sep 2008 18:02:48 +0200
..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
.
- References:
- Daily pic problem
- From: shror
- Re: Daily pic problem
- From: Jerry Stuckle
- Re: Daily pic problem
- From: shror
- Daily pic problem
- Prev by Date: Re: PHP work hours
- Next by Date: Which folders/ files to download from a php site for offline work?
- Previous by thread: Re: Daily pic problem
- Next by thread: Re: Daily pic problem
- Index(es):