Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread Curt Zirzow
* Thus wrote Bostjan Skufca @ domenca.com: > Hello, > > If I create form like this > > > ... > Now what I am interested in is if this is valid behaviour regarding HTTP > specification and if other platforms support this interference of GET and > POST variables in request? Well the acti

Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread Greg Donald
On Tue, 11 Jan 2005 10:26:05 -0800 (PST), Richard Lynch <[EMAIL PROTECTED]> wrote: > There are many scripts I write which provide results for either GET or > POST data interchangably, so that links or forms can be used in the other > pages to fit in with their look/feel. When I need to come in bo

Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > If your question is a matter of "Is this a good programming practice" then > I think it's ok. There are times when something like this could be really > useful. There are many scripts I write which provide results for either GET or POST data interchangably, so that link

Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread tg-php
If your question is a matter of "Is this a good programming practice" then I think it's ok. There are times when something like this could be really useful. Should people get into the practice of using this kind of thing? I think it really depends on the circumstances and there's definitely ti

Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread Bostjan Skufca @ domenca.com
Browser history: I do not want it to contain any URIs to files which require some sort of id variable passed. Example: 1. http://www.entity.org/edit.php (should produce an error or redirect to entity list) 2. http://www.entity.org/edit.php?id=1 (should display editing interface) Now I really

Re: [PHP] $_GET & $_POST simultaneously

2005-01-11 Thread Lars B. Jensen
Is it just me or ... why on earth would you want to populate both GET and POST arrays through this obscure way of coding ? If you really have a form where you dont have a clue wether your data comes from GET or POST, it should be way less effort to copy one array to another or have a lookup fun