From 10844e7633e3306b865350df677fe44773867082 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Mon, 3 Dec 2001 19:35:57 +0000 Subject: [PATCH] Typo Fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@63803 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/image.xml | 12 ++++++------ functions/mhash.xml | 6 +++--- functions/network.xml | 4 ++-- functions/oci8.xml | 18 +++++++++--------- functions/openssl.xml | 6 +++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/functions/image.xml b/functions/image.xml index fe380db61d..b88667c233 100644 --- a/functions/image.xml +++ b/functions/image.xml @@ -1,5 +1,5 @@ - + Image functions Image @@ -113,7 +113,7 @@ @@ -3031,7 +3031,7 @@ $im = imagecreate (400, 30); $black = ImageColorAllocate ($im, 0, 0, 0); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 10, 20, $white, "/path/arial.ttf", - "Testing... Omega: Ω"); + "Testing... Omega: Ω"); ImageGif ($im); ImageDestroy ($im); ?> @@ -3074,7 +3074,7 @@ ImageDestroy ($im); diff --git a/functions/mhash.xml b/functions/mhash.xml index 51553980e0..57922d9cc1 100644 --- a/functions/mhash.xml +++ b/functions/mhash.xml @@ -1,5 +1,5 @@ - + Mhash Functions mhash @@ -32,9 +32,9 @@ "; +print "The hash is ".bin2hex ($hash)."
\n"; $hash = mhash (MHASH_MD5, $input, "Jefe"); -print "The hmac is ".bin2hex ($hash)."\n<br>"; +print "The hmac is ".bin2hex ($hash)."
\n"; ?> ]]>
diff --git a/functions/network.xml b/functions/network.xml index ad97a16a5b..a4ffdc8bdc 100644 --- a/functions/network.xml +++ b/functions/network.xml @@ -1,5 +1,5 @@ - + Network Functions Network @@ -236,7 +236,7 @@ if (!$fp) { Using UDP connection \n"; diff --git a/functions/oci8.xml b/functions/oci8.xml index 844518f611..02ac7220e8 100644 --- a/functions/oci8.xml +++ b/functions/oci8.xml @@ -1,5 +1,5 @@ - + Oracle 8 functions OCI8 @@ -283,13 +283,13 @@ $data = array(1111 => "Larry", 2222 => "Bill", 3333 => "Jim"); $rowid = OCINewDescriptor($conn,OCI_D_ROWID); -OCIBindByName($stmt,":empno",&$empno,32); -OCIBindByName($stmt,":ename",&$ename,32); -OCIBindByName($stmt,":rid",&$rowid,-1,OCI_B_ROWID); +OCIBindByName($stmt,":empno",&$empno,32); +OCIBindByName($stmt,":ename",&$ename,32); +OCIBindByName($stmt,":rid",&$rowid,-1,OCI_B_ROWID); $update = OCIParse($conn,"update emp set sal = :sal where ROWID = :rid"); -OCIBindByName($update,":rid",&$rowid,-1,OCI_B_ROWID); -OCIBindByName($update,":sal",&$sal,32); +OCIBindByName($update,":rid",&$rowid,-1,OCI_B_ROWID); +OCIBindByName($update,":sal",&$sal,32); $sal = 10000; @@ -305,7 +305,7 @@ OCIFreeStatement($stmt); $stmt = OCIParse($conn,"select * from emp where empno in (1111,2222,3333)"); OCIExecute($stmt); -while (OCIFetchInto($stmt,&$arr,OCI_ASSOC)) { +while (OCIFetchInto($stmt,&$arr,OCI_ASSOC)) { var_dump($arr); } OCIFreeStatement($stmt); @@ -1466,14 +1466,14 @@ print "DEPT #"; print "# EMPLOYEES"; print ""; -while (OCIFetchInto($stmt,&$data,OCI_ASSOC)) { +while (OCIFetchInto($stmt,&$data,OCI_ASSOC)) { print ""; $dname = $data["DNAME"]; $deptno = $data["DEPTNO"]; print "$dname"; print "$deptno"; ociexecute($data[ "EMPCNT" ]); - while (OCIFetchInto($data[ "EMPCNT" ],&$subdata,OCI_ASSOC)) { + while (OCIFetchInto($data[ "EMPCNT" ],&$subdata,OCI_ASSOC)) { $num_emps = $subdata["NUM_EMPS"]; print "$num_emps"; } diff --git a/functions/openssl.xml b/functions/openssl.xml index 871476eded..65af8ef053 100644 --- a/functions/openssl.xml +++ b/functions/openssl.xml @@ -1,5 +1,5 @@ - + OpenSSL functions OpenSSL @@ -209,7 +209,7 @@ \n"; ]]> @@ -744,7 +744,7 @@ if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem", "Subject" => "Eyes only")) { // message signed - send it! - exec(ini_get("sendmail_path") . " < signed.txt"); + exec(ini_get("sendmail_path") . " < signed.txt"); } ]]>