Re: Open file on a Mounted Share on Mac OS X

From: Date: Tue, 12 Sep 2006 21:47:23 +0000
Subject: Re: Open file on a Mounted Share on Mac OS X
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-241676@lists.php.net to get a copy of this message
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) {
?>
-- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 jnichel@dotcomholdingsofbuffalo.com

« previous php.general (#241676) next »