[PHP] CRLF in file

2003-01-26 Thread Malcolm Brownell
Hello, I'm having trouble with /r/n when I try to write to a file. Here's my code ; The array I want to write - $ch =array( $SQL_HOST= $SQL_HOST, SQL_USER= $SQL_USER, SQL_PWD=$SQL_PWD); and the code I'm using to write the file $fp = fopen (newfig.txt, w); if (!($fp)) { print (ERROR file

Re: [PHP] CRLF in file

2003-01-26 Thread Malcolm Brownell
awww geeze ! Thank you sir. Again I embarass myself and slink away On Mon, 27 Jan 2003 00:35:01 +0800, [EMAIL PROTECTED] (Jason Wong) wrote: On Sunday 26 January 2003 22:13, Malcolm Brownell wrote: Hello, I'm having trouble with /r/n when I try to write to a file. It's \r\n

Re: [PHP] CRLF in file

2003-01-26 Thread Malcolm Brownell
is an array but can I supress this somehow so all I'll print is the keys and vals? thanks malcolm On Mon, 27 Jan 2003 00:35:01 +0800, [EMAIL PROTECTED] (Jason Wong) wrote: On Sunday 26 January 2003 22:13, Malcolm Brownell wrote: Hello, I'm having trouble with /r/n when I try to write

[PHP] Version Upgrade on Apache/win

2003-01-15 Thread Malcolm Brownell
Hello all, I'm having trouble with upgrading my php 4.1.1 to 4.3. I have Apache 1.3.2 /php 4.1.1/Mysql 3.23.39 on winME. It has been running fine but I can't make php 4.3 work. I have installed 4.3 to a directory next to my current php. I put 4.3 in /php43 and have php 4.1.1 in /php in the

Re: [PHP] Send PHP results in email

2002-12-08 Thread Malcolm Brownell
Thanks Jason, I saw this a while ago and it solved the problem perfectly. On Thu, 5 Dec 2002 06:11:40 +0800, [EMAIL PROTECTED] (Jason Wong) wrote: On Thursday 05 December 2002 05:58, Malcolm Brownell wrote: Hi, I have some database fields I want to select and email. I have lines

[PHP] Re: PHP Configuration - Can't Change Post_Max_Size

2002-12-08 Thread Malcolm Brownell
I've got 4.1.1 and it's upload_max_filesizemine is default 2 M maybe you have a different version. hth m On Thu, 5 Dec 2002 10:32:44 -0800, [EMAIL PROTECTED] (Roger Lewis) wrote: This is further to my post yesterday on Max File Size. I was able to set upload_max_filesize to 790

[PHP] Send PHP results in email

2002-12-04 Thread Malcolm Brownell
Hi, I have some database fields I want to select and email. I have lines like -- $result = mysql_query(SELECT * FROM adopt_main order by idform desc limit 1); while( $row = mysql_fetch_array ($result)) echo .$row[first].,; There are quite a few of these paragraphs in the

RE: [PHP] Re: amp; in Query String

2002-11-29 Thread Malcolm Brownell
Looks fine in Opera 6.03 hth http://www.vogelsinger.at/test.php?par1=value1par2=value2par3=value3 Opera Version 6.03 Build 1107 Platform Win32 System Windows 98 Java Sun Java Runtime Environment 1.4 Testing the query string This is the full query string ($_SERVER['QUERY_STRING']):