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 harddisk

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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 10, 2002 8:36 PM
To: [EMAIL PROTECTED]
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 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




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

Reply via email to