On 18 Jan, 21:29, JTF <[email protected]> wrote:
> I have had a similar issue, but with a business process which didn't
> quite work right.
>
> try this
> Have a PHP look for a file called VIEW.STOP (nothing else, just look
> for it).....If it exists, display a pay saying site is being updated
> Have the PHP look for a file called VIEW.GO......If it exists, show
> the image page........
> That takes care of the client locking your image file and/or html
> file....
>
> For you image upload automation
> Put a file called VIEW.STOP.
> Delete and upload the new image
> RENAME VIEW.STOP to VIEW.GO once your file is uploaded.
>
> What you want to do is eliminate contention for the files....
>
> try doing this via PHP so you have control over what is displayed as
> opposed to static HTML which doesn't control anything.
Interesting idea,
What I was thinking was similar.
Upload your image then upload a file for php to look for. I thought
you could then delete that file and load your image.
I still think you would need 2 images because I don't think you could
start a new upload while the file was being viewed especially if it
tried to start the upload before the browser refresh had completely.
So 2 pages, 2 images but just 1 control file. What do you think?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ubuntu Linux" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubuntulinux?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to