Does PHP place a maximum numbers of characters that can be used in a database file name.
I have a mssql database connection that uses
"[abnavalthisnot-data-newsnow]"
All my scripts run just fine.
I created a test database by appending test to the database name. Now I have a connection using
"[abnavalthisnot-data-newsnowtest]"
When I try and run a script it returns an error:
Warning: mssql_select_db(): message: Unclosed quotation mark before the character string 'abnavalthisnot-data-newsnowte'. (severity 15) in D:\HTTP\test_site\enter.php on line 13
It does not appear to be reading the entire database name. I did some tests where I added extra characters to the name and it cuts the file name off after 28 characters.
I looked at the php.ini file and didn't find anywhere tht seems to control the max character length. It probably is in front of my nose
tia...mike
I have a mssql database connection that uses
"[abnavalthisnot-data-newsnow]"
All my scripts run just fine.
I created a test database by appending test to the database name. Now I have a connection using
"[abnavalthisnot-data-newsnowtest]"
When I try and run a script it returns an error:
Warning: mssql_select_db(): message: Unclosed quotation mark before the character string 'abnavalthisnot-data-newsnowte'. (severity 15) in D:\HTTP\test_site\enter.php on line 13
It does not appear to be reading the entire database name. I did some tests where I added extra characters to the name and it cuts the file name off after 28 characters.
I looked at the php.ini file and didn't find anywhere tht seems to control the max character length. It probably is in front of my nose
tia...mike