php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7519 Forms won't work
Submitted: 2000-10-29 08:55 UTC Modified: 2000-10-29 15:06 UTC
From: php at lusis dot org Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.3pl1 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at lusis dot org
New email:
PHP Version: OS:

 

 [2000-10-29 08:55 UTC] php at lusis dot org
I recently upgraded to the latest php and noticed that my install of twig stopped working. I have just now (2 days later) figured out the problem. Forms in php are not working. Form values aren't being submitted from a php created page. Take this code for example:

<?
// open database connection and prepare the query
$dbconnect = ibase_connect('alive.lusis.org:D:\\databases\\rants.gdb', dbuserhere, dbpasshere);

$sth=ibase_query($dbconnect, 'SELECT * FROM TBLSUBJECTS');

// start the page
echo "<html><head><title>Rants: select a category</title>
       <LINK REL=\"STYLESHEET\" TYPE=\"text/css\" HREF=\"/includes/rants.css\">
        </head>
        <body bgcolor=\"#93824c\">
        <B><H1 class=large>my.rants</H1></b>
        <br><h1>Select a topic</h1>.
        <br><hr>
        <form method=post action=addrant.php>
        <h1>Subject:</h1><br>
        <select name=subid>";
// Grab the subjects from the database to create the subject drop down list

while ($row = ibase_fetch_object($sth))
{
        $subjectid = $row->SUBJECTID;
        $subject = $row->SUBJECTNAME;
        echo "<option value=$subjectid>$subject";
                        }
// er..close the database connection maybe?

ibase_close ($dbconnect);

// finish the page out

echo "</select><br>
        <br>
        <h1>Title:</h1> <input type=text name=title size=55>
        <br>
        <textarea name=body rows=25 cols=100 wrap>
        </textarea>
        <br><input type=submit></form>
        <center><hr><a href=\"http://www.lusis.org\">home</a></body>
        </html>";
?>

The database calls are working fine and my drop down list of subjects is being populated but when I fill in information and hit submit, my formdata isn't going through. I've tried this with perl and it all works fine but not with php. What's happening on my twig side is that login and password aren't being submitted and i am getting dropped back to the login screen. I downloaded every php-imap webmail program out there and all with the same results. Any ideas? 

(and yes the database information is correct since interbase is currently running on a win32 box)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-29 15:06 UTC] php at lusis dot org
I'm closing this out as I now think I have the issue fixed. It seems that after pouring over my php.ini for an hour in conjunction with my php4 bible open to the section on GPCS, I realized I had the deprecated "gpc_order" still defined AFTER "variables_order" in my php.ini. I commented it out and everything is now working like a champ. Sorry if I sent out a false alarm.

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 30 14:00:01 2026 UTC