http://www.php.net/manual/function.readdir.php
complete with example.

Miles

At 03:24 PM 01/11/2001 +0530, sarahana wrote:
>Hi,
>I seem to be having some problem with the general php list, so I'm sending
>this question here - please do not get annoyed :-)
>
>I want to read a directory and count all the files in it so that i can store
>each file name into an array...
>
>please help.. I want to list the images in a dir this way instead of storing
>the info in the tables..
>thanks.
>
>----- Original Message -----
>From: "Cal Evans" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, January 07, 2001 7:25 PM
>Subject: RE: [PHP-DB] refresh for php/mysql chat
>
>
> > Internet.com did a paper a while back on writing "pushlets" in JavaScript
> > that allowed constant, 2-way communication between a web server and a web
> > page. This might be a better solution than auto refreshing the page.
> >
> > Sorry, I don't have a URL but if you go digging around on their site, it
> > shouldn't be hard to find.
> >
> > Cal
> >
> > -----Original Message-----
> > From: sarahana [mailto:[EMAIL PROTECTED]]
> > Sent: Sunday, January 07, 2001 12:49 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-DB] refresh for php/mysql chat
> >
> >
> > Hi,
> > I wrote a chat using php/mysql.. and everything is working fine, except
>that
> > I despise the meta auto-refresh - its really irritating :-)
> >
> > So I was wondering if anyone of you are aware of an alternative - if you
>do,
> > please do help me out.
> >
> > Also, to show the users online, I simply do a "select" retrieve from the
> > users table, and I delete an entry if the user logs out. But what if the
> > user does not log out and simply closes the window - what have you done /
>or
> > would do to delete the entry from the table? Is there a way to check all
>the
> > cookies (I'm  using cookie for login) and see if there is a certain value
>of
> > the cookie that does not exist? If I could do that, then I could delete
>the
> > entry...
> >
> >
> > Thanks,
> > sarahana
> >
> >
> > --
> > PHP Database 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 Database 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 Database 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 Database 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]

Reply via email to