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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxxxxxx

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux