Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 24356 invoked by uid 500); 9 Dec 2002 14:08:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 24345 invoked from network); 9 Dec 2002 14:08:04 -0000 Received: from unknown (HELO mail.heckettmultiserv.com) (194.200.135.247) by daedalus.apache.org with SMTP; 9 Dec 2002 14:08:04 -0000 Received: FROM mail.heckettmultiserv.com BY mail.heckettmultiserv.com ; Mon Dec 09 14:06:07 2002 0000 Received: by mail.hme.harsco.com with Internet Mail Service (5.5.2656.59) id ; Mon, 9 Dec 2002 14:10:32 -0000 Message-ID: From: "Howarth, Richard" To: "'users@httpd.apache.org'" Date: Mon, 9 Dec 2002 14:10:25 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] php4 and form variables on apache On a general note, I've found while developing and debugging PHP scripts it helps to issue a "phpinfo();" as the last thing on the page. It's been pretty useful, especially in identifying things like typos in form variable names. R. ----- Original Message ----- From: "Jonathan Villa" To: Sent: Monday, December 09, 2002 1:22 AM Subject: RE: [users@httpd] php4 and form variables on apache > > When you look for your submitted form values, try $_REQUEST['your_var'] > > Or just set register globals = on in your php.ini file, but that's not > recommended. > > Reason it works on your host could be because they register_globals set > to on. > > > -----Original Message----- > From: Jim Mohler [mailto:jamoe@email.msn.com] > Sent: Sunday, December 08, 2002 5:17 PM > To: users@httpd.apache.org > Subject: [users@httpd] php4 and form variables on apache > > I have been working to configure RedHat 8.0, Apache with virtual > servers, > php4 and mysql. I intend to use this server strictly as an internal > development server. I have the virtual server, php4, and mysql working > as > near as I can tell but... when I submit a form to php scripts using the > post > method the variables are not passed. These scripts work with my hosting > site on the net. I have taken the following steps: > > 1. Verified the directories have adequate permissions: 755 > 2. Made the files and the directory owners the same - root > 3. Verified the scripts still work on the live host > 4. Read and reviewed any documentation I could find on both PHP4 and > Apache > regarding Get and Post methods > > The php scripts run and produce the page but I have error handling that > looks for appropriate values in the variables that should be passed. > For > debugging purposes I display the variable names, and values and if > required > fields are empty and the scripts terminate. > > I believe there must be an option in httpd.conf that must be set for > this to > work but at this point I must ask for help because I cannot find it. > Hope > someone knows what to do to get this working. > > Jim Mohler IMPORTANT INFORMATION & CONFIDENTIALITY NOTICE The information in this Email is confidential and may be legally privileged. It is intended solely for the named recipient. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient or the employee or agent responsible for delivering the message to the recipient named, please note that any use, disclosure, copying, distribution of this Email or any action taken or omitted to be taken in reliance on it is prohibited. If you are not the intended recipient, please inform us by returning a copy of the Email with the subject line marked "wrong address" and then deleting the Email, and any attachments and any copies of it. Any questions should be directed to mailto:administrator@harsco.com Harsco uses regularly updated anti-virus software in an attempt to reduce the possibility of infection. However we do not guarantee that any attachments to this email are virus free. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org