Re: [PHP] Chat

2010-11-10 Thread Warren Windvogel
On 10/11/2010 13:11, Ken Guest wrote: On Tue, 2010-11-09 at 16:51 +0100, Dušan Novaković wrote: Hello there, I have to make chat for website that has around 10 000 users (small social network). So before I start, I would like to hear

Re: [PHP] Chat

2010-11-09 Thread Warren Windvogel
On 09/11/2010 18:32, Steve Staples wrote: On Tue, 2010-11-09 at 16:51 +0100, Dušan Novaković wrote: Hello there, I have to make chat for website that has around 10 000 users (small social network). So before I start, I would like to hear different opinions. Important thing is to have in min

Re: [PHP] stristr query trouble

2010-05-13 Thread Warren Windvogel
Ron Piggott wrote: $subjects = "Delivery Status Notification(Failure)"; Here is my syntax: if ( stristr( $subjects, "Delivery Status Notifcation(Failure)" ) ) { Notification is misspelled. Next time copy and paste the comparison string or use regular expressions to be more safe. Kind rega

Re: [PHP] Reg Ex

2008-10-31 Thread Warren Windvogel
Eric Butera wrote: ...or you could just use pathinfo and be done with it. I work for clients. Clients shouldn't have to read a faq to upload a file. I agree. I assumed that pathinfo simply returned the relative or absolute path of the file. After further inspection I have to stand corrected

Re: [PHP] Reg Ex

2008-10-31 Thread Warren Windvogel
Eric Butera wrote: Who says every file will have an extension? Who says they're all .+3 chars? When I first started php I tried that and it failed in a lot of places. I've also run into that problem in the past. The way that I could work around all these issues was to document naming convent