Re: [PHP] online/offline...but on a list of users

2005-09-04 Thread Ryan A
> I want to add this same functionality to a forum on the same site (the forum > was custom programmed > from scratch and not any of the popular ones), but since in a single thread > there can be a lot of different > people/usernames that answer I would prefer _not_ to do a select lookup for > eac

Re: [PHP] online/offline...but on a list of users

2005-09-04 Thread Edward Vermillion
Ryan A wrote: Hi, I have a profiles page where next to the username I have a icon that says "Online" or "Offline" if the persons whose profile you are browsing signed in or clicked anything in the last 3 minutes (I am also using a meta refresh to call a script every 2 1/2 mins) this is how i am d

[PHP] online/offline...but on a list of users

2005-09-04 Thread Ryan A
Hi, I have a profiles page where next to the username I have a icon that says "Online" or "Offline" if the persons whose profile you are browsing signed in or clicked anything in the last 3 minutes (I am also using a meta refresh to call a script every 2 1/2 mins) this is how i am doing it: $check

[PHP] Filter based on ctype_print()

2005-09-04 Thread Rick Emery
I have a function that retrieves data from a database and prints it as XML. I have a page that loads the data into simple_xml and outputs it in the browser. Certain data causes simple_xml to display a parse error (I have no control over the data that goes into the database). I've been able to d

[PHP] Re: Generating images on the fly, linking via symlink?

2005-09-04 Thread Raj Shekhar
Dan Trainor <[EMAIL PROTECTED]> writes: > Hello, all - > > This is a question that could depend on a completely different (yet, > relayed) subject, so I'm sending this email to both php-general@ and > [EMAIL PROTECTED] I thank you in advance for your understanding. > > I am currently generating

Re: [PHP] fread and fgets (network streams)

2005-09-04 Thread The Gimper
Sorry for the bump, but please anyone? :P Quoting The Gimper <[EMAIL PROTECTED]>: > On the php.net you can read the following about fread: > > "fread() reads up to length bytes from the file pointer referenced by > handle. > Reading stops when length bytes have been read, EOF (end of file) is >

[PHP] FTP Chmod problem

2005-09-04 Thread Matt Palermo
Hello everyone. I have a script where I am using FTP functions to chmod files/folders. I'm running into a problem with the ftp_chmod() function when trying to change the permissions of a directory. Here is the code I'm using: ftp_chmod($connId, 0777, $folder); The function almost works, but

[PHP] Re: Scary nonsense form submissions

2005-09-04 Thread John Taylor-Johnston
For badness, you could have an automated gif with a couple of numbers the user has to authenticate the form. If not complete or correct, add a header and send them to http://localhost/404.htm. Real nasty and will tie up their machine long enough. John Brian Dunning wrote: Hi all - I have f

[PHP] Re: PHP/MySQL offline

2005-09-04 Thread John Taylor-Johnston
This is maybe what you want: http://www.indigostar.com/ http://www.indigostar.com/microweb.htm Runs an apache server, php & all, from a CD. (windows app.) John Mario netMines wrote: Hi all I have a project where I'm using PHP/Mysql. The client wants to run that project to a cd. Does anyone kn

[PHP] Scary nonsense form submissions

2005-09-04 Thread Brian Dunning
Hi all - I have forms on a number of unrelated web sites that just send me an email for one purpose or another. There are 2 to 6 fields: name, email, comment, etc. No big deal. Recently I've been getting a lot of weird submissions. I'll receive half a dozen at a time, with all the fields

[PHP] PHP/MySQL offline

2005-09-04 Thread Mario netMines
Hi all I have a project where I'm using PHP/Mysql. The client wants to run that project to a cd. Does anyone know of a trick either by using javascript, XML or an automated script that creates a static site that will allow me to do that? Many Thanks M -- PHP General Mailing List (http://w