php-windows Digest 23 Nov 2005 08:45:44 -0000 Issue 2832
Topics (messages 26522 through 26524):
Oracle php OCILogon problem
26522 by: Alf Stockton
Oracle tnsnames.ora
26523 by: Alf Stockton
Decryption
26524 by: kumar kumar
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
I am very new to Oracle and I cannot get my php script to connect to an
Oracle database from the following statement:-
$conn=OCILogon("big", "big", "s6s");
and the variables are as far as I am concerned, correct.
Where can I look in Oracle to see some detail of why I am not succeeding.
--
Regards,
Alf Stockton www.stockton.co.za
Linux 2.6.12-9-386
You work very hard. Don't try to think as well.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--- End Message ---
--- Begin Message ---
My Oracle database sits on a Windows XP machine on the d: hdd.
My tnsnames.ora therefore sits in
d:\oracle\ora92\network\admin\tnsnames.ora.
Is there any problem with the above configuration?
--
Regards,
Alf Stockton www.stockton.co.za
Linux 2.6.12-9-386
You work very hard. Don't try to think as well.
My email disclaimer is available at www.stockton.co.za/disclaimer.html
--- End Message ---
--- Begin Message ---
Hi
Is this Code will work for Decryption
$key = md5($_REQUEST['KEY'});
$fp = fopen($fname,"w");
$getdata = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key,
fopen("php://input", "r"),MCRYPT_MODE_ECB);
while(!feof($getdata)){
$data = fread($getdata, 2048);
fwrite($fp,$data);
}
Any Modifications Needed
With Regards
Kumar
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--- End Message ---