Re: [PHP] cleaning up the uri

2001-09-10 Thread nayco

maybe by adding a unique ID like that :
somethin/somewhere/index.php?do=thisand=thatIDop=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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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=thisand=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=thisand=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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] cleaning up the uri

2001-09-09 Thread Jon Thompson Coon

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=thisand=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=thisand=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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]