| 
	
 | 
 Posted by Alvaro G. Vicario on 05/17/07 21:21 
*** Jim Carlock escribió/wrote (Thu, 17 May 2007 14:23:42 -0400): 
> This works as long as a drive letter is not FQFN. For instance, 
> if, $FQFN = "Z:/mysql/dbn/data.db", PHP replies: 
>  
>   SQLSTATE[HY000] [14] 
>  
> along with a couple lines of text identifying line numbers and such. 
>  
> The function above works well if FQFN = "./data.db". But, the 
> database file must get set up on a different drive. 
 
Drive letters for network drives are not universal. Each user in the same 
computer will have different letters. If you run your script through a web 
server, the script will not have access to *your* letters but those of the 
user the services runs as (normally LocalSystem). 
 
I suggest you try with UNC paths, such as //server/share 
 
 
 
 
--  
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain 
++ Mi sitio sobre programación web: http://bits.demogracia.com 
+- Mi web de humor con rayos UVA: http://www.demogracia.com 
--
 
  
Navigation:
[Reply to this message] 
 |