Well I don't know how to make a socket connections... can you give me an example please... Sorry to bother you :D --www.kapsul.org-- DuFronte -----Original Message----- From: bbonkosk@tampabay.rr.com [mailto:bbonkosk@tampabay.rr.com] Sent: Tuesday, December 10, 2002 8:36 PM To: dufronte@kapsul.org Subject: Re: 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 order to get text files from a machine other then the server. -Brad > > HI... sorry to interrupt again... > > I have another ridiculous question... > > I have a text file in my machine... and a php-file in my host (such as > host.sk etc..) > I want to use my php-file to access my text file in my machine > directly... > I used fopen, and fread stuff... but didn't work.... > > Btw, can somebody help my with this.... I want to know how to access my > local file in Windows and Linux remotely... or it can risk some security > problem ??? > Please... help me... > > ---DuFronte--- > > http://binusti2002.net.tc > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php