How to open a document located at remote server from web root of another
server in PHP?
cdsapplication is folder name inside htdocs.
localhost/cdsapplication/itemslist.php?showmaster=Product_list&PARENT_ID=2
This PHP page contains a link like this
<a href="\\srv01\CDS\ITEMS\ITEMLIST.xls" target="_blank">document</a>
ITEMLIST.xls document is available at srv01 server(srv01 and localhost are
two different servers). When I click on document link the url becomes like
this
http://localhost/cdsapplication/\\srv01\CDS\ITEMS\ITEMLIST.xls
But requirement is, when user clicks document link the url should be
\\srv01\CDS\ITEMS\ITEMLIST.xls
I mean open remote server document location from web root of another php
server.
No comments:
Post a Comment