Jump to content

Extensions idea


ingyingamar

Recommended Posts

In reference to posts by myself and another (links below) there seems to be an issue with protecting source code and making reusable code across multiple virtual domains. Here is an idea that I have that might partially solve both issues if someone is interested (I do not program in C).

 

Create an extension (or module?) that when php starts would load a /folder (outside any virtual host dir of course) with php files. It would then 'register' the file name (minus the .php extension of course) as a builtin 'FUNCTION', allowing that function/file to be called when needed....

 

It seems to me that this would protect source code from prying eyes and allow anyone to create a serverwide set of functions that any virtual host can access.

 

Is this even possible? Would anyone be interested in doing this?

 

I'm amazed that this isn't built into PH already.......

 

http://www.phpfreaks.com/forums/index.php/topic,168859.0.html

http://www.phpfreaks.com/forums/index.php/topic,126931.0.html

 

Link to comment
https://forums.phpfreaks.com/topic/78495-extensions-idea/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.