Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
Hi, Thanks for the advice. I will run this past the people in charge of the network. I'm afraid that I'm not really very familiar with our network here (I'm just an intern :) ) I am pretty sure that all of our files are sent from a single server, which is neither the php server or my comput

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
Hello there, The line: \\vesuvius\home\users\grant\Parts.txt Gives the object not found page in Mozilla, even when clicked on from the vesuvius computer. I think that it is treating this like a relative link. Thanks for the help, Grant CPT John W. Holmes wrote: Can't you just link to \\comp

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Raditha Dissanayake
Hello, More suprising is that the html you have below works perfectly on my mozzilla 1.4 running on Red Hat 9 :-) provided i do have this exact path on my computer. /home/users/grant/Parts.txt From what you are saying it looks like in your case '/home/users/grant/Parts.txt' does not exist on yo

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Grant Rutherford
Thanks for your reply, I think my mail was blocked for a few days here. Sorry for the delay. file:///home/users/grant/Parts.txt 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.

Re: [PHP] Serve a file using PHP

2003-08-26 Thread CPT John W. Holmes
From: "Grant Rutherford" <[EMAIL PROTECTED]> > Is there a way that PHP can allow a user to browse the files on the > server's network, and ultimately send the file to the user? > > I'm making a database interface with PHP to be used internally on our > network. Through a PHP interface, the user wa

Re: [PHP] Serve a file using PHP

2003-08-26 Thread [EMAIL PROTECTED]
Hello, 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