Results 1 to 5 of 5
  1. #1
    Can you write a path in the database field that links to an external file on my mac?

    Member Since
    Sep 26, 2013
    Posts
    2
    Can you write a path in the database field that links to an external file on my mac?
    I want to create a local movie database. I was going to create it with MYSQL and PHP. I have created a test server using MAMP. As known, is the MAMP folder in the Applications folder.

    But since the movies are heavy - I would not put these files in the same folder. Instead I want to link these from an external hard drive.

    Is this possible? Can you write a path in the database field that links to an external file on my mac?

  2. #2
    Can you write a path in the database field that links to an external file on my mac?
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    The link is just text, and the database don't know what it is or where it points to. So that doesn't matter. Were you planning on creating a web page that will list these movies and clicking on them would launch them or something?
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  3. #3
    Can you write a path in the database field that links to an external file on my mac?

    Member Since
    Sep 26, 2013
    Posts
    2
    How will I write the path
    OK, good to know. But how will I write the path. file: [drive]: [Folder]: [filename] or: localhost / .. / ..?

  4. #4
    Can you write a path in the database field that links to an external file on my mac?
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,081
    Specs:
    13in macbook - 10.10.4
    Not familiar with SQL but most paths are like:
    /Volumes/drive/folder_or_file
    /Volumes is where your mounted drives are.
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  5. #5
    Can you write a path in the database field that links to an external file on my mac?
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Quote Originally Posted by Gurkanson View Post
    OK, good to know. But how will I write the path. file: [drive]: [Folder]: [filename] or: localhost / .. / ..?
    That depends on HOW you want to load the file..paths in OS X follow the /Volumes/<drive>/<full>/<path>/<to>/<file> format..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Cannot write to external HD anymore on mac
    By meddleonthemoon in forum OS X - Operating System
    Replies: 3
    Last Post: 04-18-2013, 09:07 PM
  2. Symbolic links and reported path
    By seandavi in forum OS X - Operating System
    Replies: 0
    Last Post: 08-19-2010, 06:43 AM
  3. How do you write a file in your mac and made it readable on iphone's Notes?
    By seasurfer in forum iPhone Hardware and Accessories
    Replies: 4
    Last Post: 12-16-2007, 10:48 AM
  4. need to know how to write path to folder on local network
    By nick_harambee in forum OS X - Operating System
    Replies: 1
    Last Post: 08-11-2007, 12:18 PM
  5. How do I format an external HD so Mac can write to it?
    By Sangs in forum Switcher Hangout
    Replies: 1
    Last Post: 02-23-2004, 08:00 AM

Posting Permissions

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