[PHP-DEV] Bug #14217: Strange bug with strtr() function

2001-11-25 Thread akul

From: [EMAIL PROTECTED]
Operating system: windows 98
PHP version:  4.0.6
PHP Bug Type: Strings related
Bug description:  Strange bug with strtr() function 

I have very simple function to convert some sumbols to underscores:

function to_tag($text)
{   
$from=" \"\t\\/:#$%^&*()=+-!`'~?<>[],.";
$retval=strtr($text,$from,str_repeat('_',strlen($from)));
  // debug output
echo "\r\n[$text] >> [$retval]";
return $retval;
}

And I have such string (first world is russian, Win-1251): "àâòîðñêàÿ 
d'fusion"

On simple example all is Ok:


X-Powered-By: PHP/4.0.7-dev
Content-type: text/html; charset=windows-1251


[àâòîðñêàÿ  d'fusion] >> [àâòîðñêàÿ__d_fusion]

But!
If this function called from more complex real code, ['] doesn't
converted:

 Function using to_tag():

function getPropXML($FID,$TID)
{
debug("getPropXML($FID,$TID)");
$value=$this->getProp($FID,$TID);
$target=$this->getCopy($TID);
return t(to_tag($target->Name)
,t('path',$this->getPath($TID))
.t('value',cdata($value))
.t('Parent',$this->getPath($target->ParentID)));
}

Debug output for object with this string:
...
[Ðåñòîðàí] >> [Ðåñòîðàí]
[àâòîðñêàÿ d'fusion] >> [àâòîðñêàÿ_d'fusion]
[$25-70] >> [_25_70]
...

I tried to clear situation and find point of bug, but can't :(

-- 
Edit bug report at: http://bugs.php.net/?id=14217&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11966: mysql_pconnect opens new connections with the same parameters

2001-07-09 Thread akul

From: [EMAIL PROTECTED]
Operating system: Linux
PHP version:  4.0.6
PHP Bug Type: MySQL related
Bug description:  mysql_pconnect opens new connections with the same parameters

each new mysql_pconnect opens new connection. About system: see
http://www.crimaniak.com/info.php

 Code:

// defined constants: $DBServer, $DBUser, $DBPassword
include("base.inc.php");

// Open connection to server
if(!$base=mysql_pconnect($DBServer,$DBUser,$DBPassword))
ErrExit("Error during connect to database:" . mysql_error());

-- 
Edit bug report at: http://bugs.php.net/?id=11966&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #9819 Updated: Updating HTTP_SESSION_VARS[] doesn't works

2001-05-23 Thread akul

ID: 9819
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *Session related
Operating system: Windows 98 SE
PHP Version: 4.0.4pl1
Description: Updating HTTP_SESSION_VARS[] doesn't works

Build Date: May 22 2001

No changes.

BTW, first time then page is loaded I have the result:
Counter1=1, Counter2=

i.e. after first ++ operation counter2 is NULL. Is this normal?

Previous Comments:
---

[2001-05-22 21:06:00] [EMAIL PROTECTED]
Please give the latest CVS a try. Andrei Zmievski committed a patch that should fix 
this problem.

---

[2001-05-17 09:47:42] [EMAIL PROTECTED]
PHP Version 4.0.7-dev
System - Windows 95/98 4.10
Build Date - May 16 2001
Server API - Apache

"SERVER_SOFTWARE"=  Apache/1.3.14 (Win32) 
PHP/4.0.5 

Result the same, nothing changed.

---

[2001-05-14 08:34:01] [EMAIL PROTECTED]
Did the latest snapshot work or not?



---

[2001-05-12 06:17:50] [EMAIL PROTECTED]
In the 4.0.5 result the same. I don't think that this is file problem, this is must be 
scripting engine problem. Session file for this bug:

!counter1|counter2|i:18;

I will try the last snapshot if can to download it..

---

[2001-05-11 15:14:27] [EMAIL PROTECTED]
Please check to see if this is still happening in 4.0.5.  If it is, please try to get 
a snapshot dated AFTER today as there was a patch just place in regarding file locking 
permissions.

---

The remainder of the comments for this report are too long.  To view the rest of the 
comments, please view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=9819


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10459 Updated: can't find function then crush

2001-05-23 Thread akul

ID: 10459
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: *General Issues
Operating system: Windows 98 SE
PHP Version: 4.0.4pl1
Description: can't find function then crush

After upgrading to 4.0.7 (snapshot) bug is dead. Now I have error:

Fatal error: Only variables can be passed by reference in 
C:\www\yesmoke2\adodb\adodb-odbc.inc.php on line 313

and this is normal, so I think bug is closed.

Previous Comments:
---

[2001-05-18 04:43:12] [EMAIL PROTECTED]
Please provide a generic script that is as simple as possible that we can just copy 
and paste into our text editors for testing. This script should have no external 
dependencies unless it is one of these the causes the crash.

This will help us fix the bug.

Thanks,

- James

---

[2001-04-23 11:39:12] [EMAIL PROTECTED]
BTW, function sorted_keys included and must be found..

---

[2001-04-23 11:36:38] [EMAIL PROTECTED]
Configuration: see bug #9819

Output:

X-Powered-By: PHP/4.0.4pl1
Content-type: text/html



Fatal error:  Call to undefined function:  sorted_keys() in ../action.
class.php on line 52

then Windows says (language is russian):

Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå ïàìÿòè 
â ìîäóëå <íåò äàííûõ> ïî àäðåñó 0084:1f82cf20.
Ðåãèñòðû:
EAX=00d70094 CS=0167 EIP=1f82cf20 EFLGS=00010202
EBX=00d705e0 SS=016f ESP=0063fc58 EBP=0063fc78
ECX= DS=016f ESI=00d70b80 FS=610f
EDX=0080 ES=016f EDI=0001 GS=
Áàéòû ïî àäðåñó CS:EIP:

Ñîäåðæèìîå ñòåêà:
1f702718 0003 006ae6c8 00d7 007bcd70    0063fd10 
1f702505 00d70b80 0001 0010 00761adc 007bcd70 10037cb1 

Source fragment:

class Action
{
var $ID;
var $Name;
var $Parameters;
var $Done=false;
var $events=array();
var $Result;

function Action($Type,$Parameters)
{
global $base;

// Find this action in table
switch(gettype($Type)){
  case 'integer':   $where='ID='.$Type;break;
  case 'string':$where='Name='.$base->qstr($Type);break;
  default:  trigger_error('Incorrect Type parameter in 
Action()',E_USER_ERROR);
}

if(!$action=$base->Execute('SELECT * From Actions WHERE '.$where))
trigger_error('Unknown Type in Action()',E_USER_ERROR);  // 
<-- line 52 is here!

$sk=sorted_keys($Parameters);

while(!$action->EOF())
{
$sorted_params=sort(split(',',$action->Parameters));
$sorted_params=merge(',',$sorted_params);

if($sorted_params==$sk) break;
$action->MoveNext();
}

Sorry, but I can't provide the full sources for this case!

---


Full Bug description available at: http://bugs.php.net/?id=10459


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #9819 Updated: Updating HTTP_SESSION_VARS[] doesn't works

2001-05-17 Thread akul

ID: 9819
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *Session related
Operating system: Windows 98 SE
PHP Version: 4.0.4pl1
Description: Updating HTTP_SESSION_VARS[] doesn't works

PHP Version 4.0.7-dev
System - Windows 95/98 4.10
Build Date - May 16 2001
Server API - Apache

"SERVER_SOFTWARE"=  Apache/1.3.14 (Win32) 
PHP/4.0.5 

Result the same, nothing changed.

Previous Comments:
---

[2001-05-14 08:34:01] [EMAIL PROTECTED]
Did the latest snapshot work or not?



---

[2001-05-12 06:17:50] [EMAIL PROTECTED]
In the 4.0.5 result the same. I don't think that this is file problem, this is must be 
scripting engine problem. Session file for this bug:

!counter1|counter2|i:18;

I will try the last snapshot if can to download it..

---

[2001-05-11 15:14:27] [EMAIL PROTECTED]
Please check to see if this is still happening in 4.0.5.  If it is, please try to get 
a snapshot dated AFTER today as there was a patch just place in regarding file locking 
permissions.

---

[2001-03-18 08:30:06] [EMAIL PROTECTED]




Press Reload ten times and you have:
Counter1=1, Counter2=10


System  Windows 95/98 4.10
Build Date  Jan 12 2001
Server API Apache
Virtual Directory Support enabled
ZEND_DEBUG   disabled
Thread Safetyenabled

[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   On ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floating point numbers
y2k_compliance  =   Off ; whether to be year 2000 compliant (will cause 
problems with non y2k compliant browsers)
output_buffering= Off   ; Output buffering allows you to send header lines 
(including cookies)
; even after you send body 
content, in the price of slowing PHP's
; output layer a bit.
; You can

[PHP-DEV] Bug #9819 Updated: Updating HTTP_SESSION_VARS[] doesn't works

2001-05-12 Thread akul

ID: 9819
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: *Session related
Operating system: Windows 98 SE
PHP Version: 4.0.4pl1
Description: Updating HTTP_SESSION_VARS[] doesn't works

In the 4.0.5 result the same. I don't think that this is file problem, this is must be 
scripting engine problem. Session file for this bug:

!counter1|counter2|i:18;

I will try the last snapshot if can to download it..

Previous Comments:
---

[2001-05-11 15:14:27] [EMAIL PROTECTED]
Please check to see if this is still happening in 4.0.5.  If it is, please try to get 
a snapshot dated AFTER today as there was a patch just place in regarding file locking 
permissions.

---

[2001-03-18 08:30:06] [EMAIL PROTECTED]




Press Reload ten times and you have:
Counter1=1, Counter2=10


System  Windows 95/98 4.10
Build Date  Jan 12 2001
Server API Apache
Virtual Directory Support enabled
ZEND_DEBUG   disabled
Thread Safetyenabled

[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   On ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floating point numbers
y2k_compliance  =   Off ; whether to be year 2000 compliant (will cause 
problems with non y2k compliant browsers)
output_buffering= Off   ; Output buffering allows you to send header lines 
(including cookies)
; even after you send body 
content, in the price of slowing PHP's
; output layer a bit.
; You can enable output 
buffering by in runtime by calling the output
; buffering functions, or 
enable output buffering for all files
; by setting this directive to 
On.
output_handler  =   ; You can redirect all of the output of your 
scripts to a function,
; that can be responsible to 
process or log it.  For example,
 

[PHP-DEV] PHP 4.0 Bug #10459 Updated: can't find function then crush

2001-04-23 Thread akul

ID: 10459
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproduceable crash
Description: can't find function then crush

BTW, function sorted_keys included and must be found..

Previous Comments:
---

[2001-04-23 11:36:38] [EMAIL PROTECTED]
Configuration: see bug #9819

Output:

X-Powered-By: PHP/4.0.4pl1
Content-type: text/html



Fatal error:  Call to undefined function:  sorted_keys() in ../action.
class.php on line 52

then Windows says (language is russian):

Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå ïàìÿòè 
â ìîäóëå <íåò äàííûõ> ïî àäðåñó 0084:1f82cf20.
Ðåãèñòðû:
EAX=00d70094 CS=0167 EIP=1f82cf20 EFLGS=00010202
EBX=00d705e0 SS=016f ESP=0063fc58 EBP=0063fc78
ECX= DS=016f ESI=00d70b80 FS=610f
EDX=0080 ES=016f EDI=0001 GS=
Áàéòû ïî àäðåñó CS:EIP:

Ñîäåðæèìîå ñòåêà:
1f702718 0003 006ae6c8 00d7 007bcd70    0063fd10 
1f702505 00d70b80 0001 0010 00761adc 007bcd70 10037cb1 

Source fragment:

class Action
{
var $ID;
var $Name;
var $Parameters;
var $Done=false;
var $events=array();
var $Result;

function Action($Type,$Parameters)
{
global $base;

// Find this action in table
switch(gettype($Type)){
  case 'integer':   $where='ID='.$Type;break;
  case 'string':$where='Name='.$base->qstr($Type);break;
  default:  trigger_error('Incorrect Type parameter in 
Action()',E_USER_ERROR);
}

if(!$action=$base->Execute('SELECT * From Actions WHERE '.$where))
trigger_error('Unknown Type in Action()',E_USER_ERROR);  // 
<-- line 52 is here!

$sk=sorted_keys($Parameters);

while(!$action->EOF())
{
$sorted_params=sort(split(',',$action->Parameters));
$sorted_params=merge(',',$sorted_params);

if($sorted_params==$sk) break;
$action->MoveNext();
}

Sorry, but I can't provide the full sources for this case!

---


Full Bug description available at: http://bugs.php.net/?id=10459


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10459: can't find function then crush

2001-04-23 Thread akul

From: [EMAIL PROTECTED]
Operating system: Windows 98 SE
PHP version:  4.0.4pl1
PHP Bug Type: Reproduceable crash
Bug description:  can't find function then crush

Configuration: see bug #9819

Output:

X-Powered-By: PHP/4.0.4pl1
Content-type: text/html



Fatal error:  Call to undefined function:  sorted_keys() in ../action.
class.php on line 52

then Windows says (language is russian):

Ïðîãðàììà PHP âûçâàëà ñáîé ïðè îáðàùåíèè ê ñòðàíèöå ïàìÿòè 
â ìîäóëå <íåò äàííûõ> ïî àäðåñó 0084:1f82cf20.
Ðåãèñòðû:
EAX=00d70094 CS=0167 EIP=1f82cf20 EFLGS=00010202
EBX=00d705e0 SS=016f ESP=0063fc58 EBP=0063fc78
ECX= DS=016f ESI=00d70b80 FS=610f
EDX=0080 ES=016f EDI=0001 GS=
Áàéòû ïî àäðåñó CS:EIP:

Ñîäåðæèìîå ñòåêà:
1f702718 0003 006ae6c8 00d7 007bcd70    0063fd10 
1f702505 00d70b80 0001 0010 00761adc 007bcd70 10037cb1 

Source fragment:

class Action
{
var $ID;
var $Name;
var $Parameters;
var $Done=false;
var $events=array();
var $Result;

function Action($Type,$Parameters)
{
global $base;

// Find this action in table
switch(gettype($Type)){
  case 'integer':   $where='ID='.$Type;break;
  case 'string':$where='Name='.$base->qstr($Type);break;
  default:  trigger_error('Incorrect Type parameter in 
Action()',E_USER_ERROR);
}

if(!$action=$base->Execute('SELECT * From Actions WHERE '.$where))
trigger_error('Unknown Type in Action()',E_USER_ERROR);  // 
<-- line 52 is here!

$sk=sorted_keys($Parameters);

while(!$action->EOF())
{
$sorted_params=sort(split(',',$action->Parameters));
$sorted_params=merge(',',$sorted_params);

if($sorted_params==$sk) break;
$action->MoveNext();
}

Sorry, but I can't provide the full sources for this case!


-- 
Edit Bug report at: http://bugs.php.net/?id=10459&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #10376: abnormal program termination on imap_body($box,0)

2001-04-18 Thread akul

From: [EMAIL PROTECTED]
Operating system: Windows 98 SE
PHP version:  4.0.4pl1
PHP Bug Type: IMAP related
Bug description:  abnormal program termination on imap_body($box,0)

if(!$box=imap_open('{localhost/pop3:110}INBOX','mybox','mypassword'))
die('Can\'t Open box!');

// Here is abnormal program termination
// I think returning of NULL is better solution
// imap_header is Ok (warning is generated)
$B=imap_body($box,0);

imap_close($box);

for PHP.INI see the bug #9819



-- 
Edit Bug report at: http://bugs.php.net/?id=10376&edit=1



-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] PHP 4.0 Bug #9819: Updating HTTP_SESSION_VARS[] doesn't works

2001-03-18 Thread akul

From: [EMAIL PROTECTED]
Operating system: Windows 98 SE
PHP version:  4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description:  Updating HTTP_SESSION_VARS[] doesn't works 





Press Reload ten times and you have:
Counter1=1, Counter2=10


System  Windows 95/98 4.10
Build Date  Jan 12 2001
Server API Apache
Virtual Directory Support enabled
ZEND_DEBUG   disabled
Thread Safetyenabled

[PHP]

;;;
; About this file ;
;;;
; This file controls many aspects of PHP's behavior.  In order for PHP to
; read it, it must be named 'php.ini'.  PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory.  The
; path in which the php.ini file is looked for can be overriden using
; the -c argument in command line mode.
;
; The syntax of the file is extremely simple.  Whitespace and Lines
; beginning with a semicolon are silently ignored (as you probably guessed).
; Section headers (e.g. [Foo]) are also silently ignored, even though
; they might mean something in the future.
;
; Directives are specified using the following syntax:
; directive = value
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
;
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
;
; Expressions in the INI file are limited to bitwise operators and parentheses:
; | bitwise OR
; & bitwise AND
; ~ bitwise NOT
; ! boolean NOT
;
; Boolean flags can be turned on using the values 1, On, True or Yes.
; They can be turned off using the values 0, Off, False or No.
;
; An empty string can be denoted by simply not writing anything after the equal
; sign, or by using the None keyword:
;
;   foo =   ; sets foo to an empty string
;   foo = none  ; sets foo to an empty string
;   foo = "none"; sets foo to the string 'none'
;
; If you use constants in your value, and these constants belong to a dynamically
; loaded extension (either a PHP extension or a Zend extension), you may only
; use these constants *after* the line that loads the extension.
;
; All the values in the php.ini-dist file correspond to the builtin
; defaults (that is, if no php.ini is used, or if you delete these lines,
; the builtin defaults will be identical).



; Language Options ;


engine  =   On  ; Enable the PHP scripting language engine 
under Apache
short_open_tag  =   On  ; allow the  tags are recognized.
asp_tags=   On ; allow ASP-style <% %> tags
precision   =   14  ; number of significant digits displayed in 
floating point numbers
y2k_compliance  =   Off ; whether to be year 2000 compliant (will cause 
problems with non y2k compliant browsers)
output_buffering= Off   ; Output buffering allows you to send header lines 
(including cookies)
; even after you send body 
content, in the price of slowing PHP's
; output layer a bit.
; You can enable output 
buffering by in runtime by calling the output
; buffering functions, or 
enable output buffering for all files
; by setting this directive to 
On.
output_handler  =   ; You can redirect all of the output of your 
scripts to a function,
; that can be responsible to 
process or log it.  For example,
; if you set the 
output_handler to "ob_gzhandler", than output
; will be transparently 
compressed for browsers that support gzip or
; deflate encoding.  Setting 
an output handler automatically turns on
; output buffering.
implicit_flush  = Off   ; Implicit flush tells PHP to tell the output layer to 
flush itself
; automatically after every 
output block.  This is equivalent to
; calling the PHP function 
flush() af