I have to show the file names from another server that share a directory.
With the php code:
<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
?>
<table>
<tr>
<td>
<?=$file?><br>
</td>
</tr>
</table>
<?
}
}
closedir($handle);
}
?>
i can show files from the position of this code.
If i want to put this code on server A and show files taht are in a directory shared in the server B can I do this?
Via browser IE i can see the directory of the server B..............
Thanx in advance.