Re: Passing URL parameters, how to hide
| From: | Stuart Felenstein | Date: | Tue, 21 Sep 2004 15:17:43 +0000 |
| Subject: | Re: Passing URL parameters, how to hide | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36307@lists.php.net to get a copy of this message | ||
So what I did was this statement: SELECT * FROM Table
WHERE RecordID = blue and UserID = red
blue is the variable for the recordID
red is the variable for the userID
So now when I change either of those variables in URL
no record is returned.
Did I finally get this right ?
Stuart
--- Bastien Koert <bastien_k@hotmail.com> wrote:
> >When I
> > > request "update.php?recordID=2", you should be
> doing
> > > something like "SELECT
> > > * FROM Record_Table WHERE recordID = 2 AND
> userID =
> > > 3", ...............