Jump to content

ZeratulsDomain3

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ZeratulsDomain3's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Found a solution: http://www.php.net/manual/en/ini.core.php#ini.include-path
  2. At work I wrote many classes/function that are hundreds of lines of code. This code rarely changes, but it does happen. Some of this code is also used in all 4 of the sites. Problem right now is I have "4 sites" with duplicate code on them (copy/pasted). All on a single server running IIS. How can set this up so all 4 sites "share" the same PHP code? My temporary "dirty" fix to this has been to: Setup a 5th site in IIS. Setup a firewall rule to block any access to it, then rename all my PHP files to ".txt" files then simple do "require "somePHPcode.txt" (this way IIS wont "run them" before sending them). This works, but its not very elegant. Got a better method?
  3. hey, ive been programming php for a few years now. I am decent at it. Looking for a good forum to discuss it. Note to admins: please delete ZeratulsDomain and ZeratulsDomain2 and rename this account to ZeratulsDomain. Ran into some bad luck registration this morning...
×
×
  • 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.