Wrox Programmer Forums
|
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 February 21st, 2005, 08:20 AM
Authorized User
 
Join Date: Dec 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Refresh Problem

Hi all,

I have a page on my site which uploads an image and then displays a preview of this image.

My problem is that the image only appears after the page has been refreshed and I would like it to appear as soon as the form is submitted.

Thanks for your help in advance.



 
Old February 21st, 2005, 10:52 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919
Default

Hi Gkirk!!!
Two ways to do this
1) After loading image redirect the page and show image

2)User frame or iframe at bottom and show the image after uploading it

Hope this will help you


Cheers :)

vinod
 
Old February 25th, 2005, 04:14 PM
Authorized User
 
Join Date: Jan 2005
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

or simply javascript function, which dynamicly change the image on the page

Yo





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh problem hsucp2p PHP How-To 6 January 4th, 2008 07:02 PM
Still the "Refresh problem" ... fskilnik Dreamweaver (all versions) 10 October 20th, 2005 11:25 AM
ASP Refresh problem MDrumm BOOK: Beginning ASP 3.0 2 May 25th, 2005 11:01 AM





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