philip Mon Dec 3 14:35:58 2001 EDT
Modified files:
/phpdoc/en/functions image.xml mhash.xml network.xml oci8.xml
openssl.xml
Log:
Typo Fixes
Index: phpdoc/en/functions/image.xml
diff -u phpdoc/en/functions/image.xml:1.62 phpdoc/en/functions/image.xml:1.63
--- phpdoc/en/functions/image.xml:1.62 Sat Nov 17 22:07:18 2001
+++ phpdoc/en/functions/image.xml Mon Dec 3 14:35:57 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.62 $ -->
+<!-- $Revision: 1.63 $ -->
<reference id="ref.image">
<title>Image functions</title>
<titleabbrev>Image</titleabbrev>
@@ -113,7 +113,7 @@
<programlisting>
<![CDATA[
<?php
- $size = GetImageSize ("testimg.jpg",&$info);
+ $size = GetImageSize ("testimg.jpg",&$info);
if (isset ($info["APP13"])) {
$iptc = iptcparse ($info["APP13"]);
var_dump ($iptc);
@@ -1744,11 +1744,11 @@
<informalexample>
<programlisting role="php">
<![CDATA[
-if (ImageTypes() & IMG_GIF) {
+if (ImageTypes() & IMG_GIF) {
Header("Content-type: image/gif");
ImageGif($im);
}
-elseif (ImageTypes() & IMG_JPG) {
+elseif (ImageTypes() & IMG_JPG) {
... etc.
]]>
</programlisting>
@@ -3031,7 +3031,7 @@
$black = ImageColorAllocate ($im, 0, 0, 0);
$white = ImageColorAllocate ($im, 255, 255, 255);
ImageTTFText ($im, 20, 0, 10, 20, $white, "/path/arial.ttf",
- "Testing... Omega: &#937;");
+ "Testing... Omega: Ω");
ImageGif ($im);
ImageDestroy ($im);
?>
@@ -3074,7 +3074,7 @@
<programlisting role="php">
<![CDATA[
<?php
-if (ImageTypes() & IMG_PNG) {
+if (ImageTypes() & IMG_PNG) {
echo "PNG Support is enabled";
}
?>
Index: phpdoc/en/functions/mhash.xml
diff -u phpdoc/en/functions/mhash.xml:1.19 phpdoc/en/functions/mhash.xml:1.20
--- phpdoc/en/functions/mhash.xml:1.19 Tue Nov 20 18:58:45 2001
+++ phpdoc/en/functions/mhash.xml Mon Dec 3 14:35:57 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<reference id="ref.mhash">
<title>Mhash Functions</title>
<titleabbrev>mhash</titleabbrev>
@@ -32,9 +32,9 @@
<?php
$input = "what do ya want for nothing?";
$hash = mhash (MHASH_MD5, $input);
-print "The hash is ".bin2hex ($hash)."\n<br>";
+print "The hash is ".bin2hex ($hash)."<br />\n";
$hash = mhash (MHASH_MD5, $input, "Jefe");
-print "The hmac is ".bin2hex ($hash)."\n<br>";
+print "The hmac is ".bin2hex ($hash)."<br />\n";
?>
]]>
</programlisting>
Index: phpdoc/en/functions/network.xml
diff -u phpdoc/en/functions/network.xml:1.45 phpdoc/en/functions/network.xml:1.46
--- phpdoc/en/functions/network.xml:1.45 Tue Nov 20 18:58:47 2001
+++ phpdoc/en/functions/network.xml Mon Dec 3 14:35:57 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.45 $ -->
+<!-- $Revision: 1.46 $ -->
<reference id="ref.network">
<title>Network Functions</title>
<titleabbrev>Network</titleabbrev>
@@ -236,7 +236,7 @@
<title>Using UDP connection</title>
<programlisting role="php">
<![CDATA[
-<?php
+<?php
$fp = fsockopen("udp://127.0.0.1", 13, $errno, $errstr);
if (!$fp) {
echo "ERROR: $errno - $errstr<br>\n";
Index: phpdoc/en/functions/oci8.xml
diff -u phpdoc/en/functions/oci8.xml:1.36 phpdoc/en/functions/oci8.xml:1.37
--- phpdoc/en/functions/oci8.xml:1.36 Wed Nov 21 17:09:47 2001
+++ phpdoc/en/functions/oci8.xml Mon Dec 3 14:35:57 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.36 $ -->
+<!-- $Revision: 1.37 $ -->
<reference id="ref.oci8">
<title>Oracle 8 functions</title>
<titleabbrev>OCI8</titleabbrev>
@@ -283,13 +283,13 @@
$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 @@
$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 "<TH># EMPLOYEES</TH>";
print "</TR>";
-while (OCIFetchInto($stmt,&$data,OCI_ASSOC)) {
+while (OCIFetchInto($stmt,&$data,OCI_ASSOC)) {
print "<TR>";
$dname = $data["DNAME"];
$deptno = $data["DEPTNO"];
print "<TD>$dname</TD>";
print "<TD>$deptno</TD>";
ociexecute($data[ "EMPCNT" ]);
- while (OCIFetchInto($data[ "EMPCNT" ],&$subdata,OCI_ASSOC)) {
+ while (OCIFetchInto($data[ "EMPCNT" ],&$subdata,OCI_ASSOC)) {
$num_emps = $subdata["NUM_EMPS"];
print "<TD>$num_emps</TD>";
}
Index: phpdoc/en/functions/openssl.xml
diff -u phpdoc/en/functions/openssl.xml:1.16 phpdoc/en/functions/openssl.xml:1.17
--- phpdoc/en/functions/openssl.xml:1.16 Tue Nov 20 18:58:47 2001
+++ phpdoc/en/functions/openssl.xml Mon Dec 3 14:35:57 2001
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.16 $ -->
+<!-- $Revision: 1.17 $ -->
<reference id="ref.openssl">
<title>OpenSSL functions</title>
<titleabbrev>OpenSSL</titleabbrev>
@@ -209,7 +209,7 @@
<![CDATA[
// lets assume you just called an openssl function that failed
while($msg = openssl_error_string)
- echo $msg . "<br>";
+ echo $msg . "<br />\n";
]]>
</programlisting>
</example>
@@ -744,7 +744,7 @@
"Subject" => "Eyes only"))
{
// message signed - send it!
- exec(ini_get("sendmail_path") . " < signed.txt");
+ exec(ini_get("sendmail_path") . " < signed.txt");
}
]]>
</programlisting>