Computing.Net > Forums > Web Development > Linking to a network localtion \\

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Linking to a network localtion \\

Reply to Message Icon

Name: djx01dlob
Date: January 15, 2005 at 09:36:31 Pacific
OS: Windows XP Pro
CPU/Ram: 256MB's
Comment:

Hi,

I regularly run lan partys, and have just made an intranet for it.

I was hopeing to be able to put links in the intranet games page directly the the zip files on the computer sharing them.

I have tried doing:

Game

I havent used qotes because its in a php echo

Thanks

Darren

Thanks,



Sponsored Link
Ads by Google

Response Number 1
Name: Laler
Date: January 15, 2005 at 14:01:36 Pacific
Reply:

you have to share that particular folder on the internet as well... then you can use standar slash... backslashing is not working in the internet afaik cmiiw :D

if you're using IIS, you can setup a virtual directory let's say "theServer" which will get its content from the \\server...

so it can be accessed from

http://theSite.com/server

where /server is actually not a folder in c:\Inetpub\wwwroot

-----

if you can't set a virtual directory in the webserver, you can actually do something like this (not sure about the syntax):

[a href="file:///C|\server\games.zip"]

so the computer will look at the file directly from their system, no longer using the webserver... but you must sure that location is accessible by each of the computer in the intranet.

^o^
are you in Asia? do you watch Animax Asia? Please Vote


0

Response Number 2
Name: djx01dlob
Date: January 15, 2005 at 14:40:22 Pacific
Reply:

Hi,

Thanks for the reply,

Ive managed to get it to open netork locations.

What would be really good is if when i direct it to a zip fiel it went to the download box or copt to.. box rather than opening the zip file it in explorer.

Is this possible?

Thanks

Darren

Thanks,


0

Response Number 3
Name: Laler
Date: January 15, 2005 at 15:22:10 Pacific
Reply:

hi,

it is possible (I guess) by putting some code, so the browser will show a download box rather than executing it directly (preview the zip file content - on windows)... this is similar with questions about "How to create a force download .mp3 link" (clicking directly on .mp3 link will open media player)... but I'm not familiar with those codes, maybe someone will help... or you can search google by using that .mp3 force download problems as keyword...

-----

but if it's me, I'd prefer to just put a little note near the link. something like, "Right-click and choose Save Target to download the file" :D

or by setting up a virtual directory on the webserver, this is still less complicated than creating the "force download" code I think... and much safer because we can't be sure that everyone on the intranet has the same path to a particular network folder...

^o^
are you in Asia? do you watch Animax Asia? Please Vote


0

Response Number 4
Name: Laler
Date: February 10, 2005 at 07:32:36 Pacific
Reply:

I'll do that by putting:

<?php
header("Cache-Control: private");
?>

in the form page (in every page is better)

now when the user click the "back" button on the confirmation page, the form will be shown again with the last written value.

you can of course create a link (or redirect) in the confirmation page to "call" the back button:

Fix the Error!

---
siggy space for rent


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


web site not showing pict... Live site looks different



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Linking to a network localtion \\

HTML link to a file in the users PC www.computing.net/answers/webdevel/html-link-to-a-file-in-the-users-pc/2942.html

link to files in a different folder www.computing.net/answers/webdevel/link-to-files-in-a-different-folder/2961.html

linking to spot on page www.computing.net/answers/webdevel/linking-to-spot-on-page/2545.html