Re: how can this be? GET instead of POST -> db error

From: Date: Sun, 30 Jun 2002 03:33:37 +0000
Subject: Re: how can this be? GET instead of POST -> db error
References: 1  Groups: php.db php.general 
Request: Send a blank email to php-db+get-20528@lists.php.net to get a copy of this message
I dont know what causus it, but I have a kind of a solution for your problem... you probably have something like $_GET["myvar"] in your query, try to do something like this : $_VARS="_$REQUEST_METHOD"; $_VARS=$$_VARS; And then instead of using the _GET, you use the _VARS... "Andy" <news.letters@gmx.de> schreef in bericht news:20020713105302.54194.qmail@pb1.pair.com... > Hi everybody, > > I am just trying to find out how some db errors happened during a user was > browsing my web app. > > This is out of the Apache log: > > GET /subapp_profiles/act_upload_image.php HTTP/1.1" 200 160 > POST /subapp_profiles/act_upload_image.php HTTP/1.1" 302 5 > > I do not have a clue where this GET request could come from. This has caused > a empty sql statement and therefore a db error. How can could this be > achieved? By clicking back in the browser window? I dont think so since the > same user was on another site before. > > Has anybody a idea on that? > > Andy > >

« previous php.db (#20528) next »