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. Link to comment https://forums.phpfreaks.com/topic/25580-linex-to-windows-path-address-problems/ 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. Link to comment https://forums.phpfreaks.com/topic/25580-linex-to-windows-path-address-problems/#findComment-116731 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 Link to comment https://forums.phpfreaks.com/topic/25580-linex-to-windows-path-address-problems/#findComment-116737 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. Link to comment https://forums.phpfreaks.com/topic/25580-linex-to-windows-path-address-problems/#findComment-116739 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. Link to comment https://forums.phpfreaks.com/topic/25580-linex-to-windows-path-address-problems/#findComment-116741 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.