[PHP] Session generating same "Captchas"

2007-08-27 Thread Michael Williams
Hi All, I'm having a problem using Captchas. Basically I'm using Joshua Houle's script to generate Captchas. However, I get different behaviors on different systems. On one system I can simply refresh the page and a different Captcha is generated each time. However, on another system,

[PHP] PHP/MySQL not playing nicely. Server drops connection. . .

2007-08-30 Thread Michael Williams
Hi All, I recently installed PHP, APACHE, MYSQL per the method at the following site: http://switch.richard5.net/isp-in-a-box-v2/installing-mysql-on-mac-os-x/ . . .I then attempted to connect to a database (but without executing any commands on it), and I keep receiving the following err

[PHP] Re: php-general Digest 31 Aug 2007 16:34:36 -0000 Issue 4992

2007-09-03 Thread Michael Williams
Are you sure that Apache is running and accepting connections to / ~michwill? Does a regular HTML page show up ok? Yeah, static pages, and regular php pages load fine. It's only when I bring MySQL into the mix that things go awry. Have you checked the server error log? If by "server" you

Re: [PHP] PHP/MySQL not playing nicely. Server drops connection.

2007-09-03 Thread Michael Williams
On Sep 3, 2007, at 11:12 AM, Michael Williams wrote: Are you sure that Apache is running and accepting connections to / ~michwill? Does a regular HTML page show up ok? Yeah, static pages, and regular php pages load fine. It's only when I bring MySQL into the mix that things go

[PHP] DOM Question. No pun intended.

2006-09-13 Thread Michael Williams
Hi All, I'm having HTML DOM troubles. Is there any way to output the *EXACT* code contained in a node (child nodes and all)? For instance, I perform a $doc->loadHTML($file) and all is well. I then search through the document for specific NODEs with getElementsByTagName(). However, when I

[PHP] libcurl (cookies across cURL session). . .?

2006-09-22 Thread Michael Williams
Hi all, Is there any way at all by which to persist cookies across cURL sessions? Basically I have a login page that sets cookies and looks for them for "logged in" status so that the user may use the site to their heart's content. The problem with cURL, however, appears that after the

Re: [PHP] libcurl (cookies across cURL session). . .?

2006-09-22 Thread Michael Williams
but I'll look into it. I'd appreciate *any* insights you have. Regards, Mike On Sep 23, 2006, at 2:28 AM, Robert Cummings wrote: On Sat, 2006-09-23 at 02:10 -0400, Michael Williams wrote: Hi all, Is there any way at all by which to persist cookies across cURL sessions? Basically

Re: [PHP] libcurl (cookies across cURL session). . .?

2006-09-23 Thread Michael Williams
Tom, I tried writing to a local file(./cache/cookiejar), but to no avail. I'll give /tmp a try to see if that location makes any difference. Permissions aside, I should be able to write where I wish, correct? Thanks, Mike On Sep 23, 2006, at 7:43 AM, [EMAIL PROTECTED] wrote: From: T