> I'll say it again:
>
> regsiter_globals has *NOTHING* to do with $_REQUEST.
>
> Zero.
> Zilch.
> Nada.
> Zip.
To me it allows for the same [lazy] behavior. Period. I've had other
people agree. Say what you want about it.
> No, it only relies on one "Designer" who wants their request to look
> l
On Sun, August 26, 2007 6:37 pm, mike wrote:
> On 8/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>> It is *NOT* in any way, shape, or form, polluting the global
>> namespace
>> of all your variables, which is what register_globals is.
>
> That is why I said it was *one* reason register_globals w
On 8/26/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
> This is *SO* not correct at all!
>
> $_REQUEST[] is merely array_merge($_GET, $_POST, $_COOKIE);
Yes and it mimics being lazy - allowing overriding values from $_POST
vs. $_GET vs. $_COOKIE depending on what the programmer wants to
"trust"
I
On Fri, August 24, 2007 3:20 am, Goltsios Theodore wrote:
>> Please do not encourage the use of $_REQUEST.
>>
>> You might as well just tell people to enable register_globals again.
This is *SO* not correct at all!
$_REQUEST[] is merely array_merge($_GET, $_POST, $_COOKIE);
It is *NOT* in any w
On 8/24/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hi..
>
> in the settings, session.use_cookies is turned ON but session.trans_sid is
> turned OFF. do i need to enable this as well?
> by doing this can i disable the register_globals?
> - suamya
You need to make sure session_start() is ca
Hi
I have sessions working like a charm, i use it for my user login vars and so
on, here is the settings i used.
register_globals = Off
session.use_cookies = 1
and switch on session.trans_sid if you know that not all your users will
have cookies turned on
This worked for me
Johan
""Suamya Sriva
Hi..
in the settings, session.use_cookies is turned ON but session.trans_sid is
turned OFF. do i need to enable this as well?
by doing this can i disable the register_globals?
- suamya
> Hi
> Me again
> Check on Your setting -> ; Whether to use cookies.
>
Hi
Me again
Check on Your setting -> ; Whether to use cookies.
session.use_cookies = 1
session variable is saved here if the user have cookies turned off it will
still work if your have trans-sid turn on.
BTW you don't have to use a dropdown radio buttons or
Hi
Here is my 2cents
I will not use GET. If you want to pass a db name i would use POST. Because
if you don't do something with the statusbar the the user can see the dbname
if you use GET and i don't think that is a good thing. I'm working on an
webbased app with a lot of db work and i learnt "Do
Thank you all for the help.
I did not want to use dropdown box..that was the very reason i was
wondering if I can pass the variables through a hyperlink. I used $_GET
and it worked fine. However, as mentioned in the posts its not advisable
to use $_REQUEST. Could you please elaborate on the reason?
In this case $_POST would be the appropriate array, since your form is
using the POST method:
Goltsios Theodore wrote:
>
> I thought I just did a comment and suggested that it is a lame solution
> to use $_REQUEST plus I did not know witch of the two method (POST or
> GET) would be appropriat
I thought I just did a comment and suggested that it is a lame solution
to use $_REQUEST plus I did not know witch of the two method (POST or
GET) would be appropriate so I picked up the lame way :-) .
mike wrote:
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
the posted or go
On 8/24/07, Goltsios Theodore <[EMAIL PROTECTED]> wrote:
> the posted or got option buy using the $_REQUEST array ($_GET and $_POST are
> included in that like a less lame solution). Let's say you have a
Please do not encourage the use of $_REQUEST.
You might as well just tell people to enable re
I think that you can also do that buy making a drop down list with the
available databases and pass the chosen database to another (or perhaps
the same) script and make the queries and output results there. You can
catch the posted or got option buy using the $_REQUEST array ($_GET and
$_POST
On 8/23/07, Suamya Srivastava <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How can I pass variables on clicking a hyperlink to a PHP script? I have 5
> hyperlinks, all pointing to the same PHP script. However, on clicking each
> hyperlink a different value of the variable needs to be passed to the PHP
>
15 matches
Mail list logo