Re: Re: Best way to test for form submission?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 4:49 PM +0100 8/28/09, Ashley Sheridan wrote:

 >
I seem to always use the word! *smacks self on wrist*

When I first came across it, it confused the hell out of me! Always
running into these kinds of Javascript bugs in IE, it has a much
narrower field of 'safe' variable names, probably because of all the
dithering about it's done in the past.

Thanks,
Ash

Ash:

What catches me every once in a while is using variable names that are the same as $_SESSION indexes, such as:

   $session_name =  $_SESSION['session_name'];

Believe it or not, that does NOT always work! Sometimes I have to do this --

   $my_session_name =  $_SESSION['session_name'];

-- to get around the problem.

I have experienced this error more than once -- it's strange.

Cheers,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux