开发者

accessing a *dll from PHP joomla

I have a *.dll that controls picture file sizes. 开发者_如何转开发It contains a simple function:

CopyPic (PChar: inFileName, outFileName: PChar, MaxSize: Int, MaxWidth: int, MaxHeight: int)

...and returns an int for error checking.

I need to access it from PHP code. I would it run through Java.


I believe you have mixed it all up.

But anyway, take a look at

http://php.net/manual/en/function.system.php

http://support.microsoft.com/kb/164787


Check this out. Never used it but other people have reported success...

EDIT You can also probably do it with .NET and/or COM although don't ask me how...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