php-general Digest 8 Aug 2011 06:31:02 - Issue 7434
Topics (messages 314415 through 314423):
Re: Login with Remember me Feature
314415 by: Andre Polykanine
314416 by: Richard Riley
314417 by: Sean Greenslade
314418 by: Andre Polykanine
314419 by:
php-general Digest 8 Aug 2011 20:20:07 - Issue 7435
Topics (messages 314424 through 314430):
Re: what's wrong with this php system
314424 by: Sharl.Jimh.Tsin
PHP Security: Best Practices
314425 by: Jen Rasmussen
314426 by: Andrew Ballard
314427 by: Jen
I have installed a php system on my pc, it works well, except the head
of the page is a bit strange, there is some warning information, and
occupies lot of space,
what's wrong, the error information is as follows:
Warning: Parameter 1 to Notice::onPrint() expected to be a reference,
value given
在 2011-08-08一的 14:30 +0800,smith jack写道:
I have installed a php system on my pc, it works well, except the head
of the page is a bit strange, there is some warning information, and
occupies lot of space,
what's wrong, the error information is as follows:
Warning: Parameter 1 to
Hello all,
I am currently researching security best practices/methods. Can anyone offer
any current resources/recommendations?
My research thus far has included password hashing with salting/stretching,
session hash defaults, session management authentication, and prepared
statements via PDO
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen j...@cetaceasound.com wrote:
[snip]
On a side note, PHP versions prior to 5.3+ do not allow to set the httponly
flag as a cookie parameter, is there any acceptable alternative for this?
I believe that has been supported since 5.2.0. As for a
Thanks, Andrew! I am unfortunately not even running 5.2..so that helps.
Jen
-Original Message-
From: Andrew Ballard [mailto:aball...@gmail.com]
Sent: Monday, August 08, 2011 9:57 AM
To: j...@cetaceasound.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] PHP Security: Best Practices
I am currently researching security best
practices/methods. Can anyone offer
any current resources/recommendations?
That is a huge arena and the question can not be answered very well
without describing what you are needing to protect. Security in debth
depends upon what you are protecting and
On 8 August 2011 15:08, Jen Rasmussen j...@cetaceasound.com wrote:
Hello all,
I am currently researching security best practices/methods. Can anyone offer
any current resources/recommendations?
My research thus far has included password hashing with salting/stretching,
session hash
Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
You can answer: but no, man, you can say
$x=world;
$y=$x{3}; // $y=l
so
On 9/08/2011, at 8:20 AM, Andre Polykanine wrote:
Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
You can answer:
On Mon, Aug 8, 2011 at 16:20, Andre Polykanine an...@oire.org wrote:
Hi everyone,
As we all know, count() returns 1 if the variable
is not an array.
Question is: why in the world does it this? If a variable is *notA* an array,
it contains *zero* array elements.
Hello Daniel,
DPB does it return the number of characters within a string --- instead,
DPB as you likely know, you'd use strlen().
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
--
With best regards from Ukraine,
Andre
On 8 Aug 2011, at 21:41, Andre Polykanine wrote:
DPB does it return the number of characters within a string --- instead,
DPB as you likely know, you'd use strlen().
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
The manual
On Mon, Aug 8, 2011 at 16:41, Andre Polykanine an...@oire.org wrote:
For sure. But I'm asking: why it doesn't return 0 if it is not an array?
Logically: no array - no items!
No, actually, if it's a string, it's a single item --- thus, 1.
The documentation should probably reflect that
I'm trying to pass a hidden value with my form submission. Not sure what I
am doing woring, but the value is not being passed.
Query is___
$query = SELECT id, store_name FROM store_list WHERE store_type =
'$type' AND id_market = '$market' ;
$result = mysql_query($query) or
On Mon, Aug 8, 2011 at 17:23, Chris Stinemetz chrisstinem...@gmail.com wrote:
input type=hidden name=id value=?php echo '$id[]';?
You should drop the quotes around the $id[] array, and also figure
out how you want to extract the element from the array. For example:
?php echo
First: use firebug, or something like that, and check what's get written
in the page's source!
Second: dump $_POST/$_GET, and check, whether id is set at all
Is your input field between the form and /form tags?
Cheers,
Tamas
-Original Message-
From: Chris Stinemetz
I am trying to pass text strings from on page to a next to populate
the queries on the passed to page.
The only way I can get the query to work is if I am able to put single
ticks around the string to make it literal, but I can't seem to figure
out how to do it for the following line of code.
On Aug 8, 2011, at 11:58 PM, Chris Stinemetz wrote:
I am trying to pass text strings from on page to a next to populate
the queries on the passed to page.
The only way I can get the query to work is if I am able to put single
ticks around the string to make it literal, but I can't seem to
20 matches
Mail list logo