Home › Forums › Back End › PHP Problem – Dynamically loading images into a gallery › Re: PHP Problem – Dynamically loading images into a gallery
> the first line is a $tempDir allocation, so that should be fine.
“should be,” sure. But you need to check. That function might be failing – you have no way to know unless you check.
> Replacing get_bloginfo(‘template_url’) with TEMPLATEPATH fixes the issue.
As a side note, you should avoid using URLs to access stuff on your own host. There’s no reason to open your front door, walk around the house, and come in through the back door just to get from the living room to your kitchen, right?