Thanks for your reply,

I think my mail was blocked for a few days here. Sorry for the delay.

<a HREF='file:///home/users/grant/Parts.txt'>file:///home/users/grant/Parts.txt</a>


This link will not work in Mozilla. (Does nothing) However, if I copy and paste the address into the addess bar, it works fine. I suspect this is a security thing.


I don't think that PHP being server side should make a huge difference. The client and server are on the same network in this case, and the files would be on another server on the same network. Is there a way that the PHP server can access the file over the network and then send it to the client? I don't think I can make the client open the file itself.

Thanks,
Grant


[EMAIL PROTECTED] wrote:


Bit suprised that mozilla didn't let you access the file using the 'file://' notation. Did you actually use three slashes? ie it should be
'file:///home/grant' and not 'file://home/grant/'
There isn't any other way in which you can use PHP to access files on a hard disk. PHP is a server side scripting language. You could always try signed java applets.

-- Grant Rutherford Iders Incorporated 600A Clifton Street Winnipeg, MB R3G 2X6 http://www.iders.ca tel: 204-779-5400 ext 36 fax: 204-779-5444 ================================ Iders Incorporated: Confidential ================================ Note: This message is intended solely for the use of the designated recipient(s) and their appointed delegates, and may contain confidential information. Any unauthorized disclosure, copying or distribution of its contents is strictly prohibited. If you have received this message in error, please destroy it and advise the sender immediately by phone, Email or facsimile.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to