Re: Open file on a Mounted Share on Mac OS X
| From: | Ray Hauge | Date: | Tue, 12 Sep 2006 22:18:55 +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-241685@lists.php.net to get a copy of this message | ||
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@americanstudentloan.com> 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@informed-sources.com
> http://www.informed-sources.com