#37852 [NEW]: Varriable problems
| From: | danielk at panafonet dot gr | Date: | Mon, 19 Jun 2006 19:42:23 +0000 |
| Subject: | #37852 [NEW]: Varriable problems | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-98515@lists.php.net to get a copy of this message | ||
From: danielk at panafonet dot gr
Operating system: Windows, XP
PHP version: 5.1.4
PHP Bug Type: Output Control
Bug description: Varriable problems
Description:
------------
É am reading the book ¨PHP & MYSQL Web Development" 3d Edition,of Luke
Welling & Laura Thomson.
The example of chapter One has the files orderform.html &
processorder.php.
The form action of ordderform.html is:
form action="processorder.php" method="post">.
Reproduce code:
---------------
In the beggining of processorder.php file there is:
<?php
// Äçìéïõñãßá Óýíôïìùí ÏíïìÜôùí Ìåôáâëçôþí
$tireqty = $_POST['tireqty'];
$oilqty = $_POST['oilqty'];
$sparkqty = $_POST['sparkqty'];
$find = $_POST['find'];
?>
An in the continue there is:
echo $tireqty.' tires<br />';
echo $oilqty.' bottles of oil<br />';
echo $sparkqty.' spark plugs<br />';
Expected result:
----------------
As I load the processorder.php file in my browser, I expect that the
script output should resemble the actual values, depend on what I typed
into the orderform.html.
Actual result:
--------------
I see in my browser all, exept the actual values.
--
Edit bug report at http://bugs.php.net/?id=37852&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37852&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37852&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37852&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37852&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37852&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37852&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37852&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37852&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37852&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37852&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37852&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37852&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37852&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37852&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37852&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37852&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37852&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37852&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37852&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37852&r=mysqlcfg