Exert the power of language--fusion of PHP and Asp_php Foundation

Source: Internet
Author: User
I am in the project development, began to use PHP, in the enjoyment of PHP flexible functions, but also encountered some problems, such as PHP's ODBC interface to connect the "remote Oracle" problem, is to report you without M epiphyseal are ń naan Shan NS service name, after some elusive, There is still no answer to the question, the immediate problem!
The feeling is feeling nasty, come up with a clever plan, all the June please see:
I use ASP connection remote database, of course, all OK, Lenovo I used to use floating frame experience, why not access to remote Oracle Code with ASP floating frame implementation, the following methods:
(1). In the PHP page to create a
<div id= "Iframeaspdiv" style= "hidden" >
<iframe id= "iframeasp" src= "/inc/xxx.asp" ></iframe>
</DIV>
(2) The access to remote Oracle code into the./inc/xxx. ASP page
such as set Conn=server.creatobject ("ADODB. Connection ") ...
...
(3) in the. /inc/xxx. The ASP script location places the following code:
<script language= "JavaScript" >
Parent. Xxxid.value= "<%=YYY%>"//== access to the parent window element
Parent. Xxxxid.innerhtml= "<%=ZZZ%>";
</script>
The above method is my experience, just play the role of a trigger, similar, we can use
Perl,asp+,cgi,jsp,php The big fusion, one can play the respective language merit, make up the insufficiency. Second, for the Web page modular to provide a point of thought, the special development of large-scale projects can be all cooperation. On the issue of scripting mixed programming, I will continue to dedicate my new to everyone!

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.