You're talking about the DBF Exists function... It echo's out that the file does not exist. Which is the whole problem. I've tried specifying different kinds of files that are in that folder... Any file I specify... It gives out that the file does not exist. That's because I can't get my path to work. On 9/12/06 5:47 PM, "John Nichel" <john@xxxxxxxxxxxx> wrote: > Rahul S. Johari wrote: >> Permissions have been set on the Windows Server for the Mac user... And all >> permissions have been given to him. >> >> This is my code.. >> >> <?php >> #Check is DBF Exists >> $filename = "/Volumes/foresight/2qc0831.dbf"; >> if (file_exists($filename)) { >> echo "<br><br>$filename exists"; >> } else { >> echo "<br><br>The file $filename does not exist"; >> } >> ?> > > And what does this echo out? > >> <br><br><br> >> <? >> #OPEN DBF FILE - READ ONLY >> $db = dbase_open("/Volumes/foresight/2qc0831.dbf", 0); >> if ($db) { >> $record_numbers = dbase_numrecords($db); >> for ($i = 1; $i <= $record_numbers; $i++) { >> $row = dbase_get_record_with_names($db, $i); >> if ($row['PHONE'] == $thekey) { >> ?> >> > Rahul S. Johari Supervisor, Internet & Administration Informed Marketing Services Inc. 500 Federal Street, Suite 201 Troy NY 12180 Tel: (518) 687-6700 x154 Fax: (518) 687-6799 Email: rahul@xxxxxxxxxxxxxxxxxxxx http://www.informed-sources.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php