It is currently Fri Jun 22, 2018 6:37 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Writing PHP Extensions
PostPosted: Sat Oct 07, 2017 4:44 pm 
Offline
New User
New User

Joined: Sat Oct 07, 2017 4:39 pm
Posts: 1
It should be possible to extend PHP using .so-Files under Linux with PureBasic.

Extending with:

Code:
if (!extension_loaded('date_calculator')) {
    if (!dl('date_calculator.so')) {
        exit;
    }
}


oder via php.ini:

Code:
zend_extension = /my/path/to/script/date_calculator.so


But how can PHP communicate with this extension. Has anyone tried this before?

Any ideas/hints where to start with PB?

D.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye