From: John A DAVIS [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 2:02 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] read a file from local harddisk
could you map a drive letter on the web server to the folder where the
files are?
>>> [EMAIL PROTECTED] 12/10/02 10:49AM >
I tried fsockopen()... but it doesn't work too...
--www.kapsul.org--
DuFronte
-Original Message-
From: dufronte [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 11, 2002 1:49 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] read a file from local har
ECTED]
Subject: Re: [PHP-DB] read a file from local harddisk
One thing to keep in mind is that PHP is 100% server side. So,
regardless of
what machine you are using to browse your PHP page, it will only know of
text
files on the server. So, you will probably need to employ socket
connections
in ord
I won't even ask why... but if you started a webserver on your local machine the
file() function does allow you to use http .. so file("http://mymachine/myfile.txt";);
that's one way.
The other way is to upload the file using HTTP.
Neither of these ways are very secure.
<>< Ryan
-Original