[PHP] refresh
I want to be able to refresh my browser window after a submission to a database. Is there a reliable function out there that can accomplish this? Kris
[PHP] refresh
Hello, to refresh a site I use this ( ), but, now I make some updates im my right page and I want to refresh other page( left page of frameset ).How can I do it? T.Y. Best Regards Miguel Loureiro <[EMAIL PROTECTED] >
RE: [PHP] refresh
after database submission, header("location: ...") re-directed to the script you wish to go to -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: [PHP] refresh I want to be able to refresh my browser window after a submission to a database. Is there a reliable function out there that can accomplish this? Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] refresh
yes, put the name of the PHP file -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:23 PM To: Rick Emery Subject: RE: [PHP] refresh When I delete a record from a table in php it loops back to the table. However, It does not show that the record has been deleted. I have to click on the refresh button to see the change. I am not sure how this header function works. Do you put the name of the php file as the location? Kris -Original Message- From: Rick Emery [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:09 PM To: Kris Vose; [EMAIL PROTECTED] Subject: RE: [PHP] refresh after database submission, header("location: ...") re-directed to the script you wish to go to -Original Message- From: Kris Vose [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: [PHP] refresh I want to be able to refresh my browser window after a submission to a database. Is there a reliable function out there that can accomplish this? Kris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] refresh Browser
Hi! a general php-question! do I have to care about the web-browser reloading a php-page automatically and not taking a cached one! For example submit.php (the conent changes every second!): CLICK what do I have to do, to guarentee that the client has got the actual page? - or does the browser know - ordering a .php page means "really fetch it, and don't take the cached one! but what about proxy-server out there??? thanks for any hint witty -- Sent through GMX FreeMail - http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Refresh problems
Hello! Sorry for offtopic. I'm developing PHP page for the displaying some kind of statistic. It displays graphics for the selected user. Pictures updates every 5 minutes by external program. I've form with submit button. If I press this button with different user selected, everything is OK. But if I press this button for the same user selected, images doesn't update!!! I've added and to the page - it doesn't help! Please, help! Best regards, Andrew Kirilenko. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Refresh doesn't work
Hello php-general, Has anyone else here the same proplem as I have? I write in my php: header("Refresh: 3; url=newpage.php"); Netscape 4.79 works fine and goes to page.php after 3 seconds pass. But IE 6 doesn't want to do that. Can anyone explain such a wonderful behavior? -- Best regards, Olexandr mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] refresh Browser
> what do I have to do, to guarentee that the client has got the actual > page? > - or does the browser know - ordering a .php page means > "really fetch it, > and don't take the cached one! > but what about proxy-server out there??? Try using headers that expire your page if you're really worried about the browser getting a cached version. But, even then, I've seen browsers ignore this for some odd reason (you've got to love the internet and the rules it plays by.) -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com Car pour moi, la vie c'est le Christ, et la mort est un gain. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Refresh problems
Andrew Kirilenko wrote: > > Hello! > > Sorry for offtopic. > > I'm developing PHP page for the displaying some kind of statistic. > It displays graphics for the selected user. Pictures updates every 5 minutes > by external program. I've form with submit button. If I press this button > with different user selected, everything is OK. But if I press this button > for the same user selected, images doesn't update!!! > I've added and http-equiv="pragma" content="no-cache"> to the page - it doesn't help! > Let your php generates sources for images like this: '; ?> Now, for browser this image source is a little different every time and it must be requested from server, not from cache. At least Netscape does. Hope this helps. -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Refresh Main frame
Hi, how can I tell to refresh the main frame ( index.php ) from some subframe I use frames ) ? Thanks, Rosen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Refresh doesn't work
Have you tried creating HTML with the equivalent META header? Does it work for you? cheers, thalis On Mon, 20 May 2002, Olexandr Vynnychenko wrote: > Hello php-general, > > Has anyone else here the same proplem as I have? I write in my php: > > header("Refresh: 3; url=newpage.php"); > > Netscape 4.79 works fine and goes to page.php after 3 seconds pass. > But IE 6 doesn't want to do that. Can anyone explain such a wonderful > behavior? > > -- > Best regards, > Olexandr mailto:[EMAIL PROTECTED] > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Refresh doesn't work
[EMAIL PROTECTED] writes: >Hello php-general, > > Has anyone else here the same proplem as I have? I write in my php: > >header("Refresh: 3; url=newpage.php"); > >Netscape 4.79 works fine and goes to page.php after 3 seconds pass. >But IE 6 doesn't want to do that. Can anyone explain such a wonderful >behavior? > >-- >Best regards, > Olexandr try to use this: echo ""; I cannot use header either. Perhaps, I run PHP under Wins. However, the above syntax works well with any browser. Pong -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Refresh doesn't work
Do you really need that 3 second delay? You can use a location header instead... Bogdan Olexandr Vynnychenko wrote: >Hello Thalis, > >Monday, May 20, 2002, 10:51:57 PM, you wrote: > >TAK> Have you tried creating HTML with the equivalent META header? > >TAK> >TAK> >TAK> > >TAK> Does it work for you? > >TAK> cheers, >TAK> thalis > >TAK> On Mon, 20 May 2002, Olexandr Vynnychenko wrote: > >>>Hello php-general, >>> >>> Has anyone else here the same proplem as I have? I write in my php: >>> >>>header("Refresh: 3; url=newpage.php"); >>> >>>Netscape 4.79 works fine and goes to page.php after 3 seconds pass. >>>But IE 6 doesn't want to do that. Can anyone explain such a wonderful >>>behavior? >>> > >Of course, it works. But I wanted to do it by HTTP headers because I >generate HTML from XML thru XSLT, so I don't want to dig in there. > >I just wanted to know if it's usual for IE of any version, or it's >something wrong with my IE6 on WinXP. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Refresh Main frame
From: Rosen <[EMAIL PROTECTED]> Date: Tue, Aug 28, 2001 at 04:29:05PM +0300 Message-ID: <[EMAIL PROTECTED]> Subject: [PHP] Refresh Main frame > Hi, > how can I tell to refresh the main frame ( index.php ) from some subframe > I use frames ) ? > > Thanks, > Rosen window.parent.<name-of-mainframe>.reload(true); That should be what you're looking for... -- * R&zE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Refresh Main frame
Can I send params to main frame ? Thanks, Rosen "* R&Ze:" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > From: Rosen <[EMAIL PROTECTED]> > Date: Tue, Aug 28, 2001 at 04:29:05PM +0300 > Message-ID: <[EMAIL PROTECTED]> > Subject: [PHP] Refresh Main frame > > > Hi, > > how can I tell to refresh the main frame ( index.php ) from some subframe > > I use frames ) ? > > > > Thanks, > > Rosen > > > > > > > window.parent.<name-of-mainframe>.reload(true); > > > That should be what you're looking for... > > > > -- > > * R&zE: > > > -- > -- Renze Munnik > -- DataLink BV > -- > -- E: [EMAIL PROTECTED] > -- W: +31 23 5326162 > -- F: +31 23 5322144 > -- M: +31 6 21811143 > -- > -- Stationsplein 82 > -- 2011 LM HAARLEM > -- Netherlands > -- > -- http://www.datalink.nl > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Refresh Main frame
Yes but you would have to dynamically build the javascript statement up using php with the query string you wanted and use window.parent..location.href="index.php?"> -- Jon Farmer Õ¿Õ¬ Systems Programmer, Entanet www.enta.net Tel +44 (0)1952 428969 Mob +44 (0)7968 524175 PGP Key available, send blank email to [EMAIL PROTECTED] -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: 28 August 2001 15:04 To: [EMAIL PROTECTED] Subject: Re: [PHP] Refresh Main frame Can I send params to main frame ? Thanks, Rosen "* R&Ze:" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > From: Rosen <[EMAIL PROTECTED]> > Date: Tue, Aug 28, 2001 at 04:29:05PM +0300 > Message-ID: <[EMAIL PROTECTED]> > Subject: [PHP] Refresh Main frame > > > Hi, > > how can I tell to refresh the main frame ( index.php ) from some subframe > > I use frames ) ? > > > > Thanks, > > Rosen > > > > > > > window.parent.<name-of-mainframe>.reload(true); > > > That should be what you're looking for... > > > > -- > > * R&zE: > > > -- > -- Renze Munnik > -- DataLink BV > -- > -- E: [EMAIL PROTECTED] > -- W: +31 23 5326162 > -- F: +31 23 5322144 > -- M: +31 6 21811143 > -- > -- Stationsplein 82 > -- 2011 LM HAARLEM > -- Netherlands > -- > -- http://www.datalink.nl > -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Refresh Main frame
From: Rosen <[EMAIL PROTECTED]> Date: Tue, Aug 28, 2001 at 05:03:50PM +0300 Message-ID: <[EMAIL PROTECTED]> Subject: Re: [PHP] Refresh Main frame > Can I send params to main frame ? > > Thanks, > Rosen Well... yes, you can. You'll have to use a different kind of construction though: window.parent.<name-of-mainframe>.location.href = "<URL-of-mainpage>?<params-as-you-know>"; Depending on the construction as you use it in your PHP, you can do it in a better way. If you want to refresh the mainframe after eg submitting a form in a subframe you can just use the reload-thing as I sent earlier and then use sessions. Then you don't need to send params over the URL. But like I say... that totaly depends on the construction as you use it. -- * R&zE: -- -- Renze Munnik -- DataLink BV -- -- E: [EMAIL PROTECTED] -- W: +31 23 5326162 -- F: +31 23 5322144 -- M: +31 6 21811143 -- -- Stationsplein 82 -- 2011 LM HAARLEM -- Netherlands -- -- http://www.datalink.nl -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] refresh (part of) a page?
I want to refrech a part of my page (or the whole page) using PHP. Periodically, using a time delay. Should I use frames? Also I tried to use "header (...)" calling the same page with different name (and then back to the same page) but I got the warning: "header already send". I tried also "Location" and "pagename.php,FALSE" but also with no results. I want to refresh some pictures (jpg) but I don't want to use multi picture jpg as the page will be to large. Makis Savaidis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[2]: [PHP] Refresh doesn't work
Hello Thalis, Monday, May 20, 2002, 10:51:57 PM, you wrote: TAK> Have you tried creating HTML with the equivalent META header? TAK> TAK> TAK> TAK> Does it work for you? TAK> cheers, TAK> thalis TAK> On Mon, 20 May 2002, Olexandr Vynnychenko wrote: >> Hello php-general, >> >> Has anyone else here the same proplem as I have? I write in my php: >> >> header("Refresh: 3; url=newpage.php"); >> >> Netscape 4.79 works fine and goes to page.php after 3 seconds pass. >> But IE 6 doesn't want to do that. Can anyone explain such a wonderful >> behavior? Of course, it works. But I wanted to do it by HTTP headers because I generate HTML from XML thru XSLT, so I don't want to dig in there. I just wanted to know if it's usual for IE of any version, or it's something wrong with my IE6 on WinXP. -- Best regards, Olexandrmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re[4]: [PHP] Refresh doesn't work
Hello Johan, Tuesday, May 21, 2002, 2:13:07 AM, you wrote: JE> I'am admining both a IIS5.1 server and a Apache 2.0.35 server, under WinXP. JE> (say's it all, chaos!) JE> And I've never got the header to work, but location, does the trick, JE> sometimes... I don't know how it works Sometimes? Do you mean Location sometimes doesn't work? JE> with XML though... let me know if you figure it out... JE> Good Luck! -- Best regards, Olexandrmailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] refresh (part of) a page?
On Sunday 19 May 2002 18:03, savaidis wrote: > I want to refrech a part of my page (or the whole page) using PHP. > Periodically, using a time delay. > Should I use frames? You cannot refresh part of a page without resending the whole page. You can use frames. > Also I tried to use "header (...)" calling the same page with different > name (and then back to the same page) but I got the warning: > "header already send". *Read* the manual and see what it says about header() and "header already send". -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* A great many people think they are thinking when they are merely rearranging their prejudices. -- William James */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] refresh (part of) a page?
I look and I search everything, it looks I'm reaching to a wall :) I used Netscape, I uploaded to my internet server, still the same. Plus, I cannot find "header already send" at manual. The error message is : Warning: Cannot add header information - headers already sent by (output started at /mpla-mpla/main.php:41) in /mpla-mpla /main.php on line 83 Note that I use "header()" without problem on another php script on the same server.(to redirect from a "parcked" domain) Someone could help? Thanks Makis > -Original Message- > From: Jason Wong [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 19, 2002 3:35 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] refresh (part of) a page? > > > On Sunday 19 May 2002 18:03, savaidis wrote: > > I want to refrech a part of my page (or the whole page) using PHP. > > Periodically, using a time delay. > > Should I use frames? > > You cannot refresh part of a page without resending the whole > page. You can > use frames. > > > Also I tried to use "header (...)" calling the same page with different > > name (and then back to the same page) but I got the warning: > > "header already send". > > *Read* the manual and see what it says about header() and "header already > send". > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > A great many people think they are thinking when they are merely > rearranging their prejudices. > -- William James > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] refresh (part of) a page?
On Monday 20 May 2002 16:39, savaidis wrote: > I look and I search everything, it looks I'm reaching to a wall :) > I used Netscape, I uploaded to my internet server, still the same. > Plus, I cannot find "header already send" at manual. > > The error message is : > Warning: Cannot add header information - headers already sent by (output > started at /mpla-mpla/main.php:41) in /mpla-mpla /main.php on line 83 > > Note that I use "header()" without problem on another php script on the > same server.(to redirect from a "parcked" domain) > > Someone could help? As I've said, look up the header() function in the manual. It has all you need to know. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Always think of something new; this helps you forget your last rotten idea. -- Seth Frankel */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] refresh (part of) a page?
You can't have any output before you call header. Something in main.php on line 41 is causing some output that breaks the header() call. Be sure you don't have any whitespace at the end of included files. ---John Holmes... - Original Message - From: "savaidis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 4:39 AM Subject: RE: [PHP] refresh (part of) a page? > I look and I search everything, it looks I'm reaching to a wall :) > I used Netscape, I uploaded to my internet server, still the same. > Plus, I cannot find "header already send" at manual. > > The error message is : > Warning: Cannot add header information - headers already sent by (output > started at /mpla-mpla/main.php:41) in /mpla-mpla /main.php on line 83 > > Note that I use "header()" without problem on another php script on the same > server.(to redirect from a "parcked" domain) > > Someone could help? > > Thanks > > Makis > > > -Original Message- > > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, May 19, 2002 3:35 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [PHP] refresh (part of) a page? > > > > > > On Sunday 19 May 2002 18:03, savaidis wrote: > > > I want to refrech a part of my page (or the whole page) using PHP. > > > Periodically, using a time delay. > > > Should I use frames? > > > > You cannot refresh part of a page without resending the whole > > page. You can > > use frames. > > > > > Also I tried to use "header (...)" calling the same page with different > > > name (and then back to the same page) but I got the warning: > > > "header already send". > > > > *Read* the manual and see what it says about header() and "header already > > send". > > > > -- > > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > Open Source Software Systems Integrators > > * Web Design & Hosting * Internet & Intranet Applications Development * > > > > /* > > A great many people think they are thinking when they are merely > > rearranging their prejudices. > > -- William James > > */ > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] refresh (part of) a page?
Hi there!, To keep both on the same line, you need to put them inside a table (like this: ) You can switch off any borders with the following: in the iframe code use an iframe tag like this: So to combine the two (both on the same line with no borders), something like this... HTH, Dw - Original Message - From: "savaidis" <[EMAIL PROTECTED]> To: "Sqlcoders.com Programming Dept" <[EMAIL PROTECTED]> Sent: May 20 2002 08:42 AM Subject: RE: [PHP] refresh (part of) a page? > Thanks a lot! > > Is possible to make invisible the borders? I tried "border=0" and "noborder" > but didn't work. > > Also to keep the 2 frames (I did put and another the same line and not to break the other at the bottom of the first? > > You will see it from tomorow at http://www.macedonia-hotels.gr > > > Thanks again! > > > > > > Makis > > > > -Original Message- > > From: Sqlcoders.com Programming Dept [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 21, 2002 4:57 AM > > To: savaidis > > Subject: Re: [PHP] refresh (part of) a page? > > > > > > Hi there!, > > You cannot refresh part of a single page, > > you would have to resend the entire page. > > > > There is another option which you could use, this will work on IE5+ and > > NS6+: > > An inline frame would allow you to update the page within it's > > boundary, so > > in other words you could have a page which has an > src="partWhichWillRefresh.php" width=400 height=200> > > tag, then you > > would need a page called partWhichWillRefresh.php which contains > > the content > > you want to refresh, > > inside partWhichWillRefresh.php, add whatever content you want to refresh, > > and the following JavaScript to accomplish the refresh: > > > > > > x = setTimeout(reloadme,5000); //the 5000 means 5 seconds, 60 > > seconds would > > be 6, etc. > > > > function reloadme(){ > > document.location.href = 'partWhichWillRefresh.php?rnd=0393'; //the > > rnd=0394 is simply to stop most caching. > > } > > > > > > HTH, > > Dw > > > > - Original Message - > > From: "savaidis" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: May 20 2002 01:39 AM > > Subject: RE: [PHP] refresh (part of) a page? > > > > > > > I look and I search everything, it looks I'm reaching to a wall :) > > > I used Netscape, I uploaded to my internet server, still the same. > > > Plus, I cannot find "header already send" at manual. > > > > > > The error message is : > > > Warning: Cannot add header information - headers already sent by (output > > > started at /mpla-mpla/main.php:41) in /mpla-mpla /main.php on line 83 > > > > > > Note that I use "header()" without problem on another php script on the > > same > > > server.(to redirect from a "parcked" domain) > > > > > > Someone could help? > > > > > > Thanks > > > > > > Makis > > > > > > > -Original Message- > > > > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > > > Sent: Sunday, May 19, 2002 3:35 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [PHP] refresh (part of) a page? > > > > > > > > > > > > On Sunday 19 May 2002 18:03, savaidis wrote: > > > > > I want to refrech a part of my page (or the whole page) using PHP. > > > > > Periodically, using a time delay. > > > > > Should I use frames? > > > > > > > > You cannot refresh part of a page without resending the whole > > > > page. You can > > > > use frames. > > > > > > > > > Also I tried to use "header (...)" calling the same page with > > different > > > > > name (and then back to the same page) but I got the warning: > > > > > "header already send". > > > > > > > > *Read* the manual and see what it says about header() and "header > > already > > > > send". > > > > > > > > -- > > > > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > > > > Open Source Software Systems Integrators > > > > * Web Design & Hosting * Internet & Intranet Applications > > Development * > > > > > > > > /* > > > > A great many people think they are thinking when they are merely > > > > rearranging their prejudices. > > > > -- William James > > > > */ > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Refresh particular browser while updating another browser
Dear Expert, I would like how to refresh particular browser with a new updated data when the user has updated it at another browser. Purpose of doing this is particular user won't user overwrite new value if he uses another browser to update it. Thank you Sincerely Yours Hendry Sumilo [EMAIL PROTECTED] http://members.tripodasia.com.my/hsumilo _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Refresh particular browser while updating another browser
On 13 Jan 2001 23:45:58 -0800, Hendry Sumilo <[EMAIL PROTECTED]> wrote: >I would like how to refresh particular browser with a new updated data when >the user has updated it at another browser. >Purpose of doing this is particular user won't user overwrite new value if >he uses another browser to update it. I don't think there's a good way of doing this sort of something strange with a Java applet. The easiest way of doing this would be to include a timestamp row in your database table; the edit form would be generated with the current value of that field. When they submit the form, your code can check to see if the time stamp that was current when the form was created is still valid and either process the request or give the user some sort of "Overwrite newer data (y/n)" prompt. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Refresh particular browser while updating another browser
>From everything I know, this can't be done easily. The only way I can think of to do it is to keep both sessions alive so that you still have a connection to the browser from the server. This is not real good. I would instead, explore options using JavaScript. I think I can see a couple of ways that you could use JavaScript to force a refresh of a window that it has a handle to, upon an event. (Like pressing the submit button in a browser.) Cal http://www.calevans.com -Original Message- From: Hendry Sumilo [mailto:[EMAIL PROTECTED]] Sent: Sunday, January 14, 2001 1:47 AM To: [EMAIL PROTECTED] Subject: [PHP] Refresh particular browser while updating another browser Dear Expert, I would like how to refresh particular browser with a new updated data when the user has updated it at another browser. Purpose of doing this is particular user won't user overwrite new value if he uses another browser to update it. Thank you Sincerely Yours Hendry Sumilo [EMAIL PROTECTED] http://members.tripodasia.com.my/hsumilo _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]