RE: [PHP-DB] read a file from local harddisk

2002-12-10 Thread dufronte
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 >

RE: [PHP-DB] read a file from local harddisk

2002-12-10 Thread dufronte
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

RE: [PHP-DB] read a file from local harddisk

2002-12-10 Thread dufronte
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

RE: [PHP-DB] read a file from local harddisk

2002-12-10 Thread Ryan Jameson (USA)
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