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...
精彩评论