易截截图软件、单文件、免安装、纯绿色、仅160KB

PHP 连接Oracle 出错

<?php
  getenv("ORACLE_HOME");
  $conn=ocilogon("test","test","test_db");
  if($conn)  
  echo success;  
  else  
  echo fail;  
  ?>

报以下错误:
Warning: ocilogon(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries in D:\PHP\b.php on line 4 fail

ORACLE_HOME: E:\oracle\product\10.2.0\db_1
TNS_ADMIN: $ORACLE_HOME/network/admin/
Path: E:\oracle\product\10.2.0\db_1\bin;

上面是我的环境变量的设置

顶顶

使用adodb类吧,http://adodb.sourceforge.net/

引用
使用adodb类吧,http://adodb.sourceforge.net/
看来adodb还是人在用的


相关问答:

求助帮我把一段简单的PHP代码转换成ASP的

<?php
if($_SERVER['HTTP_REFERER']!=''){
  @header("Content-type:image/jpeg");
  echo file_get_contents("xlight.jpg");
}
else{
  @header("location:ht ......

php中file_get_contents问题

$a = $_FILES['userfile']['name'] ;

$test = $a;

$p = split('/',$test);

$p[count($p)-1];

$content = file_get_contents("$p");

$con ......

关于php伪静态的问题

<?php
/*
功能:PHP伪静态化页面的实现
具体用法:
例如链接为:test.php/year/2006/action/_add.html
mod_rewrite();
 $yearn= $_GET["year"];//结果为'2006' ......

php webservice报错Object id #2啦!

webclient.php文件:
<?php
$arrOptions = array( 'uri'=>'http://10.10.19.111/','location'=>'http://10.10.19.111/webservice/webservice.php','trace' ......

关于 php webservice 的问题 - PHP / 基础编程

对php不是很了解 写了个简单的例子
现用c#调用php写的 webservice(soap WSDL)iis6.0+php5.2.8
webservice如下
<?php
class WebService
{
  public function Logout()
  {
//header('Co ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号