php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23715 strange variable values
Submitted: 2003-05-20 07:00 UTC Modified: 2003-05-25 21:57 UTC
Votes:2
Avg. Score:3.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: tarmo at kaugotsing dot ee Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: 4.3.2RC4-dev OS: Linux, Redhat 9
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-05-20 07:00 UTC] tarmo at kaugotsing dot ee
test1.php 
<html> 
<form method="POST" action="test2.php"> 
<?php 
    $id = "101"; 
    echo "<input type=\"submit\" name=\"but1\" value=\"$id\">"; 
?> 
<form> 
</html> 
 
tes2.php 
<html> 
    <?php echo "$but1"; ?> 
</html> 
 
Result is: 
 
101but1=101 
 
Any idea? 
T.F. 
 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-20 07:09 UTC] tarmo at kaugotsing dot ee
The same thing is with PHP 4.2.2  Redhat 9 bundled with.  
  
PHP 4.3.1 also give the following error for every .php or even  
.html page opened:  
Fatal error: Nesting level too deep - recursive   
 dependency? in Unknown on line 0
 [2003-05-20 09:06 UTC] tarmo at kaugotsing dot ee
I finally successfully compiled  
http://snaps.php.net/php4-STABLE-latest.tar.gz 
with apache 2.0.45 using with-regex=php 
 
But now every page and frame gives fatal error at the end: 
 
Fatal error: Nesting level too deep - recursive dependency? in 
Unknown on line 0 
 
Any suggestion?
 [2003-05-20 09:20 UTC] sniper@php.net
You most likely have some bogus extension entries in your php.ini. Comment those out and it will work.

 [2003-05-20 11:23 UTC] tarmo at kaugotsing dot ee
[Tue May 20 19:07:43 2003] [error] an unknown filter was not 
added: PHP 
FATAL:  ecalloc():  Unable to allocate 8 * -1073756727 bytes 
[Tue May 20 19:07:46 2003] [error] an unknown filter was not 
added: PHP
 [2003-05-20 11:25 UTC] sniper@php.net
rm -f php.ini 

 [2003-05-20 11:31 UTC] tarmo at kaugotsing dot ee
OK. I copied php.ini-dist  
No recursion error any more.  
  
I have configured: with-regex=php  
  
Now it gives error on ereg_replace:  
$url = preg_replace("aa\/kk\/pp", "$kp", $url);  
  
[Tue May 20 19:07:50 2003] [error] an unknown filter was not  
added: PHP  
FATAL:  ecalloc():  Unable to allocate 8 * -1073756727 bytes  
[Tue May 20 19:07:51 2003] [error] an unknown filter was not  
added: PHP
 [2003-05-20 17:57 UTC] sniper@php.net
The apache2 module is not a filter anymore, it's handler.
Check your httpd.conf. (read the sapi/apache2handler/README for info how to configure it)

 [2003-05-25 21:57 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 12:01:33 2024 UTC