Re: [PHP-DB] help! sqlserver only returns 256 from varchartypes

2002-01-25 Thread Kevin Won

It's php 4.0.6 on win2k/apache.

kevin

 Brian Bruns [EMAIL PROTECTED] 01/25/02 02:19PM 
which library are you using to connect to SQL Server?  Is this php running 
on windows or are you trying from unix?



On Fri, 25 Jan 2002, Kevin Won wrote:

 I'm having a problem with varchar fields out of mssql which are only returning value 
lenghts  = 256 characters.
 
 I know that the php.ini setting in  mssql for textlength must be set to get more 
than 4096 chars, I've set this value higer and my TEXT types return correctly,  but 
my varchar fields are still truncated to = 256. .. 
 
 is there another setting for the php.ini for returning longer length varchar type 
fields???
 
 thanks
 
 
 
 Kevin Won
 -
 ITG Web Developer,
 Systems Administrator
 Oregon Health Sciences University
 (503) 418-4282
 cell: (503) 913-5367
 page: x15897
 fax: (503) 494-1888
 
 
 
 
 
 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] help! sqlserver only returns 256 from varchartypes

2002-01-25 Thread Kevin Won

It's php 4.0.6 on win2k/apache.

kevin

 Brian Bruns [EMAIL PROTECTED] 01/25/02 02:19PM 
which library are you using to connect to SQL Server?  Is this php running 
on windows or are you trying from unix?



On Fri, 25 Jan 2002, Kevin Won wrote:

 I'm having a problem with varchar fields out of mssql which are only returning value 
lenghts  = 256 characters.
 
 I know that the php.ini setting in  mssql for textlength must be set to get more 
than 4096 chars, I've set this value higer and my TEXT types return correctly,  but 
my varchar fields are still truncated to = 256. .. 
 
 is there another setting for the php.ini for returning longer length varchar type 
fields???
 
 thanks
 
 
 
 Kevin Won
 -
 ITG Web Developer,
 Systems Administrator
 Oregon Health Sciences University
 (503) 418-4282
 cell: (503) 913-5367
 page: x15897
 fax: (503) 494-1888
 
 
 
 
 
 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]