Hello Wesley, Wednesday, June 26, 2002, 10:49:10 PM, you textually orated:
WM> Hi, WM> I'm having a major problem with my php set up on my redhat box: WM> Values are not getting passed from one page to the next on apache. Any ideas? WM> Are there any particular features of php I must ensure are enabled to have WM> this simple stuff work? WM> I modified the http.conf file and removed the <Limit> tags temporarily as a WM> test, still the same 'result'. WM> Eg WM> page.php WM> ----- WM> <form action=pageaction.php method=post> WM> <input type=text name=test> WM> <input type=submit value="Submit" name=submit> WM> </form> WM> ---- WM> page-action.php WM> ----- WM> echo $name; WM> ---- I really hope the above was off the cuff, because the above fails for a couple of very obvious reasons. Your form action doesn't seem to match the file it is to go to. The only two variables you _could_ get are "test" and "submit" (the attribute "name" sets what PHP will create for you). WM> And ... nothing. WM> The contents of http_vars_post and http_vars_get are emtpy. By "empty" do you mean that you can't just "echo" them and have it spew out the value pairs? It's not supposed to. They are arrays. Try the "array_values" function. WM> I recently upgraded to apache 1.3.26 as a result of a security thing mentioned WM> by RHN and now my php forms don't work! Are you sure PHP is running? Did you make sure you httpd.conf file was not changed? Did you make sure that your php.ini file wasn't changed? Is "register_globals = On" set in your php.ini file? Did you compile support for it? Did you compile DSO and make a PHP module? I have to assume you compiled it yourself since RH didn't release a version 1.3.26 officially. Have fun, -- _________________________________________________________________ Brian Ashe CTO [EMAIL PROTECTED] Dee-Web Software Services, LLC. http://www.dee-web.com/ ----------------------------------------------------------------- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list