Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 84558 invoked from network); 8 Oct 2003 20:40:15 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Oct 2003 20:40:15 -0000 Received: (qmail 90823 invoked by uid 500); 8 Oct 2003 20:39:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 90649 invoked by uid 500); 8 Oct 2003 20:39:48 -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 90636 invoked from network); 8 Oct 2003 20:39:48 -0000 Received: from unknown (HELO remt27.cluster1.charter.net) (209.225.8.37) by daedalus.apache.org with SMTP; 8 Oct 2003 20:39:48 -0000 Received: from [68.118.248.214] (HELO enterprise) by remt27.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 174855739 for users@httpd.apache.org; Wed, 08 Oct 2003 16:39:53 -0400 Message-ID: <036d01c38ddc$73d07a30$6701a8c0@enterprise> From: "Leif W" To: References: <007c01c38d50$13972b00$cc3a3141@FUBAR> Date: Wed, 8 Oct 2003 16:40:46 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: Re: [users@httpd] Forms not working while on http://localhost X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You are sure PHP is working? You say the login script works if you hard-code the username and password. Check your access and especially error log for info about PHP when you try to login with variables there instead of hard-coded values. Maybe provide a snippet of code you're using, and the log files when you try to access it. Was the PHP app written for PHP prior to 4.1.0? Some things changed in the way PHP accesses some predefined global variables. Get the PHP manual in CHM format from http://php.net/ and search for "predefined variables". Leif ----- Original Message ----- From: "mwestlake" To: Sent: Tuesday, October 07, 2003 11:55 PM Subject: [users@httpd] Forms not working while on http://localhost > Hi people, > I'm new to the mailing list and I'm in need of some help from savvy > guys/gals like you. Im currently developing for a new company and am using > Windows xp, Apache2.0.47, Mysql4.0.15, and Php4.3.3 on my laptop for simple > testing. > I have done all the standard tweaking for apache's httpd.conf and > php.ini and everything works except forms on localhost., ie communicating > with database and parsing the php. The forms on the other hand, more > specifically all logon forms on every site to edit any site on for example: > http://localhost/site/login.php with our CMS (content Mgmt sys) we made, do > nothing. It just appears to refresh the page when you hit submit. So I go > in the php script and switch up the variables with real login info and it > logs in fine, this makes me think its not passing the variables. we don't > use a cgi-bin just form action=$PHP_SELF and it seems I'm the only one > having this problem. We compared our conf and ini files several times and > got no where and logging in with my boss' database through our CMS to edit > the content is no problem. I know I said this already but not even the > simplest form will function, not even something like Enter you name: and > then reports it as Your name is: . > All day today, and well into tonight, my theories have bounced back and > forth, "Its apache...nope...its php...nope...its apache...hmm...its driving > me crazy....yes" Also spent hours searching news groups and many forum > archives but I came up with nothing that was completely relative to Windows, > apache, mysql, php. I tried some of thier ideas anyway. Nothing seemed to > work. > If you have ever heard of this happening please write back. God...I > know its probably something so stupid too! So please, anyone whos dying to > make me feel stupid let me know what I've overlooked. > > Thanks in advance > Mike > > P.S. Its not disk web, I am typing http://localhost/anysite/login.php > > > --------------------------------------------------------------------- > 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 > > > --------------------------------------------------------------------- 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