Re: Problem displaying images on windows
| From: | Daz | Date: | Tue, 05 Dec 2000 23:03:20 +0000 |
| Subject: | Re: Problem displaying images on windows | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4316@lists.php.net to get a copy of this message | ||
nope that is not the problem, I have now got php installed as the cgi and
the exact code now works.
However I would prefer to use the module but if there are problems at the
moment i'll go with the cgi option.
""Ignatius Teo"" <iteo@scu.edu.au> wrote in message
news:001901c05f0e$3f3cbd60$bf2602cb@scu.edu.au...
> It works on Apache 1.3.12, Win98, php4.04dev so it should work on your
config.
> Perhaps it is not finding the image in the current directory? Try
specifying the full path:
> eg.
> readfile("c:/inetpub/wwwroot/images/image.gif");
>
> Ignatius
>
> > -----Original Message-----
> > From: Daz [mailto:clark.darren@btinternet.com]
> > Sent: Wednesday, 6 December 2000 02:06
> > To: php-windows@lists.php.net
> > Subject: Re: [PHP-WIN] Problem displaying images on windows
> >
> >
> > Interesting anyone got it to work with apache, here some more
> > information:
> >
> > Windows NT 5.0 build 2195
> > Apache/1.3.14
> > PHP Version 4.0.4-dev or PHP Version 4.03
> >
> > currently image output does not work with this configuration
> > please reply with a working setup so I can alter mine thankyou
> >
> > and if so which version I'm using
> > "ENVAIN Bernard" <ENVAINBR@cic-i.com> wrote in message
> >
> > news:15808BE72FB2D311A616009027B68877D605FD@cibsd-exc.lil.cic-i.net...
> > It works with :
> > PHP 4.0.2 + IIS 4 + Win NT 4
> > and
> > PHP 4.0.2 + IIS 5 + W2K
> >
> > Cordially.
> > BE.
> >
> > -----Message d'origine-----
> > De: Daz [mailto:clark.darren@btinternet.com]
> > Date: mardi 5 décembre 2000 13:26
> > À: php-windows@lists.php.net
> > Objet: [PHP-WIN] Problem displaying images on windows
> >
> >
> > On linux using 4.0.3pl
> >
> > <?php
> > header("Content-type: image/gif");
> > readfile("image.gif");
> > ?>
> >
> > Displays the image when the php file is called.
> >
> > But on windows using 4.0.4-dev and tried 4.0.3pl
> >
> > no joy just a broken picture icon.
> >
> > Has anyone got a solution for this or is this a bug in the winversion?
> >
> > If anyone get's it to work on their version please could you
> > reply with the
> > build they are using :)
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail:
> > php-list-admin@lists.php.net
> >