Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

window.setTimeout equivalent in PHP?

 
Goto page 1, 2
   Database Forums (Home) -> PHP RSS
Next:  Error with < in SQL  
Author Message
Csaba Gabor

External


Since: Sep 02, 2007
Posts: 9



(Msg. 1) Posted: Sun Sep 02, 2007 8:56 pm
Post subject: window.setTimeout equivalent in PHP?
Archived from groups: comp>lang>php (more info?)

Is there a straightforward way of implementing a PHP equivalent to
window.setTimeout?

In a javascript web app, it's often the case that things are done on
an event driven basis. For example, html elements might have things
like onclick="buttonClicked()" to indicate that the function
buttonClicked should be run when that element is clicked.

The analogue can be done in PHP (on Windows) using com_event_sink. In
other words, you can respond to events that a COM object (such as
Excel, Internet Explorer, Words, etc) experiences via a PHP function.
Of course, at the end of your PHP script you would have a loop to the
effect of
while ($GLOBALS['keepLooping']) { com_message_pump(200); }
so that the PHP script stays in memory and doesn't terminate. That is
to say, in this way those event callback functions will be available.
So far, so good.

However, getting a PHP function to run on a timed basis (without any
delay loops) does not seem so easy, which leads to my question: Is
there a straightforward way of implementing a PHP equivalent to
window.setTimeout?

In other words, I'd like to be able to kick off a PHP function after a
certain amount of time has elapsed. One possible way to think of this
is an event driven Sleep. One way to do this is to ensure that I have
a copy of IE up, and then I can use IE's window's own .setTimeout to
tie it into PHP, but this is a bit messy not to mention that I don't
like the IE requirement.

Thanks for any ideas,
Csaba Gabor from Vienna

 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 1366



(Msg. 2) Posted: Sun Sep 02, 2007 9:09 pm
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Csaba Gabor wrote:
> Is there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>
> In a javascript web app, it's often the case that things are done on
> an event driven basis. For example, html elements might have things
> like onclick="buttonClicked()" to indicate that the function
> buttonClicked should be run when that element is clicked.
>
> The analogue can be done in PHP (on Windows) using com_event_sink. In
> other words, you can respond to events that a COM object (such as
> Excel, Internet Explorer, Words, etc) experiences via a PHP function.
> Of course, at the end of your PHP script you would have a loop to the
> effect of
> while ($GLOBALS['keepLooping']) { com_message_pump(200); }
> so that the PHP script stays in memory and doesn't terminate. That is
> to say, in this way those event callback functions will be available.
> So far, so good.
>
> However, getting a PHP function to run on a timed basis (without any
> delay loops) does not seem so easy, which leads to my question: Is
> there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>
> In other words, I'd like to be able to kick off a PHP function after a
> certain amount of time has elapsed. One possible way to think of this
> is an event driven Sleep. One way to do this is to ensure that I have
> a copy of IE up, and then I can use IE's window's own .setTimeout to
> tie it into PHP, but this is a bit messy not to mention that I don't
> like the IE requirement.
>
> Thanks for any ideas,
> Csaba Gabor from Vienna
>

No, PHP is not an event-driven language. And, as a web app, it receives
no events from the client.

What exactly are you trying to do?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.RemoveThis@attglobal.net
==================

 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
salmobytes

External


Since: Jul 02, 2007
Posts: 3



(Msg. 3) Posted: Mon Sep 03, 2007 1:00 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 2, 4:51 pm, Csaba Gabor wrote:
> Is there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>

You might want to consider programming in java, using the
Google Web Tookit. It's not php. But it is a slick event
driven environment for building complex web-app GUIs.

You program in Java. Communication with the server is done
with a remote method interface that looks a lot like Java RMI.
Your java code is transformed--by the Google compiler--into
javascript, using Ajax or Ajax like messaging to the server.
They do all the browser sniffing for you. The GUIs are
lightning fast. Mouse clicks in dropdown menus
can update a remote database, without refreshing the local
screen. It's overkill for simple websites. But for complex
even driven chatter with a remote database, GWT is hard
to beat.
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Rik Wasmus

External


Since: Sep 02, 2007
Posts: 210



(Msg. 4) Posted: Mon Sep 03, 2007 3:56 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 03 Sep 2007 00:51:14 +0200, Csaba Gabor wrote:
> In other words, I'd like to be able to kick off a PHP function after a
> certain amount of time has elapsed. One possible way to think of this
> is an event driven Sleep. One way to do this is to ensure that I have
> a copy of IE up, and then I can use IE's window's own .setTimeout to
> tie it into PHP, but this is a bit messy not to mention that I don't
> like the IE requirement.

