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

[PHP] Reading files from Win 2003 Server

2007-10-04 Thread Alexis
Hi, I have a script located on an Ubuntu box and I am trying to read files located on a Win 2003 Server. I have 'mounted', if that's the right term to use, a connection from Ubuntu to Server 2003 and can read the files fine via the desktop, etc. If the Win Server name is say 'WinServer' and the

[PHP] reading files through ssl protocal

2003-09-23 Thread Chris Edwards
Hi Trying to read a file via ssl. It seems to read the file ok. The content is correct. But I get this when using the https protocol. Warning: fgets(): SSL: fatal protocol error or Warning: fread(): SSL: fatal protocol error When I use regular http, I do not get the warning. Anyone observed

Re: [PHP] Reading files question

2003-07-17 Thread Curt Zirzow
Beauford.2005 <[EMAIL PROTECTED]> wrote: > I have a file that has the 130 lines which follows the example below. > > Barnaby > > What I need to do is read this file, remove one line, add another line, > and then resave it. I have tried the different fget functions etc. to > read the file, but all

[PHP] Reading files question

2003-07-17 Thread Beauford.2005
I have a file that has the 130 lines which follows the example below. Barnaby What I need to do is read this file, remove one line, add another line, and then resave it. I have tried the different fget functions etc. to read the file, but all I get is the name part and nothing else. I am assuming

Re: [PHP] Reading files over SSL using fopen or fsockopen

2003-03-11 Thread Ernest E Vogelsinger
At 14:35 11.03.2003, Dan Mullen said: [snip] >I am trying to read the contents of a file using fopen or fsockopen over a >secure SSL connection. I have a script working fine over a non-SSL >connection, but it just won't work over SSL. I have tried using fso

[PHP] Reading files over SSL using fopen or fsockopen

2003-03-11 Thread Dan Mullen
Hi, I am trying to read the contents of a file using fopen or fsockopen over a secure SSL connection. I have a script working fine over a non-SSL connection, but it just won't work over SSL. I have tried using fsockopen with the port set to 443, (I have checked this and the file I am trying to r

Re: [PHP] Reading files

2003-02-27 Thread 1LT John W. Holmes
>while (!feof ($handle)) ; Take that semi-colon away. You're running this loop continously. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading files

2003-02-27 Thread Ferhat Can
Hi Chris, You should delete the ; after the while statement because it causes an infinite loop. - Original Message - From: "Chris Blake" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 16:29 Subject: [PHP] Reading files &

[PHP] Reading files

2003-02-27 Thread Chris Blake
Greetings... When the following runs.. === '. $buffer. ''; } fclose($handle); ?> .it gives out ==

[PHP] Reading files from a directory

2001-08-23 Thread Niklas Lampén
I have problem with reading files from directory. This is the code: \n"; }; ?> That is ALL code on a script file. These are the file in directory: . .. array_maker.php4 map.php4 renamer.php4 border_bl.gif border_bm.gif border_br.gif border_ml.gif border_mr.gif border_ul.gif border_um.gif borde