Jump to content

Recommended Posts

I am not very strong on low level programming on zend/SAPI. I would like to know if someone could point me in the right direction. I want to overload (or duplicate) the "include" function/process with a custom function/process.

 

The idea is to call a custom function/process e.g. include_custom("file1.php"); This should then do exactly the same as "include". Then the include_custom process can be modified to handle encrypted files or modified php files.

 

I have stumbled upon this site: http://srcdoc.com/php_5.0.4/ but only gave me that amount of info. I have also read 'extending and embedding php' (which is very informative). Both not really going as deep as i want. Any help would be great.

Link to comment
https://forums.phpfreaks.com/topic/64235-delving-deep-into-php/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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