Re: [PHP] Reading files in PHP 5.3.0

2009-09-13 Thread tedd
At 12:32 AM -0400 9/13/09, Paul M Foster wrote: On Sat, Sep 12, 2009 at 10:22:10AM -0400, tedd wrote: At 6:02 PM -0400 9/11/09, Paul M Foster wrote: I typically use us2.php.net, which is hosted by Hurricane Electric. Paul Paul: I wouldn't use Hurricane Electric if their accounts were

Re: [PHP] Reading files in PHP 5.3.0

2009-09-12 Thread Paul M Foster
On Sat, Sep 12, 2009 at 10:22:10AM -0400, tedd wrote: > At 6:02 PM -0400 9/11/09, Paul M Foster wrote: >> >> I typically use us2.php.net, which is hosted by Hurricane Electric. >> >> Paul > > Paul: > > I wouldn't use Hurricane Electric if their accounts were provided for free! > > The following is

Re: [PHP] Reading files in PHP 5.3.0

2009-09-12 Thread tedd
At 6:02 PM -0400 9/11/09, Paul M Foster wrote: I typically use us2.php.net, which is hosted by Hurricane Electric. Paul Paul: I wouldn't use Hurricane Electric if their accounts were provided for free! The following is an experience I had with Hurricane Electric and support for my opinion

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Paul M Foster
On Fri, Sep 11, 2009 at 08:38:13AM -0700, Tommy Pham wrote: > --- On Fri, 9/11/09, Paul M Foster wrote: > > > From: Paul M Foster > > Subject: Re: [PHP] Reading files in PHP 5.3.0 > > To: php-general@lists.php.net > > Date: Friday, September 11, 2009, 8:57 AM >

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
-- On Fri, 9/11/09, Steve Brown wrote: > From: Steve Brown > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: php-general@lists.php.net > Date: Friday, September 11, 2009, 9:08 AM Perhaps you should add some error checking to see where it breaks > >> function &

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
--- On Fri, 9/11/09, Paul M Foster wrote: > From: Paul M Foster > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: php-general@lists.php.net > Date: Friday, September 11, 2009, 8:57 AM > On Fri, Sep 11, 2009 at 05:48:42AM > -0700, Tommy Pham wrote: > > > > >

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Steve Brown
>> function parseResponseHeaders($header_file) { >>     $http_found = $error_found = false; >>     $http_reponse = $error_message = NULL; >> >>     $response = array(); >>     $response['ResponseCode'] = NULL; >>     $response['ErrorMessage'] = NULL; >> >>     if (!is_file($header_file) || >> !is_r

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Andrew Ballard
On Fri, Sep 11, 2009 at 8:15 AM, Ashley Sheridan wrote: > On Fri, 2009-09-11 at 08:04 -0400, tedd wrote: >> At 5:06 PM -0700 9/10/09, Tommy Pham wrote: >> >  > So did anything change in PHP5.3.0 that would preclude the > code >> >below > from working?  Am I going crazy?  Or did Apple > f...@# >> >

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Paul M Foster
On Fri, Sep 11, 2009 at 05:48:42AM -0700, Tommy Pham wrote: > > I just checked my 'Mail Options' again. It's always been 'compose as text'. > But I can't guaranteed that Yahoo actually does it. Been having problems > with Yahoo lately (both mail and Yahoo hosting of www.php.net). Maybe I >

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Tommy Pham
--- On Fri, 9/11/09, Ashley Sheridan wrote: > From: Ashley Sheridan > Subject: Re: [PHP] Reading files in PHP 5.3.0 > To: "tedd" > Cc: "Tommy Pham" , php-general@lists.php.net > Date: Friday, September 11, 2009, 7:15 AM > On Fri, 2009-09-11 at 08:04 -0400

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread tedd
At 1:15 PM +0100 9/11/09, Ashley Sheridan wrote: On Fri, 2009-09-11 at 08:04 -0400, tedd wrote: At 5:06 PM -0700 9/10/09, Tommy Pham wrote: > > So did anything change in PHP5.3.0 that would preclude the > code >below > from working? Am I going crazy? Or did Apple > f...@# >something up in

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread Ashley Sheridan
On Fri, 2009-09-11 at 08:04 -0400, tedd wrote: > At 5:06 PM -0700 9/10/09, Tommy Pham wrote: > > > So did anything change in PHP5.3.0 that would preclude the > code > >below > from working? Am I going crazy? Or did Apple > f...@# > >something up in > this release? > > Thanks, > Steve > > BEGIN

Re: [PHP] Reading files in PHP 5.3.0

2009-09-11 Thread tedd
At 5:06 PM -0700 9/10/09, Tommy Pham wrote: > So did anything change in PHP5.3.0 that would preclude the > code below > from working? Am I going crazy? Or did Apple > f...@# something up in > this release? > > Thanks, > Steve > > BEGIN CODE -snip- Does anyone else see every line above endi

Re: [PHP] Reading files in PHP 5.3.0

2009-09-10 Thread Tommy Pham
--- On Thu, 9/10/09, Steve Brown wrote: > From: Steve Brown > Subject: [PHP] Reading files in PHP 5.3.0 > To: php-general@lists.php.net > Date: Thursday, September 10, 2009, 4:13 PM > I've been beating my head against a > wall all day and can't figure this >

[PHP] Reading files in PHP 5.3.0

2009-09-10 Thread Steve Brown
I've been beating my head against a wall all day and can't figure this one out. The code below worked perfectly in PHP5.2.4. However, I recently upgraded to PHP5.3.0 and this code no longer works. The function below accepts the path to a text file containing headers from a cUrl session (example