Jump to content

Search the Community

Showing results for tags 'symlink php include'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 1 result

  1. Thank you in advance... 1) I have a directory called /construct/ located here above web root: /home/xxxx/construct/ 2) I have the /construct/ directory symlinked to multiple subdomains so the path looks like so: /home/xxxx/public_html/sampleaccount/construct/ (wherein 'sampleaccount' is a subdomain) *NOTE: All directories and files in each subdomain are identical except for a few account-specific customization files. 3) /construct/ contains files that use <?php include ?> to pull-in content files from a directory called /bodyCopy/ which is located inside every subdomain account. For example: <?php include("/bodyCopy/copy-content.php"); ?> ..is intended to point to a file here... /home/xxxx/public_html/sampleaccount/bodyCopy/copy-content.php The issue that I am having is that the PHP Include file is trying to search here: /home/xxxx/construct/bodyCopy/ (which does not exist) ...instead of here... /home/xxxx/public_html/sampleaccount/bodyCopy/ (which does exist) ...for this file... copy-content.php I read somewhere that symlinked files are not capable of following relative paths in the directories to which they are symlinked. Even so, I have symlinked FCKEditor/CKEditor to subdomain accounts been able to pull copy-content.php files into it which are specific to its subdomain account. Is there a way to eloquently force or command the PHP Include (within the symlinked files) to search the /bodyCopy/ directory within the target subdomain(s) instead of the source directory above web root? Once again, I thank you all in advance for any assistance that you can provide. --JET--
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.