Bug 86184

Summary: the variable is not sent
Product: [Retired] Red Hat Linux Reporter: Abd Belahcene <belahcene>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-04-07 13:25:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Abd Belahcene 2003-03-16 10:21:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830

Description of problem:
apache or php or both don't work properly on redhat 8.0.

the value val1 (in my script below : test1.php ) is sent to the script test2.php
which must print the value, but test2.php dosn't print anything

the same scripts run correctly on pvevious release RH 7.3 for example.
 


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.the variable sending by a php file to another one is not printed
2.
3.
    

Additional info:

    the two scripts used:
                             test1.php
<html>
<body>
<form action="test2.php" method="post">
                Send a value     <input type="text" name="val1" size=10><br>
                <center><input type="submit" value="Send"></center><br>
</form>
</body>
</html>
                         test2.php

html>
<body>
<?php
      echo "VALUE   IS ",$val1;
?>
</body>
</html>

Comment 1 Joe Orton 2003-04-07 13:25:23 UTC
This is because the "register_globals" setting is now turned off by default; 
please read the migration guide
file:///usr/share/doc/httpd-2.0.40/migration.html#id2846561
for more details.