call C-functions from PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fbenjes
Forum Newbie
Posts: 1
Joined: Fri Nov 08, 2002 3:44 am

call C-functions from PHP

Post by fbenjes »

Hello,

is it possible to call C or C++-functions from PHP-code
i.e. using a C-library or .O file?

(I'm working on UNIX)
Thanks for your help, Friederike
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

you can if you compile your own PHP extension.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Conveniently this was discussed recently:
viewtopic.php?t=3987&highlight=extension

Mac
Post Reply