Give full play to the power of the language-integrating PHP and ASP_PHP tutorials

Source: Internet
Author: User
Give full play to the power of language-integrating PHP and ASP. I started to use php during project development. when enjoying the flexible functions of php, I also encountered some problems, such as the problem of connecting the php ODBC interface to remote oracle, it is to report that you have never used php in project development, and you have encountered some problems while enjoying the flexible functions of php, for example, if the ODBC interface of php is connected to "remote oracle", it is to report that you do not have the service name of the "m" NS. after some exploration, you still have not found the answer to the question, which is an urgent matter!
In a hurry, come up with a clever plan. let's take a look:
I used ASP to connect to a remote database. of course everything is okay. I think of my previous experiences with floating charts. why not use ASP floating charts to access the remote Oracle code. the method is as follows:
(1 ). Create on the PHP page



(2) add the code for accessing remote Oracle to the./inc/XXX. ASP page.
For example, set conn = Server. CreatObject ("ADODB. Connection ")...
...
(3) place the following code in the./inc/XXX. ASP script position:

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.