Re: Does PHP do this differently?



Bill H wrote:
I have a flash app that displays a lot of images that are streamed
through a script running on the website server. Originally this script
was in perl and I would load the image into flash using something
like:

/cgi-bin/image.pl?image=1234

I quickly realized that flash was showing me cached images so I added:

/cgi-bin/image.pl?image=1234&somerandomnumber

And all was good. Now I have rewritten the script in php to open the
file and stream it out with the correct headers and it works fine. But
I want to go back to the caching in flash for certain images that
don't change. So I dropped the randomnumber part but still, every
image is loaded, no cached image is shown. Is it possible that php is
sending some "no-cache" header before I send out my content type
headers? If so, how can I disable it?

Bill H


This has nothing to do with PHP It's strictly between your web server and the client

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: Does PHP do this differently?
    ... Bill H schreef: ... through a script running on the website server. ... I quickly realized that flash was showing me cached images so I added: ... file and stream it out with the correct headers and it works fine. ...
    (comp.lang.php)
  • Re: Does PHP do this differently?
    ... through a script running on the website server. ... I quickly realized that flash was showing me cached images so I added: ... file and stream it out with the correct headers and it works fine. ...
    (comp.lang.php)
  • Re: Does PHP do this differently?
    ... through a script running on the website server. ... was in perl and I would load the image into flash using something ... file and stream it out with the correct headers and it works fine. ...
    (comp.lang.php)
  • Re: script "chaining"
    ... bill wrote: ... If a task would take too long to run while attached to the browser, the current system writes the data to a database file. ... The daemon checks that file every 10 seconds and executes the task, writing the data back to database. ... If you take the A out of LAMP you can write a php script like a bash script or a perl script and execute it. ...
    (comp.lang.php)
  • Re: Looking For A Image Slide Show Script (Valid)
    ... give examples of their many slide shows in action. ... If you have the Roxio Video Wave editor which is part of the Roxio ... When you are done you can use the mpg to encode in flash, WMV, Real, ... If you worry that some viewers may have script turned off, ...
    (alt.html)