Re: cleaning up the uri

From: Date: Mon, 10 Sep 2001 07:48:02 +0000
Subject: Re: cleaning up the uri
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66688@lists.php.net to get a copy of this message
maybe by adding a unique ID like that : somethin/somewhere/index.php?do=this&and=that&IDop=someMD5id then, keeping logs of the operations in a db table .... if the id already exists in the table, nothing is done ...and maybe it's time to clean parameters... then, the logs should be cleant every day ... maybe a to heavy solution ???? ----- Original Message ----- From: Jon Thompson Coon <jon.thompson@helsinki.fi> To: <php-general@lists.php.net> Sent: Monday, September 10, 2001 10:22 AM Subject: [PHP] cleaning up the uri > I don't want to ask all these silly questions constantly time, but being > lazy overcomes the urge not to do so. > > Having a page somethin/somewhere/index.php?do=this&and=that. This page > does some updating and database queries. Hitting the reload button makes > these things happen again (obviously). My question is, what are the > usual ways of dealing with this problem? > > I don't want to separate my code into separe files, i.e. linking into a > script that does the updating and redirects to the original page without > the do=this&and=that part. When you require a html page modify itself, > is it possible to remove the GET stuff from the result? By, f. ex. using > header(whatnot: where) and then builing the material? > > I might not be very clear about this, but hopefully the meaning filters > through. > > - Jon Thompson Coon > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#66688) next »