php-windows Digest 2 Jul 2003 03:34:14 -0000 Issue 1804

2003-07-01 Thread php-windows-digest-help
php-windows Digest 2 Jul 2003 03:34:14 - Issue 1804 Topics (messages 20640 through 20644): Re: SQL Server - 255 field size limit in PHP ? 20640 by: Flint Doungchak PDF Attahcment in MIMe message 20641 by: PHodd (Peter) 20642 by: Manuel Lemos Noobie SMTP Questions

[PHP-WIN] Re: Noobie SMTP Questions

2003-07-01 Thread Manuel Lemos
Hello, On 07/01/2003 10:03 PM, Mark McCarthy wrote: Thanks in advance to whomever takes this on. :) I'm realtively new to php and have begun using an opensource product as the CMS for my website. I like the product so much that I would like to run multiple installs on the same server. However, wi

[PHP-WIN] Noobie SMTP Questions

2003-07-01 Thread Mark McCarthy
Hi Folks, Thanks in advance to whomever takes this on. :) I'm realtively new to php and have begun using an opensource product as the CMS for my website. I like the product so much that I would like to run multiple installs on the same server. However, with the mail settings being defined in php.

[PHP-WIN] Re: PDF Attahcment in MIMe message

2003-07-01 Thread Manuel Lemos
Hello, On 07/01/2003 04:08 PM, Phodd wrote: I cannot get a pdf attachment to a multi-part MIME email message working. The pdf document ends up not being able to be read by Acrobat reader, and when inspected with notepad, the file appears to be shorter than the original. My code is: I don't know wh

[PHP-WIN] PDF Attahcment in MIMe message

2003-07-01 Thread PHodd (Peter)
Hi, I cannot get a pdf attachment to a multi-part MIME email message working. The pdf document ends up not being able to be read by Acrobat reader, and when inspected with notepad, the file appears to be shorter than the original. My code is: $file_url = "//asb-intranet/c$/tempuserfiles/PO-phodd-

RE: [PHP-WIN] SQL Server - 255 field size limit in PHP ?

2003-07-01 Thread Flint Doungchak
Dessie, The deal is that the default microsoft libraries that are used as a part of the module (the mssql module) doesn't support varchar beyond 255 chars. Although SQL Server does, since the library doesn't, you're kinda screwed. You could use ADO. I know that the person who works on the SQL s

php-windows Digest 1 Jul 2003 14:05:07 -0000 Issue 1803

2003-07-01 Thread php-windows-digest-help
php-windows Digest 1 Jul 2003 14:05:07 - Issue 1803 Topics (messages 20635 through 20639): Re: Problem with Insert with ODBC 20635 by: Veselina Jecheva 20639 by: Radovan Radic SQL Server - 255 field size limit in PHP ? 20636 by: DessieD 20637 by: Svensson, B.

Re: [PHP-WIN] Problem with Insert with ODBC

2003-07-01 Thread Radovan Radic
Try this: odbc_error Get the last error code (PHP 4 >= 4.0.5) string odbc_error ( [resource connection_id] ) "Veselina Jecheva" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can I do this - odbc_exec returns just false on error? > > At 16:41 6/30/03 +0200, Svensson, B.A.T. (HKG

RE: [PHP-WIN] Using ODBC in PHP to connect to a sql server

2003-07-01 Thread Svensson, B.A.T. (HKG)
Try the manual pages at www.php.net > -Original Message- > From: Harpreet [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 10:44 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Using ODBC in PHP to connect to a sql server > > > Does anyone know of a nice artical that explains how

RE: [PHP-WIN] SQL Server - 255 field size limit in PHP ?

2003-07-01 Thread Svensson, B.A.T. (HKG)
For instance as default the ODBC driver is set to return maximum 255 chars in column. Change your setting to reflect your needs. > -Original Message- > From: DessieD [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 11:55 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] SQL Server -

[PHP-WIN] SQL Server - 255 field size limit in PHP ?

2003-07-01 Thread DessieD
Hi Im new to PHP so may be an obvious workaround to this. Not sure if it could be a bug in PHP.. I have a SQLServer table that contains a large nvarchar field (size: 2000). My php code to retireve and display this field is something like (dont have code to hand right now): $quote = mssql_fetch_

RE: [PHP-WIN] Problem with Insert with ODBC

2003-07-01 Thread Veselina Jecheva
How can I do this - odbc_exec returns just false on error? At 16:41 6/30/03 +0200, Svensson, B.A.T. (HKG) wrote: >You ought to test for an error in your "error detection" >not for an return value on the execute of an SQL query. > >> -Original Message- >> From: Veselina Jecheva [mailto:[EMA