Re: Re: Headers, JavaScript & PHP

From: Date: Thu, 11 Oct 2001 12:43:55 +0000
Subject: Re: Re: Headers, JavaScript & PHP
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-70791@lists.php.net to get a copy of this message
----- Original Message ----- From: "liljim" <liljim@liljim.co.uk> To: "Kamil Nowicki" <hilarion@elfin.pl> But I do not have access to the site that sends data to me and on which the "Thank You" page is, so I have to send the right data to it, not an $id, which points to my database. > No - the example I gave would give you a corresponding id in a database: > > topic.php?id=23 > > topic.php looks for all of the values entered in the table where the row id > is 23, ie: > > "SELECT cols FROM table WHERE BBSTopicId = '23'"; > > Therefore, you don't end up with some messy url, like: > > topic.php?name=username&password=somepass&etc=etc&foo=bar > > which is, I'm guessing, what you want to avoid. I suppose you could > register a session or something and redirect to the page you want, like > page.php and use the session value that you assign in the form handler in > page.php > > The problem is, that 'topic.php?id=exit_id_values' still appear in URL.

« previous php.general (#70791) next »