During project development, I have been using PHP. While enjoying the flexible functions of PHP, I also encountered some problems, such as the "remote oracle" problem of PHP's ODBC interface, which means that you are reported to have no m. After some searching, I still haven’t found the answer to the question about the NS service name. It’s an urgent matter!
In desperation, I came up with a clever idea, please take a look:
I used ASP to connect to the remote database, and of course everything was OK. Thinking of my previous experience in using floating frames, why not use ASP to float the code that accesses the remote Oracle? Frame is implemented as follows:
(1). Create a
(2) Put the code to access the remote Oracle into the ./inc/XXX.ASP page
such as set conn=Server.CreatObject("ADODB.Connection") ...
...
(3) Place the following code in the ../inc/XXX.ASP script location:
The above method is my own experience, and it only serves as a starting point. Similarly, we can use
the integration of PERL, ASP+, CGI, JSP, and PHP. First, we can give full play to the advantages of each language and make up for the shortcomings. The second is to provide some ideas for web modularization, especially when developing large-scale projects, so that everyone can cooperate. Regarding the issue of script hybrid programming, I will continue to give you my new dedication!
http://www.bkjia.com/PHPjc/315668.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/315668.htmlTechArticleI started using php all the time during project development. While enjoying the flexible functions of php, I also encountered When there are some problems, such as the problem of php's ODBC interface connecting to remote Oracle, it reports that you have no mE...
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn