Re: graphics not displaying
| From: | Steph Jobes | Date: | Thu, 23 Jan 2003 22:40:13 +0000 |
| Subject: | Re: graphics not displaying | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-18059@lists.php.net to get a copy of this message | ||
For anyone that's interested, I figured out what the problem was, though I
don't understand why.
My images were in a folder called "images." I wondered if that name was
conflicting with something in Apache. So I renamed the folder to "img" and
changed the image references to /img, and suddenly all of the images are
appearing. I knew it was something dumb like that.
If anyone knows why "images" didn't work and "img" works, I'd sure
like to
hear about it!
Thanks,
Steph Jobes
"Steph Jobes" <sjobes@ussl.ars.usda.gov> wrote in message
news:20030113231906.82946.qmail@pb1.pair.com...
> Hi,
>
> I'm learning PHP, and I'm sure there is a simple answer to this question.
>
> I've created a simple test web site with each of the pages using PHP to
call
> included files for the header, footer, and navigational bar. The files for
> the header, footer, and navigational bar are simple HTML files with a few
> graphics. The main PHP pages also contain graphics. The PHP is working
> great - I even have a breadcrumb trail using PHP that is working great.
The
> header, footer, and navigational bar all come in to the calling pages.
> However, NONE of the graphics display for any of the included files or
main
> pages (whether they are php or html). I thought it might be my source
> references (which are relative), but even when I put in absolute
references,
> the graphics will not display.
>
> Part of the problem, I think, is that Apache running on our web server is
> the version that was supplied by Oracle. When I installed a downloaded
> version of Apache on the web server, my test site worked perfectly - BUT -
> the Oracle database functions were totally lost. I'm stuck using the
version
> of Apache that came with Oracle.
>
> The test site works perfectly on my test computer, where I'm running the
> standalone version of the Apache web server with Windows 98 and PHP
version
> 4.2.2 (running as a module).
>
> What is it about the Oracle's Apache that is keeping my graphics from
> displaying? Is there a setting that I am missing in the conf file?
>
> Server information:
> Windows NT 4.0 SP6a
> Oracle HTTP Server Powered by Apache/1.3.12 (Win32)
> PHP version 4.2.2 (running as a module)
>
> I will gladly supply more details if needed.
>
> Thanks so much for any help you can give me!
> Steph Jobes
>
>