When php connects to Oracle, it prompts CalltoundefinedfunctionOra_Logon(), how to solve it?

PHP connects to Oracle and prompts Call to undefined function Ora_Logon()A short piece of code written according to the information <? if ($cOnn=Ora_Logon( “hr@ TNSNAME “, “hr “)) { echo “SUCCESS ! Connected to database\n “; } else { echo “Failed 🙁 Could not connect to database\n “;} Ora_Logoff($conn); phpinfo(); ?> Tip Ora_Logon function is defined , why? I have removed the semicolon of extension=php_oci8.dll in php.ini and imported php_oci8.dll into windows/system32. />——Solution——————–It’s not like you You can install the Oracle extension… And ora_logon belongs to CXIII. Oracle function (obsolete) You have to use CVII. Oracle function http://cn.php.net/manual/zh/ref.oci8.php ——Solution——————–Did you config your php with Oracle while installing it? Please check below ./configure –prefix=/appbin/php –with-apxs2=/appbin/apache/bin/apxs –with- oci8=$ORACLE_HOME $ORACLE_HOME is path which your Oracle clinet/server located, then use oci_connect() or use oci_newconnect(), Please check php doc for detail

About Django, how to solve it

About DjangoI heard that Django is a very useful web framework written in Python. I am going to use PHP to develop a website. I’m looking for a better framework. Excuse me, can this Django be used only in Python development, or can it be used in all web development? Can I use Django in PHP development? ——Solution——————– Reference Being a Python Web framework, Django requires Python. ——Solution——————– Django is a Python web framework. I personally think it is faster to develop with PHP. I have developed with Django once before, but it is more difficult without a Python foundation. It took me a long time when I first started using Django. Django is based on the mvc model. If you are a novice, it is recommended not to use it, because you don’t even know why you need mvc and what are the benefits of mvc. However, python’s data structure is very powerful and very easy to use. If you are proficient, you can use django very quickly. , and I personally feel that python is born with linux, so. .

Google address resolution, how to solve it

google address analysisI want to batch parse addresses to obtain longitude and latitude in a php program. $_url = “http://maps.googleapis.com/maps/api/geocode/json?address={$address}&sensor=false”;$_result = file_get_contents($_url); The data can still be obtained for the first few days, but there is no data for these two days. The return value is: { “results” : [], “status” : “OVER_QUERY_LIMIT” } This is restricted . Why? How to deal with it? ——Solution——————– Doesn’t Google Maps have a limit on how many calls require Money? Is it related to this?

CAKEphp, Node.js, MongoDB, how to solve it

CAKEphp, Node.js, MongoDB, how to solve it

CAKEphp, Node.js, MongoDBThe three technologies of CAKEphp, Node.js and MongoDB As a beginner, I hope you can share with me some good learning websites or books, thank you! node.js Share to: ——Solution——————– Quote: Download the mongoDB installation package on WindowsXP? It can be downloaded from its official website. If it supports XP, it can be installed as a service or started using a command. Document: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ Step by step, very simple. ——Solution——————–Learn and help Top…

When php connects to Oracle, it prompts CalltoundefinedfunctionOra_Logon(), how to solve it?

PHP connects to Oracle and prompts Call to undefined function Ora_Logon()A short piece of code written according to the information <? if ($cOnn=Ora_Logon( “hr@ TNSNAME “, “hr “)) { echo “SUCCESS ! Connected to database\n “; } else { echo “Failed 🙁 Could not connect to database\n “;} Ora_Logoff($conn); phpinfo(); ?> Prompt Ora_Logon function is defined , why? I have removed the semicolon of extension=php_oci8.dll in php.ini and imported php_oci8.dll into windows/system32. />——Solution——————–It’s not like you You can install the Oracle extension… And ora_logon belongs to CXIII. Oracle function (obsolete) You have to use CVII. Oracle function http://cn.php.net/manual/zh/ref.oci8.php ——Solution——————–Did you config your php with Oracle while installing it? Please check below ./configure –prefix=/appbin/php –with-apxs2=/appbin/apache/bin/apxs –with- oci8=$ORACLE_HOME $ORACLE_HOME is path which your Oracle clinet/server located, then use oci_connect() or use oci_newconnect(), Please check php doc for detail

Google address resolution, how to solve it

google address analysisI want to batch parse addresses to obtain longitude and latitude in a php program. $_url = “http://maps.googleapis.com/maps/api/geocode/json?address={$address}&sensor=false”;$_result = file_get_contents($_url); The data can still be obtained for the first few days, but there is no data for these two days. The return value is: { “results” : [], “status” : “OVER_QUERY_LIMIT” } This is restricted . Why? How to deal with it? ——Solution——————–Doesn’t Google Maps have a limit on how many calls require Money? Is it related to this

Google address resolution, how to solve it

google address analysisI want to batch parse addresses to obtain longitude and latitude in a php program. $_url = “http://maps.googleapis.com/maps/api/geocode/json?address={$address}&sensor=false”;$_result = file_get_contents($_url); The data can still be obtained for the first few days, but there is no data for these two days. The return value is: { “results” : [], “status” : “OVER_QUERY_LIMIT” } This is restricted . Why? How to deal with it? ——Solution——————– Doesn’t Google Maps have a limit on how many calls require Money? Is it related to this?

About Django, how to solve it

About DjangoI heard that Django is a very useful web framework written in Python. I am going to use PHP to develop a website. I’m looking for a better framework. Excuse me, can this Django be used only in Python development, or can it be used in all web development? Can I use Django in PHP development? ——Solution——————– Quote Being a Python Web framework, Django requires Python. ——Solution– ——————Django is a web framework for python. Personally, I think it is faster to develop with php. I have also developed it with django once before. , but it is more difficult if you don’t have a python foundation. It took me a long time when I first started using django. Django is based on the mvc model. If you are a novice, it is recommended not to use it, because you don’t even know why you need mvc and what are the benefits of mvc. However, python’s data structure is very powerful and very easy to use. If you are proficient, you can use django very quickly. , and I personally feel that python is born with linux, so. .

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索