1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Fixed typos

This commit is contained in:
Pascal Borreli
2014-05-21 22:57:36 +01:00
parent 049a8724d5
commit 42497c72fb
9 changed files with 12 additions and 12 deletions

View File

@@ -45,7 +45,7 @@ site_header("Operating System Preparation", array("current" => "community"));
</p>
<p>
The following table shows what is required for Microsoft Windows users to build PHP:
<p/>
</p>
<table>
<tr>
<th>PHP</th>
@@ -156,7 +156,7 @@ site_header("Operating System Preparation", array("current" => "community"));
</ul>
</p>
<p>
The <i>configure</i> script has the ability to customize almost every aspect of PHP, to ellicit help at the console pass <i>--help</i>
The <i>configure</i> script has the ability to customize almost every aspect of PHP, to elicit help at the console pass <i>--help</i>
as the only argument to <i>configure</i></p>
<p>
When <i>configure</i> executes, it saves the options passed in to a re-usable <i>config.nice</i> which executes <i>configure</i> when invoked.

View File

@@ -77,7 +77,7 @@ if (preg_match("!(.*\\.php)3$!", $URI, $array)) {
// ============================================================================
// BC: handle moving english manual down into its own directory (also supports
// default language manual accessibilty on mirror sites through /manual/filename)
// default language manual accessibility on mirror sites through /manual/filename)
// @todo do we rely on this? how about removing it...
if (preg_match("!^manual/([^/]*)$!", $URI, $array)) {
if (!isset($INACTIVE_ONLINE_LANGUAGES[$array[1]])) {
@@ -221,7 +221,7 @@ $manual_page_moves = array(
// entry point changed
'installation' => 'install',
// was splitted among platforms (don't know where to redirect)
// was split among platforms (don't know where to redirect)
'install.apache' => 'install',
'install.apache2' => 'install',
'install.netscape-enterprise'=> 'install',
@@ -472,7 +472,7 @@ $external_redirects = array(
"rest/readme.mailinglist_rules" => "http://git.php.net/?p=php-src.git;a=blob_plain;f=README.MAILINGLIST_RULES;hb=HEAD",
"rest/readme.git-rules" => "http://git.php.net/?p=php-src.git;a=blob_plain;f=README.GIT-RULES;hb=HEAD",
"rest/coding_standards" => "http://git.php.net/?p=php-src.git;a=blob_plain;f=CODING_STANDARDS;hb=HEAD",
"sunglasses" => "https://www.youtube.com/watch?v=dQw4w9WgXcQ", // Temporary easiter egg for bug#66144
"sunglasses" => "https://www.youtube.com/watch?v=dQw4w9WgXcQ", // Temporary easter egg for bug#66144
);
// ============================================================================

View File

@@ -101,7 +101,7 @@ if (count($_POST) && (!isset($_POST['purpose']) || !is_array($_POST['purpose'])
);
// Error while posting
if ($error) {
$error = "An error occured when trying to create the account: $error.";
$error = "An error occurred when trying to create the account: $error.";
}
}

View File

@@ -43,7 +43,7 @@ if (ini_get("date.timezone") === "" && function_exists("date_default_timezone_se
}
/* Compatability with the PHP webserver.. */
/* Compatibility with the PHP webserver.. */
if (!isset($_SERVER["SERVER_ADDR"])) {
$_SERVER["SERVER_ADDR"] = "127.0.0.1";
}

View File

@@ -85,7 +85,7 @@ site_header("License Information", array("current" => "help"));
<a name="faq-lic"></a>
<h2>Frequently Asked Questions</h2>
<!-- Selecetd FAQ points from former page on License Information [v 1.13] -->
<!-- Selected FAQ points from former page on License Information [v 1.13] -->
<!-- Comments ref.old versions of PHP license prior to v3.0 have been removed -->
<h3>Use of the "PHP" name</h3>

View File

@@ -75,7 +75,7 @@ if ($process) {
$error = "Your note is too short. Trying to test the notes system? Save us the trouble of deleting your test, and don't. It works.";
}
// Chek if any line is too long
// Check if any line is too long
else {
// Split the note by whitespace, and check length

View File

@@ -187,7 +187,7 @@ site_header(
The other is via the SQLite3 extension. These extensions are both compiled
into PHP by default. Note: Some Linux distributions disable many extensions
in their package systems, including SQLite. Please make sure you install the
"php5-sqlite" (or similiar) package if using such a system.
"php5-sqlite" (or similar) package if using such a system.
</p>
<h2>Setup Apache VirtualHost</h2>

2
my.php
View File

@@ -24,7 +24,7 @@ if (isset($_POST['my_lang']) && isset($langs[$_POST['my_lang']])) {
unset($langs[$_POST['my_lang']]);
}
// We have recevied a cookie and it is an available language
// We have received a cookie and it is an available language
elseif (isset($langs[myphpnet_language()])) {
// Add this as first option, selected

View File

@@ -81,7 +81,7 @@ function a($href) {
<li>Other language pages (e.g. <?php a("oop") ?>)</li>
</ul>
<p>
Since there are several manual pages that could potentionally match the query
Since there are several manual pages that could potentially match the query
(extension, class, function name..) you are encouraged to use their prefix/suffix:
</p>
<ul>