Reply to Re: Uploaded images displayed after a few minutes

Your name:

Reply:


Posted by MZ on 12/30/07 20:35

Uzytkownik "C. (http://symcbean.blogspot.com/)" <colin.mckinnon@gmail.com>
napisal w wiadomosci
news:013bf46f-572d-4c0b-880a-fcf11c13206f@n20g2000hsh.googlegroups.com...
> On 30 Dec, 19:52, "MZ" <marcinzmyslow...@poczta.onet.pl> wrote:
>> Hello!
>>
>> I have created a script for uploading photographs with size less than 50 KB.
>> Everything works fine, but the images are viewable after a not so long time,
>> but
>> not at once. I would like to have the photographs available just after
>> successful upload. Can you tell me, maybe there is some way to do that? Is it
>> a
>> my hosting server fault?
>>
>
> Are you putting the image at a URL your browser has recently requested
> - i.e. the most likely explanation is that the server is making the
> file available immediately, but your browser has a file in its cache
> with caching instructions.
>
> Try iehttpheaders for MSIE or TamperData for Firefox to find out if
> that's really what's going on.
>
> Of course your ISP could be running some non-realtime filesystem
> clustering solution (like a crontab'ed rsync) but you pay them money
> for support.
>
> C.
>


Ok thank you for help.
Can you explain me one more thing if I understood you correctly.
If I upload the page before sending a header, my page shows me the image I have
just changed.
Is it true? Or no and I should clean up the cache even after uploading the
images before
sending header?

My file is:

<?
//here I put a code to upload the page
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>my title</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">

<script type="text/javascript" src="js/funkcje.js"></script>

</HEAD>

Thank you again for your help C.

Marcin

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация