Re: [PHP] Problem with ocasional blank value

2008-01-18 Thread Richard Lynch
On Fri, January 18, 2008 9:12 am, Joey wrote: > I have a problem that the below code which is supposed to display a > random > image and on occasion it shows NO image. > > I'm not sure what is happening. This is running on linux just in case > that > makes any difference. > > <% > > $image_folder

Re: [PHP] Problem with ocasional blank value

2008-01-18 Thread Jim Lucas
Joey wrote: Hi All, I have a problem that the below code which is supposed to display a random image and on occasion it shows NO image. I'm not sure what is happening. This is running on linux just in case that makes any difference. <% $image_folder = "new_random/"; $dir = $_SERVER[

Re: [PHP] Problem with ocasional blank value

2008-01-18 Thread Jochem Maas
Joey schreef: Hi All, I have a problem that the below code which is supposed to display a random image and on occasion it shows NO image. I'm not sure what is happening. This is running on linux just in case that makes any difference. <% $image_folder = "new_random/"; $dir = $_SERVE

Re: [PHP] Problem with ocasional blank value

2008-01-18 Thread Eric Butera
On Jan 18, 2008 10:12 AM, Joey <[EMAIL PROTECTED]> wrote: > Hi All, > > > > I have a problem that the below code which is supposed to display a random > image and on occasion it shows NO image. > > I'm not sure what is happening. This is running on linux just in case that > makes any difference. >

[PHP] Problem with ocasional blank value

2008-01-18 Thread Joey
Hi All, I have a problem that the below code which is supposed to display a random image and on occasion it shows NO image. I'm not sure what is happening. This is running on linux just in case that makes any difference. <% $image_folder = "new_random/"; $dir = $_SERVER['DOCUMENT_ROOT']