Just a side note here: MSIE is not necessary, just a reasonably javascript
capable UA.
--
Rik Wasmus
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
shimmyshack

External


Since: Jun 05, 2007
Posts: 9



(Msg. 5) Posted: Mon Sep 03, 2007 6:14 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 3, 2:00 pm, Michael Fesser wrote:
> .oO(Jerry Stuckle)
>
> >OK, you're using the wrong tool for this. PHP is server side, not
> >client side, and has no idea what happens at the client.
> Csaba wrote:
>
> | My question was about CLI PHP (Command Line Interface or CLIent side
> | php), and not server side processing.
>
> Micha

Cant you just fire the navigate() method, then sleep for $timeoutTime
and then execute onDocumentComplete or similar, assume that if it
doesn't return true that you are safe to fire an error. However you
recognise that even IE cant tell you whether all the frames in a page
have loaded, and what does onDocumentComplete mean for some remote but
unessential elements - adverts say.. I'm not at all sure that you
should be writing this part in PHP, rather and perhaps more stably
use .NET and expose a COM interface for php to call bespoke methods...

http://msdn2.microsoft.com/en-us/library/aa768329.aspx
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Norman Peelman

External


Since: Jan 20, 2007
Posts: 39



(Msg. 6) Posted: Mon Sep 03, 2007 7:38 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Csaba Gabor wrote:
> Is there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>
> In a javascript web app, it's often the case that things are done on
> an event driven basis. For example, html elements might have things
> like onclick="buttonClicked()" to indicate that the function
> buttonClicked should be run when that element is clicked.
>
> The analogue can be done in PHP (on Windows) using com_event_sink. In
> other words, you can respond to events that a COM object (such as
> Excel, Internet Explorer, Words, etc) experiences via a PHP function.
> Of course, at the end of your PHP script you would have a loop to the
> effect of
> while ($GLOBALS['keepLooping']) { com_message_pump(200); }
> so that the PHP script stays in memory and doesn't terminate. That is
> to say, in this way those event callback functions will be available.
> So far, so good.
>
> However, getting a PHP function to run on a timed basis (without any
> delay loops) does not seem so easy, which leads to my question: Is
> there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>
> In other words, I'd like to be able to kick off a PHP function after a
> certain amount of time has elapsed. One possible way to think of this
> is an event driven Sleep. One way to do this is to ensure that I have
> a copy of IE up, and then I can use IE's window's own .setTimeout to
> tie it into PHP, but this is a bit messy not to mention that I don't
> like the IE requirement.
>
> Thanks for any ideas,
> Csaba Gabor from Vienna
>

For a web application using PHP and Javascript, using AJAX along with
sessions would work. If you are going to provide a GUI to the users then
PHP-GTK would work (event driven).

Norm
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
shimmyshack

External


Since: Jun 05, 2007
Posts: 9



(Msg. 7) Posted: Mon Sep 03, 2007 8:57 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 3, 3:55 pm, Csaba Gabor wrote:
> On Sep 3, 3:14 pm, shimmyshack wrote:
>
>
>
>
>
> > On Sep 3, 2:00 pm, Michael Fesser wrote:
>
> > > .oO(Jerry Stuckle)
>
> > > >OK, you're using the wrong tool for this. PHP is server side, not
> > > >client side, and has no idea what happens at the client.
> > > Csaba wrote:
>
> > > | My question was about CLI PHP (Command Line Interface or CLIent side
> > > | php), and not server side processing.
>
> > > Micha
>
> > Cant you just fire the navigate() method, then sleep for $timeoutTime
> > and then execute onDocumentComplete or similar, assume that if it
> > doesn't return true that you are safe to fire an error.
>
> Thanks, this is a great suggestion.
>
> > However you
> > recognise that even IE cant tell you whether all the frames in a page
> > have loaded, and what does onDocumentComplete mean for some remote but
> > unessential elements - adverts say..
>
> This is a good point, but I believe I am aware of the relevant issues
> (including the difficulty of associating frames with their
> containers). Actually, downloadComplete is the event that I key on.
> For example, hit that back button on IE and documentComplete does not
> fire, whereas downloadComplete does. However, downloadComplete is
> exceptionally poorly designed since all you get back is the IE object,
> and not even a handle to the window in question. Nevertheless, for a
> situation where I only need access to the top level DOM,
> downloadComplete (with $ie->readyState >= 3) suffices.
>
> > I'm not at all sure that you
> > should be writing this part in PHP, rather and perhaps more stably
> > use .NET and expose a COM interface for php to call bespoke methods...
>
> >http://msdn2.microsoft.com/en-us/library/aa768329.aspx
>
> My objections against .NET are
> (1) Bloat - the thing is huge, last time I looked, not to mention that
> my Win XP configuration needed to change simply as a result of
> installing it.
> (2) Stability - When I go to Microsoft's web site to download it (OK,
> I haven't checked in well over a year) and see zillions of versions,
> that is major red flag territory telling me that it's still
> effectively a beta product. When I see an unambiguous -> use this
> version <- I'll know there's some semblance of stability. Perhaps
> it's already happened?
> (3) Difficulty of use - I've occasionally seen newsgroup rambling of
> how something that is simple with .COM is tortuous with .NET (sorry,
> this is just hearsay since I can't recall any specifics, and it is
> also old news)
> (4) No compelling reason - Nobody has been able to explain to me what
> advantage it would offer to me (I.e. what can I not do with COM that I
> would want to do with .NET)- Hide quoted text -
>
> - Show quoted text -

