[PHP-WIN] ListBox

2007-05-04 Thread sam rumaizan
The code is fine. But I have one problem, when the ListBox display the data it gives me extra empty lines. How can I get rid of these lines? < ListBox Code ---> echo""; echo''; $result = my

FW: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
From: Juan Ignacio Borda [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 10:28 AM To: Bill Bolte Subject: Re: [PHP-WIN] Reload/refresh web page ahhah i'm a cache administrator as well as php developer there is no easy solution to avoid caching either in

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Do a search with AJAX CACHE ISSUE. There are tons of links and it seems to be directed mostly at Internet Explorer. At it simplest, when your user is getting sent back to the page to view, make sure the URL has an extra value in the querystring (if you're passing stuff back already) such as: http:

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Aleksandar Vojnovic
If you are allready using ajax, then don't request the page with get paramater but using POST. The script you are calling must have headers set to expire immidiatly ala Bill Bolte wrote: Aaah, so it's a caching issue then. Is that particular content using PHP's caching mechanism or is it sim

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Aaah, so it's a caching issue then. Is that particular content using PHP's caching mechanism or is it simply the browser's cache settings mucking things up? You are correct, it is the broser, and I have no control over which browser they are using or how that browser is config

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Aaah, so it's a caching issue then. Is that particular content using PHP's caching mechanism or is it simply the browser's cache settings mucking things up? AJAX techniques run into the browser cache issue all the time (not that your doing anything with AJAX here). One way to get around this is by

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Why isn't it being retrieved the first time the page is called? It is but the page I need to reload is a dynamic page that may be used as a menu to call another php that would be used to update a database contents of which were displayed on the original page and on return to

RE: [PHP-WIN] automatic-click flash?

2007-05-04 Thread Gustav Wiberg
Hi there! Thanx you all for your solutions! /Gustav -Original Message- From: Bill Bolte [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 4:08 PM To: php-windows@lists.php.net Subject: RE: [PHP-WIN] automatic-click flash? Here's what we do... In the head of the html/php file(s):

RE: [PHP-WIN] automatic-click flash?

2007-05-04 Thread Bill Bolte
Here's what we do... In the head of the html/php file(s): And in that JavaScript file goes: var objects = document.getElementsByTagName("object"); for (var i=0; imailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 4:06 AM To: 'php windows' (php-windows@lists.php.net) Subject: [PHP-WIN] autom

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
I'll go with Bill's suggestion. Just track whether the page has already been loaded. Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? But, if you need to reload the first time someone hit's a page, add a querystring value to the url and track it.

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Why isn't it being retrieved the first time the page is called? -Original Message- From: Alf Stockton [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 9:03 AM To: php windows Subject: Re: [PHP-WIN] Reload/refresh web page Bill Bolte wrote: > Can we ask why you need a reload every tim

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Bill Bolte wrote: Can we ask why you need a reload every time? Maybe there's a better approach? The page I want reloaded is dynamic and every time it displays I want it to be retrieved from the server, but how? If you can make another suggestion I would be happy to hear it. -- Regards, Alf S

RE: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Bill Bolte
Can we ask why you need a reload every time? Maybe there's a better approach? But, if you need to reload the first time someone hit's a page, add a querystring value to the url and track it. If the value isn't there ( if(!isset($_GET['reload'])){// do a reload} ), then do a header: location call.

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Kevin Smith wrote: // The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In this example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the docum

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Jody Williams wrote: I have seen references to using the "refresh" without the content. could this be incorporated into an onload event? www.html-reference.com says that Indicates the document displays for a specified amount of time before switching to a new URL. The full absolute URL must be

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Kevin Smith
// The argument to the location.reload function determines // if the browser should retrieve the document from the // web-server. In this example all we need to do is cause // the JavaScript block in the document body to be // re-evaluated. If we needed to pull the document from // the web

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Jody Williams
I have seen references to using the "refresh" without the content. could this be incorporated into an onload event? On 5/4/07, Alf Stockton <[EMAIL PROTECTED]> wrote: Jody Williams wrote: > what about using: > > That would refresh after 600 seconds. Not quite what I want. I want to refresh on r

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
Jody Williams wrote: what about using: That would refresh after 600 seconds. Not quite what I want. I want to refresh on reload but as I said in my original email:- My first thought was to add refresh within a onload but this would be daft as one would end up in a permanent loop. but thank y

Re: [PHP-WIN] Reload/refresh web page

2007-05-04 Thread Jody Williams
what about using: On 5/4/07, Alf Stockton <[EMAIL PROTECTED]> wrote: I need to add some coding to a web page that forces a reload from the server every time the page loads, no matter where the user came from. I already have the following meta tags but that does not do what is required. http:/

Re: [PHP-WIN] automatic-click flash?

2007-05-04 Thread Stut
Gustav Wiberg wrote: Hi there! I searched the Internet about "Click to activate this control"... Why it is viewd in IE... "Q. Why do I see "Click to activate this control."? Microsoft® changed the way ActiveX controls behave so Dynamic HTML (DHTML) events related to user interaction, such as

[PHP-WIN] automatic-click flash?

2007-05-04 Thread Gustav Wiberg
Hi there! I searched the Internet about "Click to activate this control"... Why it is viewd in IE... "Q. Why do I see "Click to activate this control."? Microsoft® changed the way ActiveX controls behave so Dynamic HTML (DHTML) events related to user interaction, such as onblur and onclick, ar

[PHP-WIN] Reload/refresh web page

2007-05-04 Thread Alf Stockton
I need to add some coding to a web page that forces a reload from the server every time the page loads, no matter where the user came from. I already have the following meta tags but that does not do what is required. I also cannot use the full URL, as has been recommendedon the web, as thes

[PHP-WIN] Java/PHP-bridge

2007-05-04 Thread Gustav Wiberg
Hi there! I just ran into a place called php/Java-bridge http://php-java-bridge.sourceforge.net/pjb/ Anyone have experience of this? (have used it) mvh /Gustav Wiberg HMN Konsult http://www.hmn.se/ 0500-27 20 56 -- PHP Windows Mailing List (http://www.php.net/) To unsub

[PHP-WIN] Java/PHP

2007-05-04 Thread Gustav Wiberg
Hi there! I just ran into a place called php/Java-bridge http://php-java-bridge.sourceforge.net/pjb/ Anyone have experience of this? (have used it) mvh /Gustav Wiberg HMN Konsult http://www.hmn.se/ 0500-27 20 56