我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

使C函数可用于php

I have a C dll containing functions and enumerations I want to make accessible from php. How can I do it?

You need to write an extension. You do need some C experience but this tutorial is pretty easy to follow.

edit I googled around out of curiosity, apparently you can sort-of dynamically load a dll from php using w32api. I'd still go for the extension ;-)

近期文章

  • 搜索表单以向外部站点提交查询
  • 为什么我的php移动文件脚本实际上没有移动文件?
  • 遇到jquery.post()和php curl的问题
  • 如何在WordPress 3中锐化后缩略图
  • 如何将RSS提要加入其中? (来自php)
  • 包含php变量的$ _POST []数组错误
  • 需要帮助理解一对一的Doctrine
  • 如何在php中将多维数组传递给函数
  • 在使用MVC时如何处理循环中的html?
  • 存储网站偏好的最佳方法是什么?
  • 在PHP中解码的html实体
  • Java里使用import如果import重复了,会不会导致代码被重复导入造成浪费?
  • 我在哪里可以使用php在wordPress中设置css文件的位置?
  • 用什么语言撰写的Facebook Questions应用程序?
  • 如何在php中验证图像数组
  • 使用PHP来请求错误信息并在错误发生时发布
  • PHP cURL代码在线失败但在localhost上失败。 请帮忙!
  • 通过平面文件读取738627条记录会导致内存耗尽错误
  • 如何将myapp / index.php / controller / view映射到myapp / controller / view?
  • 推荐轻量级ORM / Active Record Library [关闭]

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华