Jump to content

Archived

This topic is now archived and is closed to further replies.

Jurik

Linex to windows path address problems

Recommended Posts

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.

Share this post


Link to post
Share on other sites
For starters its Lin[b]u[/b]x not Linex, and it uses / as a directory delimeter.

Share this post


Link to post
Share on other sites
[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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
[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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.