Date: 10/29/00
- Next message: Björn Schotte: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7519
User Update by: php <email protected>
Old-Status: Open
Status: Closed
Bug Type: *General Issues
Description: Forms won't work
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.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-29 08:55:58] php <email protected>
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)
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7519
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Björn Schotte: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/printer php_printer.h printer.c printer.dsp /win32 php_modules.dsw"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

