Re: [Webcollab-users] Manually constructed todo list link
Brought to you by:
andrewsimpson
From: Andrew S. <and...@pa...> - 2003-10-31 04:59:22
|
On Wed, 29 Oct 2003 09:33:47 -0500 (EST) Andy Harrison <ah...@ml...> wrote: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > On 28-Oct-2003, Andrew Simpson wrote message "Re: [Webcollab-users] > Manually constructed todo list link" > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > I cut and pasted it into my machine (changed the domain) and the > > page popped up. Dunno... something strange your end? > > > > I think Apache will return '200' response code if it finds a page > > '/webcollab/users.php'. Everything past the '?' would be ignored > > and just piped to PHP. > > > Yes, but did it pop up the correct page? > > It simply pops up the default todo list page for me, it does not pop > up the page of the corresponding group I'm selecting. No - default page for me too. The reason for that is that the group info is passed to the code by a HTTP 'POST' operation. What you are doing with link is passing group info with a HTTP 'GET' operation. A possible workaround is to 'search and replace' in the code for $_POST and change it to $_REQUEST. The $_POST superglobal only checks for POST-ed data, whereas $_REQUEST checks for GET, POST and COOKIE data (in that order). This way both methods would work. Hope that helps. Andrew |