I see, I have to say some of the .NET stuff feels more native and
there are great sites like codeproject.com to help out.
I once made a php script to navigate ie, so I could "follow" my users
around one of my sites, and see what they did, there was a javascript
in the head that just sent the users actions back to my home server
where a php script listened, and automated IE, I used it for a while
and then got tired of the weird syntax of php+COM.
It's great though using php's activescripting to do useful tasks on
windows, have you checked out windows powershell though, which offers
power (through .NTE and COM) but also ease of use - with alot of
cmdlets (built in functions) and user cmdlets to download and share.
It's the perfect lightweight tool to automate stuff, like AutoIT3 but
in a shell, without needing to have the user install PHP - which alot
of admins are suspicious of - for instance I use powershell at work
where windows abounds, but php activescripting at home, but powershell
does feel nice - although I'm not master at it yet. my $0.02
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Csaba Gabor

External


Since: Sep 02, 2007
Posts: 9



(Msg. 8) Posted: Mon Sep 03, 2007 9:58 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sep 3, 1:38 pm, Norman Peelman wrote:
> Csaba Gabor wrote:
> > Is there a straightforward way of implementing a PHP equivalent to
> > window.setTimeout?
....
> > Thanks for any ideas,
> > Csaba Gabor from Vienna
>
> For a web application using PHP and Javascript, using AJAX along with
> sessions would work.

No web app involved. This is strictly client side.

If you are going to provide a GUI to the users then PHP-GTK would work
(event driven).

Would that not require me to insist that all the users of the system
also install a separate component (namely PHP-GTK), in addition to
PHP? Isn't it better to stick stricly within PHP/IE which also
provides a standard event driven GUI, provided I can assume a windows
audience?

> Norm
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Michael Fesser

External


Since: Mar 01, 2006
Posts: 314



(Msg. 9) Posted: Mon Sep 03, 2007 9:58 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

..oO(Jerry Stuckle)

>OK, you're using the wrong tool for this. PHP is server side, not
>client side, and has no idea what happens at the client.

Csaba wrote:

| My question was about CLI PHP (Command Line Interface or CLIent side
| php), and not server side processing.

Micha
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 1366



(Msg. 10) Posted: Mon Sep 03, 2007 10:01 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Michael Fesser wrote:
> .oO(Jerry Stuckle)
>
>> OK, you're using the wrong tool for this. PHP is server side, not
>> client side, and has no idea what happens at the client.
>
> Csaba wrote:
>
> | My question was about CLI PHP (Command Line Interface or CLIent side
> | php), and not server side processing.
>
> Micha

Yes, I can read, Micha. My comment stands.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.DeleteThis@attglobal.net
==================
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 1366



(Msg. 11) Posted: Mon Sep 03, 2007 10:03 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Csaba Gabor wrote:
> On Sep 3, 1:38 pm, Norman Peelman wrote:
>> Csaba Gabor wrote:
>>> Is there a straightforward way of implementing a PHP equivalent to
>>> window.setTimeout?
> ...
>>> Thanks for any ideas,
>>> Csaba Gabor from Vienna
>> For a web application using PHP and Javascript, using AJAX along with
>> sessions would work.
>
> No web app involved. This is strictly client side.
>
> If you are going to provide a GUI to the users then PHP-GTK would work
> (event driven).
>
> Would that not require me to insist that all the users of the system
> also install a separate component (namely PHP-GTK), in addition to
> PHP? Isn't it better to stick stricly within PHP/IE which also
> provides a standard event driven GUI, provided I can assume a windows
> audience?
>
>> Norm
>

