Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Jim Lucas
On 8/12/2012 12:06 PM, BRIAN M. FITZPATRICK wrote: I've looked all over the net and I have been unable to find a concrete answer to this question. I am about to start development on a web application that will need to provide real-time updates of data to user's browsers. WebSockets are ideal f

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Matijn Woudt
On Mon, Aug 13, 2012 at 9:01 AM, Jim Lucas wrote: > On 8/12/2012 12:06 PM, BRIAN M. FITZPATRICK wrote: >> >> I've looked all over the net and I have been unable to find a concrete >> answer to this question. I am about to start development on a web >> application that will need to provide real-tim

Re: [PHP] Is PHP unsuitable for HTML5 WebSockets?

2012-08-13 Thread Adam Richardson
> I have read in some places on the net that PHP is not suitable for WebSockets > due to it's nature. That WebSockets are designed for long running > threads/processes which each maintain multiple event-driven connections, > whereas PHP was designed around the short-lived single process procedur

[PHP] Re: How to best set per-site PHP session storage under suPHP/WordPress?

2012-08-13 Thread Ian
On 13/08/2012 06:01, Philip Amadeo Saeli wrote: > I'm administering WordPress sites under suPHP on a CentOS LAMP server > and would like to know how I can set PHP to keep the session files under > the WP user's dir without having do duplicate the entire php.ini file > for each WP site while still m

Re: [PHP] Repeated New Object Requests

2012-08-13 Thread Robert Cummings
On 12-08-10 02:24 PM, Al wrote: Off the subject a bit. What does PHP do with repeated new classes, e.g. $mime = new Mail_mime Are they simply ignored or are additional new instances created. PHP won't let you duplicate function names. Hi Al, New isn't defining a class, it's a request for an

Re: [PHP] PHP session variables

2012-08-13 Thread Robert Cummings
On 12-08-10 04:42 PM, Tedd Sperling wrote: On Aug 10, 2012, at 1:21 PM, Ege Sertçetin wrote: Hi. My question will maybe out of topic, I'm sorry. How can you know that one way will be much slower than other one? I mean, how can I learn which function is faster before I test it? Ege: No your

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Robert Cummings
On 12-08-12 08:32 AM, Reto Kaiser wrote: Hi, So I have this strange situation where I assign a classvariable a value, but when I read the value it is NULL. The class has one variable declared: = class A { private $_cookies; } = That is a private instance variable NOT

Re: [PHP] Reading class variable value always returns NULL

2012-08-13 Thread Volmar Machado
It's only a hint, but You start checking if the Object Ids are the same or not. 2012/8/13 Robert Cummings : > On 12-08-12 08:32 AM, Reto Kaiser wrote: >> >> Hi, >> >> So I have this strange situation where I assign a classvariable a >> value, but when I read the value it is NULL. >> >> The class h

[PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread Daniel Brown
On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro wrote: > > Hello, my name is tomas, i'm having a problem and i've checked a lot of times > the script and it is not that, because in my local xampp server it works > correctly, the issue is that i have a form on my webpage and when you submitt > it,

Re: [PHP] Re: [PHP-WEBMASTER] php error

2012-08-13 Thread As'ad Djamalilleil
can we see the code of the form ? On Mon, Aug 13, 2012 at 11:09 AM, Daniel Brown wrote: > On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro > wrote: > > > > Hello, my name is tomas, i'm having a problem and i've checked a lot of > times the script and it is not that, because in my local xampp server

[PHP] about unlink

2012-08-13 Thread Tolga
hi, i have a very annoying problem with unlink() i use win7 and wamp server (apache 2.2.22 & php 5.4.3) when i try to use unlink: SCREAM: Error suppression ignored for Warning: unlink(aaa/bbb.ccc): Permission denied in C:\wamp\www\ddd\index.php on line /34/ neither the folder, nor the files ar

Re: [PHP] Re: How to best set per-site PHP session storage under suPHP/WordPress?

2012-08-13 Thread Philip Amadeo Saeli
* Ian [2012-08-13 09:50:51 +0100]: > On 13/08/2012 06:01, Philip Amadeo Saeli wrote: > > I'm administering WordPress sites under suPHP on a CentOS LAMP server > > and would like to know how I can set PHP to keep the session files under > > the WP user's dir without having do duplicate the entire p

[PHP] WebCodeSniffer : a web interface for PHP_CodeSniffer

2012-08-13 Thread EasyPHP
Hi I'm developing the WAMP server EasyPHP (www.easyphp.org) and I'm using PHP_CodeSniffer since a while. A lot of users of EasyPHP are confused when it comes to use a program with CLI like PHP_CodeSniffer. Besides, we always try to promote good practices and coding standards. So, I've developed a w