pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Do yo know any function that...
3+ messages / 3 participants
[nested] [flat]

* Do yo know any function that...
@ 2002-05-02 08:43 Patricia Yábar <pyabar@unica.edu>
  2002-05-02 14:35 ` Re: Do yo know any function that... Keary Suska <hierophant@pcisys.net>
  2002-05-02 14:52 ` Re: Do yo know any function that... Surojit Niyogi <surojit@bungeecode.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Patricia Yábar @ 2002-05-02 08:43 UTC (permalink / raw)
  To: pgsql-php

Hello everybody, I have to programe  a kind of schedule that alert
finish  activities that i saved in a posgres database. Do you know if
there is any php function that alert to the clients automatically every
? time or something that help me to  present the schedule information
without the client have to do any action.
Thanks.
Patricia.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Do yo know any function that...
  2002-05-02 08:43 Do yo know any function that... Patricia Yábar <pyabar@unica.edu>
@ 2002-05-02 14:35 ` Keary Suska <hierophant@pcisys.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Keary Suska @ 2002-05-02 14:35 UTC (permalink / raw)
  To: Patricia Yábar <pyabar@unica.edu>; pgsql-php

on 5/2/02 2:43 AM, pyabar@unica.edu purportedly said:

> Hello everybody, I have to programe  a kind of schedule that alert
> finish  activities that i saved in a posgres database. Do you know if
> there is any php function that alert to the clients automatically every
> ? time or something that help me to  present the schedule information
> without the client have to do any action.
> Thanks.
> Patricia.

I am not entirely clear what you are trying to do, but in general using a
web browser, there is no way to have a persistent, bi-directional
communication to an HTTP server. At least not one that you can control.

There are ways to accomplish this kind of thing using JavaScript and
iframes. So as as far as PHP and Postgres is concerned, the answer to your
question is, "No, but it can be done."

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Do yo know any function that...
  2002-05-02 08:43 Do yo know any function that... Patricia Yábar <pyabar@unica.edu>
@ 2002-05-02 14:52 ` Surojit Niyogi <surojit@bungeecode.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Surojit Niyogi @ 2002-05-02 14:52 UTC (permalink / raw)
  To: Patricia Yábar <pyabar@unica.edu>; +Cc: pgsql-php

Patricia,

What you're looking for are "cron jobs".  These are tasks that are 
scheduled to run periodically according to the criteria you specify. 
 They are tied to the operating system (I'm assuming that you are 
running Linux).  In order to run php functions with cron job you 
typically have the cron job execute a console function that executes a 
php script using the following format:

/usr/bin/php -q [phpscriptname.php]

Of course you need the standalone php executable in order for this to 
work.  Post if you have more questions.

Roj Niyogi
Founder
pgHoster - PostgreSQL web hosting
http://www.pghoster.com

Patricia Yábar wrote:

>Hello everybody, I have to programe  a kind of schedule that alert
>finish  activities that i saved in a posgres database. Do you know if
>there is any php function that alert to the clients automatically every
>? time or something that help me to  present the schedule information
>without the client have to do any action.
>Thanks.
>Patricia.
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: Have you checked our extensive FAQ?
>
>http://www.postgresql.org/users-lounge/docs/faq.html
>
>
>  
>





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2002-05-02 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 08:43 Do yo know any function that... Patricia Yábar <pyabar@unica.edu>
2002-05-02 14:35 ` Keary Suska <hierophant@pcisys.net>
2002-05-02 14:52 ` Surojit Niyogi <surojit@bungeecode.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox