Jurik Posted October 30, 2006 Share Posted October 30, 2006 Hi guys i've just moved my finished project for work over to the server on which it is going to be run off only to find that its a linex box and that the place im saving the files to with the code is a windows box so the path I am using is on longer working. Can anyone tell me how I can set this $target_path = "\\\benin\\videolibrary\\";so that it moves from the linex server and onto the address given above which is a windows server. Quote Link to comment Share on other sites More sharing options...
trq Posted October 30, 2006 Share Posted October 30, 2006 For starters its Lin[b]u[/b]x not Linex, and it uses / as a directory delimeter. Quote Link to comment Share on other sites More sharing options...
Jurik Posted October 30, 2006 Author Share Posted October 30, 2006 [quote author=thorpe link=topic=113224.msg459960#msg459960 date=1162218465]For starters its Lin[b]u[/b]x not Linex, and it uses / as a directory delimeter.[/quote]ok well i've changed the $target_path = "\\\benin\\videolibrary\\"; to$target_path = "///benin//videolibrary//";and still no joy, im sorry I havent used Linux before so I have no idea how to map an address from it Quote Link to comment Share on other sites More sharing options...
trq Posted October 30, 2006 Share Posted October 30, 2006 You dont' need to escape forward slashes.[code=php:0]$target_path = "/benin/videolibrary/";[/code]Also... you [i]may[/i] need to remove the trailing slash. Quote Link to comment Share on other sites More sharing options...
Jurik Posted October 30, 2006 Author Share Posted October 30, 2006 [quote author=thorpe link=topic=113224.msg459968#msg459968 date=1162219148]You dont' need to escape forward slashes.[code=php:0]$target_path = "/benin/videolibrary/";[/code]Also... you [i]may[/i] need to remove the trailing slash.[/quote]well ive tried /benin/videolibrary/ as well as /benin/videolibrary and no success, would it bing worthwhile to meantioning that the benin drive is over a network, they are not in the same case together. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.