Re: Image Verification - Problems in Safari, Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/18/05 7:19 PM, "Richard Lynch" <ceo@xxxxxxxxx> wrote:

> Your image is *NOT* a DOCTYPE HTML PUBLIC blah blah!!!
> 
> It's a *IMAGE*
> 
> Get rid of all the HMTL stuff.
> 
> You actually need to separate this into two different files.
> 
> One has all the HTML in it, with a SRC=/URL/to/image.php/image.png
> 
> The other is JUST the image stuff.
> 
> If IE actually displays it as-is, that's pretty broken...  But IE is
> pretty broken as it is, so one more broken-ness shouldn't surprise
> anybody.


Ave,

Here's the problem.
I completely understand what's going on and that actually it was IE screwing
it up and Safari was actually doing the right thing. But my problem only
deepens right now with IE.

I did actually remove the Header which declared it as a Image/PNG and
everything seemed to work in both the browsers.

Here's my situation though... I can't separate out these two files because
when a user is on the verification page, where the Image exists, in case he
"reloads" or "refreshes" the page, a new image should be generated and
displayed, so that the verification code is different each time you reach
the verification page. If I was to keep the image code in a different page,
the verification page will pick up the same PNG image and display the same
security code over and over without changing it.

Removing the header with image/PNG actually was working for both browsers, I
could keep both the codes on one page and the page could be
refreshed/reloaded to display new security code... Or reached from anywhere
and you'd still have a new security code.

But here's the problem that came afterwards in IE !
IE is storing the image in it's cache.. And it's displaying the same image
on the verification page whether you use the BACK button, FORWARD button, or
actually go through the website and land back on the verification page. So
in IE, right now, unless you actually HIT the REFRESH button, it's not
changing the image as it's picking up the image from the Cache.

Now I'm not sure what exactly I should do to fix this whole situation.

Thanks all,

Rahul S. Johari
Coordinator, Internet & Administration
Informed Marketing Services Inc.
251 River Street
Troy, NY 12180

Tel: (518) 266-0909 x154
Fax: (518) 266-0909
Email: rahul@xxxxxxxxxxxxxxxxxxxx
http://www.informed-sources.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux