On Mon, May 23, 2005 8:46 am, Rahul S. Johari said:
If I had misunderstood your method and you think your method is better
then
what I'm using now, I'd still really appreciate if you can clarify and
explain.
Your method is fine.
In fact, it penalizes IE for some stupidity in its caching,
Ave,
On 5/21/05 9:11 AM, Ryan A [EMAIL PROTECTED] wrote:
eg:
first have a function to generate a modest random string (I use 8 chars)
then in the image calling part call it something like this:
img src='?php echo $your_image_gets_called_here; ???php echo
$the_rand_string; ?'
as
Hey,
used to have the same problem, solved it by having a random string in the
img calling part.
eg:
first have a function to generate a modest random string (I use 8 chars)
then in the image calling part call it something like this:
img src='?php echo $your_image_gets_called_here; ???php
Richard Lynch wrote:
On Thu, May 19, 2005 6:05 am, Rahul S. Johari said:
I did actually remove the Header which declared it as a Image/PNG and
everything seemed to work in both the browsers.
Great. Now it works in 2 browsers, and breaks in 237.
You MUST separate the two.
Actualy he
Ave,
On 5/19/05 6:08 PM, Rory Browne [EMAIL PROTECTED] wrote:
if you have an image generated by
http://www.example.com/createimage.php , you could always refer to it
as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png
It's sounding logical, but could you explain a
Ave,
On 5/19/05 5:41 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
If more then one user is accesing the page, you might overwrite the
first one's verify.png image. Simple and sufficient solution is to
append a random string to the filename:
$image_filename= 'verify_' . md5(rand()) .
On Thu, May 19, 2005 6:05 am, Rahul S. Johari said:
I did actually remove the Header which declared it as a Image/PNG and
everything seemed to work in both the browsers.
Great. Now it works in 2 browsers, and breaks in 237.
You MUST separate the two.
Period.
Here's my situation though... I
On 5/18/05 7:19 PM, Richard Lynch [EMAIL PROTECTED] 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
On 5/18/05 6:23 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
BTW, you might not be concerned about it much, but you have a race
condition in your script.
Ave,
What do you mean by race condition ?
Rahul S. Johari
Coordinator, Internet Administration
Informed Marketing Services Inc.
251
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
On 5/19/05 10:59 AM, Murray @ PlanetThoughtful
[EMAIL PROTECTED] wrote:
Try forcing the browser to bypass the cache by adding the lines at the
following link to your page:
http://www.faqts.com/knowledge_base/view.phtml/aid/21068/fid/51
I thought this would definitely work because it looks
Rahul S. Johari wrote:
On 5/18/05 6:23 PM, Marek Kilimajer [EMAIL PROTECTED] wrote:
BTW, you might not be concerned about it much, but you have a race
condition in your script.
Ave,
What do you mean by race condition ?
If more then one user is accesing the page, you might overwrite the
first
if you have an image generated by
http://www.example.com/createimage.php , you could always refer to it
as http://www.example.com/createimage.php/{no_of_seconds_since_unix_epoch}.png
On 5/19/05, Rahul S. Johari [EMAIL PROTECTED] wrote:
On 5/19/05 10:59 AM, Murray @ PlanetThoughtful
[EMAIL
Ave,
A simple Image Verification script is working perfect in IE on Windows...
But isn¹t working in Safari on Mac OS X! It displays a blank page instead of
the image with the form. Here¹ s the Script:
?
header(Content-Type: image/png);
session_start();
$new_string;
On Thursday 19 May 2005 03:51, Rahul S. Johari wrote:
A simple Image Verification script is working perfect in IE on
Windows... But isnt working in Safari on Mac OS X! It displays a blank
page instead of the image with the form. Here s the Script:
That's because IE is severely broken? In
Rahul S. Johari wrote:
Ave,
A simple Image Verification script is working perfect in IE on Windows...
But isn¹t working in Safari on Mac OS X! It displays a blank page instead of
the image with the form. Here¹ s the Script:
?
header(Content-Type: image/png);
Because only Safari gets it right. With
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
17 matches
Mail list logo