On Thu, 2003-02-13 at 14:42, Rick Henderson wrote:
> Hello all.  My first question to the list.  Hope someone can help.  Here it
> is.
> 
> 
> I have a that runs via php system command.  The process picks up values from
> php which got them from an html form.  It works no problem on rh7.1.  But on
> rh8.0, it does not work.  There is a diff ver of php, older on 7.1 of
> course.
> 
> The problem is that the variables do not have a value on the php4.2.2 but
> they do have a value on 4.0.0p11 
> 
> here is an example of the machine 7.1 that works
> 
> tyler rdh: bash-2.04$ unitcd="WY" export unitcd
> tyler rdh: bash-2.04$ ./view.php
> X-Powered-By: PHP/4.0.4pl1
> Content-type: text/html
> 
> WY_roster.html
> tyler rdh: bash-2.04$
> 
> now an example of the machine 8.0 where php does not work
> [rdh@ford ins]$ unitcd="WY" export unitcd
> [rdh@ford ins]$ ./view.php
> X-Powered-By: PHP/4.2.2
> Content-type: text/html
> 
> _roster.html
> [rdh@ford ins]$
> 
> here is asimple php script 
> #!/usr/bin/php
> <?php
>   $unitname = "${unitcd}_roster.html";
> 
>   echo "$unitname\n" ;
> ?>
> 
> 
> 
> Thanks
> 
> Rick Henderson
> [EMAIL PROTECTED]
> (936) 291-5356

More than likely your PHP configuration has changed to turn off
'register_globals'.

http://www.php.net/manual/en/security.registerglobals.php

-- 
Caleb Groom <[EMAIL PROTECTED]>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to