Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 1st, 2007, 03:43 PM
Authorized User
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to malay mehta Send a message via Yahoo to malay mehta
Default How to upload image without refreshing page in IE

We have developed a site in which there are many effects applied on the image.For Example Black & White, Making it grey shade, Sepis Effect,etc.
But i can only the view the effect on the image after rereshing the image in IE 6 or later.It is also been discovered that our code fine with Mozilla FF, Opera, Netscape Web Browsers.
I had also tried with the available Meta tags but still it is not helping me out.I know there can be limitation of the browser but till can anyone can help me out to sort this problem.....
Waititng keenly for some effective reply.....
Thanks,
Malay Mehta

malay mehta
__________________
Its me M.B.Mehta. Catch me at [email protected] or [email protected]
 
Old March 2nd, 2007, 10:44 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

What about refreshing only the image using javascript DOM. Maybe that can solve your problem.

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
 
Old March 5th, 2007, 01:19 AM
Authorized User
 
Join Date: Mar 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to malay mehta Send a message via Yahoo to malay mehta
Default

Hi DJ Kat,
    Please give me some more idea about the javascript DOM you are talking about. Can i get some sample code or any helpful thing that would allow me to solve this problem. The other thing its a problem with IE only but it works fine with other browsers.The optional solution is that i have to refresh the page twice and then i can get the effects on the image being applied. Its ok but still it does not solve my problem of the page being getting cached. i dont wanna allow it to be cached. Also refreshing the page requested twice is not good when i see myself as a user or specially when user is a naive to such systems.
Neways thanks for helping and reply to this thing.

Thanks,

Malay Mehta
 
Old March 6th, 2007, 10:25 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me get a clear view on how your PHP app works.

These effects you are talking about, these are applied to the image you upload right? Once the editing of the image is complete you overwrite the old image,

Is this what happens?.

you could try creating a random variable in your redirect to prevent cache.
for example
Code:
heading("imagePage.php?randnumber=".rand());




__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
page not refreshing Bill Crawley ASP.NET 2.0 Basics 8 February 28th, 2007 11:39 AM
Page not found upon image upload phpPro2000 Pro PHP 1 April 20th, 2006 02:37 PM
refreshing XML withour refreshing the page sasidhar79 XML 1 January 12th, 2005 05:16 AM
refreshing a webcam page jake HTML Code Clinic 2 March 10th, 2004 05:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.