简体   繁体   中英

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...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM