PHP for questions, for urgent request, thank you, the great God

Source: Internet
Author: User
PHP problem, urgent request, thank you big God!
This post was last edited by u011627263 on 2013-08-16 10:02:57

Guys, look at this code.
$obj = new COM ("Makedm_activexdll.dll");
$file = __file__;

$obj->dmmake ($_post[' Text1 '],$_post[' Text2 '), $file, $_post[' Text4 '],$_post[' Text22 ']);
$obj->dmmixtext ($file, $_post[' Text8 '],$_post[' Text9 '],$_post[' Text10 '],$_post[' Text11 '],$_post[' Text12 '],$_ post[' Text7 ');

$nType = $_post[' Text2 ');
$nScale = $_post[' Text4 ');
$nMargin = $_post[' Text22 ');
$szText =$_post[' Text8 '];
$lFontSize =$_post[' Text9 '];
$lTxtHeight =$_post[' Text10 '];
$lHmargin =$_post[' Text11 '];
$lVmargin =$_post[' Text12 '];
$lTxtCntOneLine =$_post[' Text7 '];
?>


I run, he says my second line has a problem, I don't know if it's a makedm_activexdll.dll file, or there's a problem with it, Dmmake and Dmmixtext are the functions in my makedm_activexdll.dll generation. Please look, thank you very much, here are the questions
------Solution--------------------
If you are sure that your extension makedm_activexdll.dll can be used correctly in PHP,
You will need to copy the. dll file to the PHP installation directory \ext folder, and then modify the php.ini file to
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions;
;;;;;;;;;;;;;;;;;;;;;;
On the configuration section, add a reference to the DLL file by format extension = A.dll
Restarting the Web server hosting PHP should be OK.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.