Norm,

I wouldn't install PHP on a client just because a web site required it.
I'd go somewhere else, instead.

PHP is not made for client side programming. It does not have any of
the security features, etc.

If I understand what you want to do, you should be looking at java
applets or similar technology. PHP is not the right way to go.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.DeleteThis@attglobal.net
==================
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Norman Peelman

External


Since: Jan 20, 2007
Posts: 39



(Msg. 12) Posted: Mon Sep 03, 2007 10:58 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jerry Stuckle wrote:
> Csaba Gabor wrote:
>> On Sep 3, 1:38 pm, Norman Peelman wrote:
>>> Csaba Gabor wrote:
>>>> Is there a straightforward way of implementing a PHP equivalent to
>>>> window.setTimeout?
>> ...
>>>> Thanks for any ideas,
>>>> Csaba Gabor from Vienna
>>> For a web application using PHP and Javascript, using AJAX along with
>>> sessions would work.
>>
>> No web app involved. This is strictly client side.
>>
>> If you are going to provide a GUI to the users then PHP-GTK would work
>> (event driven).
>>
>> Would that not require me to insist that all the users of the system
>> also install a separate component (namely PHP-GTK), in addition to
>> PHP? Isn't it better to stick stricly within PHP/IE which also
>> provides a standard event driven GUI, provided I can assume a windows
>> audience?
>>
>>> Norm
>>
>
> Norm,
>
> I wouldn't install PHP on a client just because a web site required it.
> I'd go somewhere else, instead.
>
> PHP is not made for client side programming. It does not have any of
> the security features, etc.
>
> If I understand what you want to do, you should be looking at java
> applets or similar technology. PHP is not the right way to go.
>

Yeah, I understand what you're saying Jerry. The OP hasn't provided
enough details until this last post. I see now that the OP wants to
'drive' IE via PHP without a server. And in his original post says he
doesn't like the idea of having to use IE either. As for your first
sentence, it seems that is exactly what he's doing.

Norm
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Csaba Gabor

External


Since: Sep 02, 2007
Posts: 9



(Msg. 13) Posted: Mon Sep 03, 2007 11:32 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My question was about CLI PHP (Command Line Interface or CLIent side
php), and not server side processing. The analogy to
window.setTimeout was because many people are familiar with it.

To repeat, the question is: What is the cleanest way of implementing a
PHP equivalent to window.setTimeout (on CLI PHP)?

As mentioned in the original post, it is strightforward to do event
driven programming in php using com_event_sink and com_message_pump.
PHP is happy with client side, event driven processing of COM
objects. Furthermore, a (client side) setTimeout can be implemented
by using IE's own window.setTimeout to call into PHP (presumably,
Excel's Application.OnTime could serve the same purpose), but I was
hoping for a cleaner method.

How am I using this? Consider that I might like to use IE to navigate
a certain sequence of pages. So I have the following, right?:
$ie = new COM("InternetExplorer.Application");
$ie->visible = true; // during development
$ie->Navigate2 ("http://somewhere");

Now normally, one would then have a loop to the tune of
while ($ie->readyState<3) { com_message_pump(200); }
In other words, we wait until ie has loaded the page.

However, I'd like to do this on an event driven basis. That is to
say, when http://somewhere has loaded, I'd like to automatically kick
off a function somewhereHasLoaded($ie). And this is fairly
straightforward by trapping on $ie's downloadComplete event.

However, this isn't the full story, because suppose that something
happens and ie doesn't finish loading. That's why there's always a
timeout for these types of situations. For the loop situation, it's
pretty clear:
while ($ie->readState<3 && time()<$timeoutTime) {
com_message_pump(200); }


However, the event driven situation has a problem. I need to be
signalled both upon the downloadComplete event and also, and upon a
timeout. Hence the question of the cleanest way to do it.


On Sep 3, 12:51 am, Csaba Gabor wrote:
> Is there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?

....

> However, getting a PHP function to run on a timed basis (without any
> delay loops) does not seem so easy, which leads to my question: Is
> there a straightforward way of implementing a PHP equivalent to
> window.setTimeout?
>
> In other words, I'd like to be able to kick off a PHP function after a
> certain amount of time has elapsed. One possible way to think of this
> is an event driven Sleep. One way to do this is to ensure that I have
> a copy of IE up, and then I can use IE's window's own .setTimeout to
> tie it into PHP, but this is a bit messy not to mention that I don't
> like the IE requirement.
>
> Thanks for any ideas,
> Csaba Gabor from Vienna
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Jerry Stuckle

External


Since: Aug 11, 2004
Posts: 1366



(Msg. 14) Posted: Mon Sep 03, 2007 11:32 am
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Csaba Gabor wrote:
>> However, getting a PHP function to run on a timed basis (without any
>> delay loops) does not seem so easy, which leads to my question: Is
>> there a straightforward way of implementing a PHP equivalent to
>> window.setTimeout?
>>
>> In other words, I'd like to be able to kick off a PHP function after a
>> certain amount of time has elapsed. One possible way to think of this
>> is an event driven Sleep. One way to do this is to ensure that I have
>> a copy of IE up, and then I can use IE's window's own .setTimeout to
>> tie it into PHP, but this is a bit messy not to mention that I don't
>> like the IE requirement.
>>
>> Thanks for any ideas,
>> Csaba Gabor from Vienna
>
> My question was about CLI PHP (Command Line Interface or CLIent side
> php), and not server side processing. The analogy to
> window.setTimeout was because many people are familiar with it.
>
> To repeat, the question is: What is the cleanest way of implementing a
> PHP equivalent to window.setTimeout (on CLI PHP)?
>
> As mentioned in the original post, it is strightforward to do event
> driven programming in php using com_event_sink and com_message_pump.
> PHP is happy with client side, event driven processing of COM
> objects. Furthermore, a (client side) setTimeout can be implemented
> by using IE's own window.setTimeout to call into PHP (presumably,
> Excel's Application.OnTime could serve the same purpose), but I was
> hoping for a cleaner method.
>
> How am I using this? Consider that I might like to use IE to navigate
> a certain sequence of pages. So I have the following, right?:
> $ie = new COM("InternetExplorer.Application");
> $ie->visible = true; // during development
> $ie->Navigate2 ("http://somewhere");
>
> Now normally, one would then have a loop to the tune of
> while ($ie->readyState<3) { com_message_pump(200); }
> In other words, we wait until ie has loaded the page.
>
> However, I'd like to do this on an event driven basis. That is to
> say, when http://somewhere has loaded, I'd like to automatically kick
> off a function somewhereHasLoaded($ie). And this is fairly
> straightforward by trapping on $ie's downloadComplete event.
>
> However, this isn't the full story, because suppose that something
> happens and ie doesn't finish loading. That's why there's always a
> timeout for these types of situations. For the loop situation, it's
> pretty clear:
> while ($ie->readState<3 && time()<$timeoutTime) {
> com_message_pump(200); }
>
>
> However, the event driven situation has a problem. I need to be
> signalled both upon the downloadComplete event and also, and upon a
> timeout. Hence the question of the cleanest way to do it.
>
>
> On Sep 3, 12:51 am, Csaba Gabor wrote:
>> Is there a straightforward way of implementing a PHP equivalent to
>> window.setTimeout?
>
> ...
>

(Top posting fixed)

OK, you're using the wrong tool for this. PHP is server side, not
client side, and has no idea what happens at the client. For instance,
it doesn't know when the client has completed loading the page. All it
knows is that the page has finished executing on the server and passed
the output onto the web server.

You might look into javascript, for instance, which runs on the client.
It can handle the page loaded. But it can't handle a timeout if the
page doesn't get loaded. No one can, AFIAK.

But what are you trying to accomplish with all of this?

P.S. Please don't top post. Thanks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex.RemoveThis@attglobal.net
==================
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Michael Fesser

External


Since: Mar 01, 2006
Posts: 314



(Msg. 15) Posted: Mon Sep 03, 2007 12:00 pm
Post subject: Re: window.setTimeout equivalent in PHP? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

..oO(Jerry Stuckle)

>Michael Fesser wrote:
>> .oO(Jerry Stuckle)
>>
>>> OK, you're using the wrong tool for this. PHP is server side, not
>>> client side, and has no idea what happens at the client.
>>
>> Csaba wrote:
>>
>> | My question was about CLI PHP (Command Line Interface or CLIent side
>> | php), and not server side processing.
>>
>Yes, I can read, Micha. My comment stands.

The CLI doesn't involve any server. I even use it for shell scripts. Of
course you can write applications in PHP that don't communicate via HTTP
with some other. As far as I understand the OP is using PHP for writing
some kind of Windows application and wants to capture messages sent by
another app.

Micha
 >> Stay informed about: window.setTimeout equivalent in PHP? 
Back to top
Login to vote
Display posts from previous:   
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada) (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]