Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Encoding

tomek
2004-10-24
2013-06-04
  • tomek
    tomek
    2004-10-24

    I had a quick question about encoding files. Will encoding work if i have a script which requires another 'config' script, which requires three class files, all of which are to be encoded?

    for example:

    index.php:
    require('config.php');

    config.php:
    require('class1.php');
    require('class2.php');
    require('class3.php');

    classX.php:
    class .....

     
    • Oliver Müller
      Oliver Müller
      2004-10-24

      No problem!

      I even have numerous (pseudo-)dynamic includes like:
      require_once($PATH_GLOBALSCRIPTS.'/some_script.php');
      ....and all work as expected...

      oh wait! you're talking about ENCODING! :-]

      But i think that should be no problem as well, as encoded scripts resemble the same content as on-the-fly encoded scripts, only stored on hdd instead of memory. At least i assume this... :-)