Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on Paths in linux? in the Shared & Semi-Dedicated forum
I have a page for downloading some files that are outside of my webroot. The download menu is built from the directory structure. On my ...

  1. #1
    JPC Member
    Join Date
    Sep 2007
    Posts
    12

    Paths in linux?

    I have a page for downloading some files that are outside of my webroot. The download menu is built from the directory structure. On my windows development machine, i referenced the root of the directory as c:/apache/yada/yada and it knew where to start looking for it.

    So on unix, I'm calling the build menu function with an opendir(/home/username/folder) but it's looking in the folder where I called it from. How do I tell it to look in the right place?

    Thanks.

  2. #2
    JPC Member
    Join Date
    Sep 2007
    Posts
    12
    I'm really an idiot. Sorry guys.

    I didn't know linux handles folders in a case sensitive manner. Problem resolved.

  3. #3
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  4. #4
    all about nothing! Frank Broughton's Avatar
    Join Date
    Jan 2006
    Posts
    2,158
    yo ho Vinnie are you dittoing his remark...

    hey what we doing with a Santa smiley in September?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •