Jump to content

Linex to windows path address problems


Jurik

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.