Yes, It was off the cuff, thanks for asking, and it was late over here. I am sure that register_globals is on. It is set up in httpd.conf like this php_value register_globals on
PHP definately works, the function phpinfo() spews out all the relevant details and it even says register globals is on. This is the code I used to list everything in http_post_vars while (list($name, $value) = each($HTTP_POST_VARS)) { echo "$name = $value<br>\n"; } Never mind anyway, I have since posted this problem to one of the many mailing lists at php. [EMAIL PROTECTED] Wez On Wednesday 26 Jun 2002 11:47 pm, Brian Ashe wrote: > 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, _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list