ID:               41787
 Updated by:       [EMAIL PROTECTED]
 Reported By:      d58m at hotmail dot com
 Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: windows 2000 Professional
 PHP Version:      5.2.4
 New Comment:

I suggest you don't accept all and chose the bare minimum you need.

php_iisfunc.dll, php_sam.dll and php_threads.dll appear to be causing
breakages and should probably be removed from the installer until they
are sorted.


Previous Comments:
------------------------------------------------------------------------

[2007-07-01 13:41:39] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



------------------------------------------------------------------------

[2007-07-01 13:34:42] d58m at hotmail dot com

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.
----------------------------
Please can you sent me the your installation process for php ver 5.2.4
for windows professional 2ooo so that I can check against me
installation:
   apache_2.2.4-win32-x86-no_ssl lasted version.
1. Double click on PHP-5.2-Windows-installer-latest.
2. I accept the the terms in the licence Agreement.
3. C:\Program Files\PhP\
4. Apache 2.2x module
5. C\Apache Software foundation\Apache2.2\Conf\
6. Choose Items to install select all.
7. Install button clicked ok.
8. No installing errors.

------------------------------------------------------------------------

[2007-07-01 13:02:45] [EMAIL PROTECTED]

You're just installed PHP wrong or something like that. I can't
reproduce this with latest CVS on any system.

------------------------------------------------------------------------

[2007-07-01 11:22:36] d58m at hotmail dot com

I am working my way through a book called PHP 5 in easy steps
ISBN 1-84078-282-x very basic, my webpage teacher recommended.
----------------------------------
I have typed this programme and get an error: The page cannot be
displayed.
<?php phpinfo();?>
---------------------------------
This programme in two parts will generate the bug that I report to
you.

<html>

 <head> 
  <title>Calculation Form</title> 
 </head>

 <body>

  <form action = "calc.php" method = "post">

  Value 1: <input type = "text" name = "val1" size = "10">
  Value 2: <input type = "text" name = "val2" size = "10">
  <br>
  Calculation: <br>
  <input type = "radio" name = "calc" value = "add"> Add
  <input type = "radio" name = "calc" value = "sub"> Subtract
  <input type = "radio" name = "calc" value = "mul"> Multiply
  <input type = "radio" name = "calc" value = "div"> Divide 
  <hr>
  <input type = "submit" value = "Calculate"> 
  <input type = "reset" value = "Clear">

  </form>

 </body>

</html>
-----------------------------
<!-- example for PHP 5.0.0 final release -->

<html> 
 <head> 
  <title>Calculation Result</title> 
 </head>
 <body>

 <p>
   <?php 

        $val1 = $_POST['val1'];
        $val2 = $_POST['val2'];
        $calc = $_POST['calc'];

        if( is_numeric( $val1 ) && is_numeric( $val2 ) )
        {
                if( $calc != null )
                {
                        switch( $calc )
                        {
                                case "add" : $result = $val1 + $val2; break;
                                case "sub" : $result = $val1 - $val2; break;
                                case "mul" : $result = $val1 * $val2; break;
                                case "div" : $result = $val1 / $val2; break;
                        }                       
                        echo( "Calculation result: $result" );
                } 
        }
        else
        { 
                echo( "Invalid entry - please retry" ); 
        }
 ?>
 </p>
 <p>&nbsp;</p>
 <p>&nbsp;</p>
 <p><a href="calc.html">Calc</a></p>
 </body>
</html>

------------------------------------------------------------------------

[2007-07-01 01:48:33] [EMAIL PROTECTED]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41787

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

Reply via email to