normally we read text file like this..

$filename = "D:/Point/Point.txt";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
fclose($handle);

if i want read text file on LAN computer.
how to write path name of the text file??

It needs to be accessable either though a share or though the web, and then it would be

\\computer\foldername\file.ext

or web

http://name/folder/file.ext

thanks Zachery. but still not working. i access though by share on network. but still can't read the LAN computer text file. my code like this :

\\192.169.1.18\d\Point\point.txt

still unable to read the text... how??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.