[PHP] Testing "Broken Pipe" Recovery?

2009-09-22 Thread Dee Ayy
How do I intentionally break a pipe so that I can test recovering under this eventuality? I saw this post "[PHP] Pushing the limits of stream_socket_server() and stream_select()" but my intermittent broken pipe occurs with 1 client, so I don't want to to create a 252 client situation. I'm actuall

Re: [PHP] Basic of Basics

2009-09-22 Thread Robert Cummings
Todd Dunning wrote: Rob it's LAMP php5. Godaddy virtual dedicated. I'm considering if I should just bite the bullet and attempt to build my first SQL db tonight, because there's plenty of info about doing the basics via sql. I have phpMyAdmin and cPanel. It's a classic noob issue of whether

Re: [PHP] Basic of Basics

2009-09-22 Thread Todd Dunning
Rob it's LAMP php5. Godaddy virtual dedicated. I'm considering if I should just bite the bullet and attempt to build my first SQL db tonight, because there's plenty of info about doing the basics via sql. I have phpMyAdmin and cPanel. It's a classic noob issue of whether to spend extra time d

Re: [PHP] Basic of Basics

2009-09-22 Thread Robert Cummings
Todd Dunning wrote: Just put yourself in these shoes: 1. It's before you learned SQL. 2. You can declare variables and call includes and that's about it. 3. Your site looks great, the includes are ready. The variables are already in the includes. 4. You have a delimited file, 15K rows, 30 colu

[PHP] Basic of Basics

2009-09-22 Thread Todd Dunning
Just put yourself in these shoes: 1. It's before you learned SQL. 2. You can declare variables and call includes and that's about it. 3. Your site looks great, the includes are ready. The variables are already in the includes. 4. You have a delimited file, 15K rows, 30 columns. 5. You have to g

[PHP] Misusing The URLENCODE/DECODE() Functions

2009-09-22 Thread Nitsan Bin-Nun
Hi List I usually don't tend to post here but I have no time and no idea :( I'm using .htaccess and a php router file (based upon regex patterns) in order to create google-friendly URL's It works like a charm, but somehow it has decoding '+' signs and similar things into the appropriate characte

Re: [PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
Hi Tom, in sometimes 2001 I did have incidences with those things, and as I remember over the past years there where some trouble with operating systems and stuff. This part is very deep inside the os. I would expect that this is still to consider. I also would check, if this occurs on very busy/l

Re: [PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Tom Worster
thank you, Ralph! i'm going to be bold and assume that tom at punkave dot com is right despite that the report was discarded. i got a complaint from a client about some users reporting being logged out with rather short periods of inactivity. but session.gc_maxlifetime is set to 6 hours so i don'

[PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
I forgot to mention, that this doesn't mean, you can not read data after this timeout or that a session does ALWAYS die after this timeout. I would assume, that the server has to have a reason to run garbage clean up. If the server is not running a clean up, I would expect the session would excist

[PHP] Re: session.gc_maxlifetime

2009-09-22 Thread Ralph Deffke
Hi Tom, i did find this in the bug reports, its pretty new and should be an answer. http://news.php.net/php.doc.bugs/2653 ralph_def...@yahoo.de "Tom Worster" wrote in message news:c6de9eee.12c8d%...@thefsb.org... > i'm not 100% sure what the manual means when it says... > > session.gc_maxlife

[PHP] session.gc_maxlifetime

2009-09-22 Thread Tom Worster
i'm not 100% sure what the manual means when it says... session.gc_maxlifetime integer session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. Garbage collection occurs during session start. what event exactly does the "after which" here r

Re: [PHP] using a USB device (flash) in the Virtualbox

2009-09-22 Thread Robert Cummings
Ashley Sheridan wrote: On Mon, 2009-09-21 at 22:50 -0700, chamba kasonde wrote: Hi! I am a new user of this feature and tool and would like to transfer data and info to and from Windows Xp in the Virtualbox running on a Linux Ubuntu platform. My first version of Virtualbox was 2._ _ _ which

Re: [PHP] Re: Validation XHTML code and repairing broken one

2009-09-22 Thread Michael A. Peters
Al wrote: Hello, I have few questions about validation XHTML and repairing if it's broken. The problem is that I have some, for example HTML code (simple web page) and want to load that page to DOMDocument and than make something of it. That part works perfect, but if there is unclosed tag o

Re: [PHP] Question: Wai-aria?

2009-09-22 Thread Fernando Castillo Aparicio
Ups! By mistake I didn't reply to all. Resending. Sorry. De: Parham Doustdar Para: php-general@lists.php.net Enviado: martes, 22 de septiembre, 2009 9:41:44 Asunto: [PHP] Question: Wai-aria? Hello there, I have asked on the mailing lists that have blind users

Re: [PHP] using a USB device (flash) in the Virtualbox

2009-09-22 Thread Ashley Sheridan
On Mon, 2009-09-21 at 22:50 -0700, chamba kasonde wrote: > Hi! > I am a new user of this feature and tool and would like to transfer data and > info to and from Windows Xp in the Virtualbox running on a Linux Ubuntu > platform. > My first version of Virtualbox was 2._ _ _ which said it did not su

[PHP] Question: Wai-aria?

2009-09-22 Thread Parham Doustdar
Hello there, I have asked on the mailing lists that have blind users and no one seems to know about this technology (that is ironically created to help us blind folks). I was wondering if anyone here has the experience of implementing Wai-aria. Since my question is rather about Wai-aria than PHP