From 6e8112625b55c08faa2ee948f92ba49bb9519489 Mon Sep 17 00:00:00 2001 From: Ron Chmara Date: Wed, 13 Dec 2000 04:51:35 +0000 Subject: [PATCH] fixing -<? copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?> +<?php copy($PHP_UPLOADED_FILE_NAME,$DOCUMENT_ROOT.$REQUEST_URI); ?> diff --git a/functions/array.xml b/functions/array.xml index 4b7adc63f5..0265552e77 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1697,7 +1697,7 @@ while (list ($key, $val) = each ($HTTP_POST_VARS)) { <function>Extract</function> example -<php? +<?php /* Suppose that $var_array is an array returned from wddx_deserialize */ diff --git a/functions/network.xml b/functions/network.xml index 9ce3b6fc35..d1079f4953 100644 --- a/functions/network.xml +++ b/functions/network.xml @@ -507,7 +507,7 @@ if (!$fp) { <function>Ip2long</function> Example -<? +<?php $ip = gethostbyname("www.php.net"); $out = "The following URLs are equivalent:<br>\n"; $out .= "http://www.php.net/, http://".$ip."/, and http://".ip2long($ip)."/<br>\n"; diff --git a/functions/pgsql.xml b/functions/pgsql.xml index 9ef90654bd..c06417d3d3 100644 --- a/functions/pgsql.xml +++ b/functions/pgsql.xml @@ -453,7 +453,7 @@ echo $arr["author"] . " <- array\n"; $database = "verlag"; $db_conn = pg_connect ("host=localhost port=5432 dbname=$database"); if (!$db_conn): ?> - <H1>Failed connecting to postgres database <? echo $database ?></H1> <? + <H1>Failed connecting to postgres database <?php echo $database ?></H1> <?php exit; endif; diff --git a/functions/session.xml b/functions/session.xml index 10067e7fe3..eedbccc4b3 100644 --- a/functions/session.xml +++ b/functions/session.xml @@ -144,7 +144,7 @@ session_register ("count"); $count++; ?> -Hello visitor, you have seen this page <? echo $count; ?> times.<p> +Hello visitor, you have seen this page <?php echo $count; ?> times.<p> <php? # the <?=SID?> is necessary to preserve the session id diff --git a/language/types.xml b/language/types.xml index 990211c75a..d67b51b3c2 100644 --- a/language/types.xml +++ b/language/types.xml @@ -481,7 +481,7 @@ $a = array( multi-dimensional arrays: -<? +<?php $a = array( "apple" => array( "color" => "red",