Skip to content

Commit

Permalink
- Change from PHP5 -> PHP 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Andi Gutmans committed Feb 8, 2004
1 parent 2a9e129 commit 3bf293f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.PHP4-TO-PHP5-THIN-CHANGES
Expand Up @@ -43,7 +43,7 @@
ext/tokenizer extension. If error_reporting is set to E_ALL notices will ext/tokenizer extension. If error_reporting is set to E_ALL notices will
be produced. Instead of T_ML_CONSTANT for /* */ the T_COMMENT constant be produced. Instead of T_ML_CONSTANT for /* */ the T_COMMENT constant
is used, thus both // and /* */ are resolved as the T_COMMENT constant. is used, thus both // and /* */ are resolved as the T_COMMENT constant.
However the PHPDoc style comments /** */ ,which starting PHP5 are parsed However the PHPDoc style comments /** */ ,which starting PHP 5 are parsed
by PHP, are recongnized as T_DOC_COMMENT. by PHP, are recongnized as T_DOC_COMMENT.


7. $_SERVER should be populated with argc and argv if variables_order 7. $_SERVER should be populated with argc and argv if variables_order
Expand All @@ -64,7 +64,7 @@
} }
} }
?> ?>
This script is perfectly valid and works in PHP4 but with PHP5 there This script is perfectly valid and works in PHP 4 but with PHP 5 there
will be a fatal error like : will be a fatal error like :
Fatal error: Class 'fubar' not found in .... Fatal error: Class 'fubar' not found in ....
If there is defined function __autoload() it will be called. If there is defined function __autoload() it will be called.
2 changes: 1 addition & 1 deletion README.Zeus
@@ -1,4 +1,4 @@
Using PHP5 with the Zeus Web Server Using PHP 5 with the Zeus Web Server
----------------------------------- -----------------------------------


Zeus fully supports running PHP in combination with our Zeus fully supports running PHP in combination with our
Expand Down
6 changes: 3 additions & 3 deletions README.input_filter
@@ -1,12 +1,12 @@
Input Filter Support in PHP5 Input Filter Support in PHP 5
---------------------------- -----------------------------


XSS (Cross Site Scripting) hacks are becoming more and more prevalent, XSS (Cross Site Scripting) hacks are becoming more and more prevalent,
and can be quite difficult to prevent. Whenever you accept user data and can be quite difficult to prevent. Whenever you accept user data
and somehow display this data back to users, you are likely vulnerable and somehow display this data back to users, you are likely vulnerable
to XSS hacks. to XSS hacks.


The Input Filter support in PHP5 is aimed at providing the framework The Input Filter support in PHP 5 is aimed at providing the framework
through which a company-wide or site-wide security policy can be through which a company-wide or site-wide security policy can be
enforced. It is implemented as a SAPI hook and is called from the enforced. It is implemented as a SAPI hook and is called from the
treat_data and post handler functions. To implement your own security treat_data and post handler functions. To implement your own security
Expand Down
2 changes: 1 addition & 1 deletion makerpm
Expand Up @@ -48,7 +48,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: PREQUIRES Requires: PREQUIRES
%description %description
PHP5 is a powerful apache module that adds scripting and database connection PHP 5 is a powerful apache module that adds scripting and database connection
capabilities to the apache server. This version includes the "php_cgi" binary capabilities to the apache server. This version includes the "php_cgi" binary
for suExec and stand alone php scripts too. for suExec and stand alone php scripts too.
Expand Down

0 comments on commit 3bf293f

Please sign in to comment.