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 figu
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.
ech
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 and tags?
Cheers,
Tamas
-Original Message-
From: Chris Stinemetz [mailto:chrissti
On Mon, Aug 8, 2011 at 17:23, Chris Stinemetz wrote:
>
>
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:
--
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
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 die(rep
On Mon, Aug 8, 2011 at 16:41, Andre Polykanine 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 as well. I
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 ma
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
Sk
On Mon, Aug 8, 2011 at 16:20, 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
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 ans
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"
On 8 August 2011 15:08, Jen Rasmussen 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 defaults, session m
> 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 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
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen 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 workaround for
versions
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
16 matches
Mail list logo