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

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

 



You could try getting a directory listing with PHP to see if you can see what 
files are in there, or if you can access that directory through PHP.

http://us2.php.net/manual/en/function.opendir.php

-- 
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
www.americanstudentloan.com
1.800.575.1099


On Tuesday 12 September 2006 17:08, Rahul S. Johari wrote:
> I did exactly that... Used Terminal to find the correct path. Did "pwd" in
> terminal window where my file is located. And this is what I got:
> /Volumes/foresight
>
> Which is what I have used in php to specify the path. But it still says
> file doesn't exist.
>
> On 9/12/06 6:05 PM, "Ray Hauge" <ray.hauge@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hmmm... That's odd.
> >
> > I would use your terminal program, then change directory to the location
> > of the file, and do "pwd".  That should give you your working directory. 
> > If you can get to it on OSX, and PHP is on OSX, then PHP  should be able
> > to see the file in the same path.
>
> 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


[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