the filename .xls is not readable
<p>I want to download file .xls and then upload it to database oracle. but I am getting an error "the filename .xls is not readable".</p>

<p>Below is my script:</p>

<pre><code>               &lt;? require_once (dirname(__FILE__)."/upload/upBc.php");

               if(!empty($_FILES["file"])){
                    echo $file = $_FILES["file"];
               }else{
                  /*$file = "/opt/lampp/htdocs/avar/pp/ccr/test.xls";*/
                     $file = '/www.upload.com/pm_ms/test.xls';
               /* $file = "website_data_".  date('ymd').".xls";*/



               }
                    $upload = new upload();
                    $upload-&gt;setFile($file);
                    $upload-&gt;getFileType();
                    $upload-&gt;getFileName();
                    $upload-&gt;getFileDir();
                    $upload-&gt;readDataTbc();
                    $dataD = array ();
                    $dataD = $upload-&gt;getDataTbc();
                        echo "&lt;table border = 1&gt;";
                        for($i=1;$i &lt; count($dataD);$i++){
                            echo "&lt;tr&gt;";
                            for($j=0;$j &lt; $upload-&gt;getHSize();$j++){
                                echo "  &lt;td&gt;".$dataD[$i][$j]."&lt;/td&gt;";
                            }
                            echo"&lt;/tr&gt;";
                          }
                          echo"&lt;/table&gt;";
                          echo"data length=". count($dataD);
                          $upload-&gt;commitDataTbc();


       ?&gt;
</code></pre>

<p>If I use <code>$file = "/opt/lampp/htdocs/avar/pp/ccr/test.xls";</code>. in my program it works
but if I use <code>$file = '/www.upload.com/pm_ms/test.xls';</code>. I get the error THE FILENAME test.xls is Not Readable</p>
