Re: Error while posting

From: Date: Wed, 08 Oct 2008 10:02:01 +0000
Subject: Re: Error while posting
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-2780@lists.php.net to get a copy of this message
On Wed, Oct 8, 2008 at 09:27, prasanth M <prasanth@sjinnovation.com> wrote: > Hi we have a site which is shifted from php 4 to php 5. The problem that > arisen is we have a form class which automatically inserts data in database > depending on the form elements. so if we create 5 form elements then the > class automatically inserts in those field names. Now on php 5 when we post > a form many unwanted values are posted and the form class insert failes. > for eg > filepath, _filetype, _dbfield, _dbvalue, _imagewidth, _imageheight, > _thumbwidth, _thumbheight are posted and the form class try inserting this > data into db with the respective names which actually doesnt exist. Can > something be done on php ini file on php 5 this extra vaues are not posted. > On php 4 the same code works perfect... None of these values are generated by PHP itself. If you need help, please have a look at our support section at http://php.net/support -Hannes

« previous php.webmaster (#2780) next »