Re: [PHP] Socket error

2009-06-28 Thread Luke
2009/6/29 Stuart > 2009/6/29 Luke : > > Hey guys, getting an odd error here... The code involved: > > > >$master_socket = socket_create_listen($this->port); > > > >socket_bind($master_socket, '127.0.0.1', $this->port); > >socket_listen($master_socket); > >

Re: [PHP] Socket error

2009-06-28 Thread Stuart
2009/6/29 Luke : > Hey guys, getting an odd error here... The code involved: > >            $master_socket = socket_create_listen($this->port); > >            socket_bind($master_socket, '127.0.0.1', $this->port); >            socket_listen($master_socket); >            socket_set_option($master_so

[PHP] Socket error

2009-06-28 Thread Luke
Hey guys, getting an odd error here... The code involved: $master_socket = socket_create_listen($this->port); socket_bind($master_socket, '127.0.0.1', $this->port); socket_listen($master_socket); socket_set_option($master_socket, SOL_SOCKET, SO_REUS

Re: [PHP] Best way to reinstate radio-button states from database?

2009-06-28 Thread Bastien Koert
On Sun, Jun 28, 2009 at 7:12 PM, Rob Gould wrote: > I have a webpage which allows people to log in and make selections with > radio buttons and hit SUBMIT and saves the data from those radio buttons to > a mySQL database. > > However, I'm finding that I also need the ability to allow a user to log

[PHP] Best way to reinstate radio-button states from database?

2009-06-28 Thread Rob Gould
I have a webpage which allows people to log in and make selections with radio buttons and hit SUBMIT and saves the data from those radio buttons to a mySQL database. However, I'm finding that I also need the ability to allow a user to log back in at a later date (or even on a different comp

[PHP] Socket error

2009-06-28 Thread Luke
Hey guys, getting an odd error here... The code involved: $master_socket = socket_create_listen($this->port); socket_bind($master_socket, '127.0.0.1', $this->port); socket_listen($master_socket); socket_set_option($master_socket, SOL_SOCKET, SO_REUS

Re: [PHP] mysql_query blocking

2009-06-28 Thread Tom Worster
On 6/27/09 7:09 PM, "Daniel Kolbo" wrote: > Tom Worster wrote: >> On 6/27/09 3:15 PM, "Daniel Kolbo" wrote: >> >>> When a MySQL table is locked a php call of mysql_query() that requires >>> that table will hang as the request blocks at the MySQL server until the >>> table is unlocked. Is there

Re: [PHP] Problems with an extension

2009-06-28 Thread Eric A. Boney
On Sunday 28 June 2009 11:00:48 you wrote: > On Sun, Jun 28, 2009 at 10:56, Eric A. > > Boney wrote: > > So I am developing a custom extension and I am having a issue. I have a > > header file that I need included in the project. If I #include the header > > file everything compiles and makes just

Re: [PHP] Problems with an extension

2009-06-28 Thread Daniel Brown
On Sun, Jun 28, 2009 at 10:56, Eric A. Boney wrote: > So I am developing a custom extension and I am having a issue. I have a header > file that I need included in the project. If I #include the header file > everything compiles and makes just fine, but after restarting the web server > the extensi

[PHP] Problems with an extension

2009-06-28 Thread Eric A. Boney
So I am developing a custom extension and I am having a issue. I have a header file that I need included in the project. If I #include the header file everything compiles and makes just fine, but after restarting the web server the extension won't load. If I remove or comment out the #include o

Re: [PHP] Re: Image Type BMP @ "Save Image As" Dialog on IE

2009-06-28 Thread Nitsan Bin-Nun
I have been working on it for a while but no luck. I personally don't have IE to test it but my customer have noticed it and brought it up to the table. If you have any ideas I would like to hear you out :) On Sun, Jun 28, 2009 at 5:28 PM, Martin Zvarík wrote: > Nitsan Bin-Nun napsal(a): > >

[PHP] Re: Image Type BMP @ "Save Image As" Dialog on IE

2009-06-28 Thread Martin Zvarík
Nitsan Bin-Nun napsal(a): I have wrote a PHP script that serves JPEG images in smaller size, the resize is done using GD on-the-fly. I have noticed an interesting issue during the "save image as..." dialog on serveral internet explorer browsers, somehow, for some strange reason, the JPEG file is

Re: [PHP] mysql_query blocking

2009-06-28 Thread Lester Caine
Daniel Kolbo wrote: Hello, When a MySQL table is locked a php call of mysql_query() that requires that table will hang as the request blocks at the MySQL server until the table is unlocked. Is there a way to stop a mysql_query from hanging (by setting a time limit)? Daniel I can understand yo