Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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:
I havent used qotes because its in a php echo
Thanks
Darren
Thanks,

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

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,

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

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:
---
siggy space for rent

![]() |
web site not showing pict...
|
Live site looks different
|

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