symlink

  • The symlink function in PHP creates a symbolic link.

    PHP

    symlink('/path/to/source', '/path/to/target');

    Ruby’s File.symlink class method is equivalent.

    Ruby

    File.symlink('/path/to/source', '/path/to/target')

    see also

Looking for Rails or PHP web application development, integration, and training?

Rails for PHP is brought to you by Maintainable Software. Get custom web applications and personalized training from the authors of the book and website.