use recursive calls to fetch them all in one array and there will be memory
cost.
refer array_keys function: http://php.net/manual/en/function.array-keys.php
not sure but this should be working.
function *get_keys_recursive*($arr) {
while (list($k, $v) = each($arr)) {
if (is_array($v)
Hi there!
I just have a small question concerning the http-protocol and php (and
in specific the header-function, i think).
Is it possible to manipulate the headers for the request which is sent
after a 302-header?
eg:
Response:
header('Referer: example.com');
header('Location: example.net');
On Thu, Jun 23, 2011 at 01:57:24PM -0400, Robert Cummings wrote:
> On 11-06-23 12:54 PM, Tamara Temple wrote:
> >
> >On Jun 22, 2011, at 5:24 PM, Scott Baker wrote:
> >
> >>On 06/22/2011 03:17 PM, Simon J Welsh wrote:
> >>>You still need to pass the value by reference to assign_children(),
> >>>so
On Wed, 22 Jun 2011 11:38:22 -0400, Jim Giner wrote:
>
> Well - it's a secret until one asks I guess. Thanks Shawn for the info.
> Since you say it's been happening for years, I guess there's no hope for
> resolution.
>
> Can you or someone else recommend a newsgroup client that functions better
Thanks for your response, but I don't think that will do.
First - SERVER_PORT is the port the apache/iis/whatever server is
working with (usually 80 or 443)
Second - That would still be manipulating the headers for the response
(As php mostly just generates the response, and not the request).
I'm
On Jun 24, 2011, at 6:28 AM, Chris Stinemetz wrote:
So I am trying to keep this simple and just assign the value with the
radio button and then insert it into mysql database, but with the
following code I am getting the mysql error: Unknown column '250kbps'
in 'field list' when I choose the firs
We ran the checks and found no problems with the disks. All disks are
accessible, there are no I/O errors or disk access errors. What has me
bewildered is this started happening quite recently. If it's not hardware, then
perhaps a new usage pattern is revealing a flaw in our php session han
Hey,
this is what I understand: you want to manipulate headers of the request
sent by the client directly after receiving a 302 response?
If that's the case, than read further ;)
Any client goes through the following process while communicating with a
web-server:
1. get IP address from the domain
Thank you for your answer!
You are more or less correct - And as I saw it to be too much work (or
just more or less impossible) I changed my approach to the problem.
I am now sending several separated request with JavaScript (jQuery to
be exact) without a 302, since I know in advance where I'll h
That worked perfectly!
Thank you,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey All,
I have a question pertaining to how PHP handles the residual values in
memory once a thread exits. I am working on some credit card processing
logic and would like to ensure that the values I am working with are not
being left to their own fortune after the application exits. Out of habbi
On Friday 24 June 2011 17:28:08 Chris Stinemetz wrote:
> That worked perfectly!
And will work, until you decide to put quotes in button name for some reason.
And until some malicious user forge POST request with
$_POST['post_tptest'] = "'; DROP DATABASE; --"
But you can use prepared statements to
On 24 June 2011 15:44, Vitalii Demianets wrote:
> On Friday 24 June 2011 17:28:08 Chris Stinemetz wrote:
>> That worked perfectly!
>
> And will work, until you decide to put quotes in button name for some reason.
> And until some malicious user forge POST request with
> $_POST['post_tptest'] = "';
In shifting gears to a faster pace of development and release, Mozilla has
opted to abandon security support for Firefox 4 immediately upon the release
of version 5, which came out this week.
This could be a risky move, since many users neglect to update their
browsers immediately for various rea
On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
On 24 June 2011 15:44, Vitalii Demianets
wrote:
And furthermore, I think Carthage must be destroyed.
Let's haul out the PHP war wagons!
http://xkcd.com/327/
I so wanted to rename my daughter "Little Chelsea Tables" after I read
That is indeed frustrating. I upgraded to FF 4 a month ago or so, and it's
been nothing but a hassle. Out of frustration, I switched to Chrome, and I
haven't looked back.
On Fri, Jun 24, 2011 at 10:16 AM, wrote:
> In shifting gears to a faster pace of development and release, Mozilla has
> opte
Chrome. Enough said. Now, if we can only convince the rest of the world ...
> Original Message
>From:
>To: php-general@lists.php.net
>Sent: Fri, Jun 24, 2011, 1:17 PM
>Subject: [PHP] Upgrade or Die?
>
>In shifting gears to a faster pace of development and release, Mozilla has
>opted to
On Fri, Jun 24, 2011 at 1:30 PM, wrote:
> Chrome. Enough said. Now, if we can only convince the rest of the world ...
>
Ugh. I can't stand Chrome. Of course, I gave up on Firefox years ago
and went back to Opera, so it doesn't bother me when Firefox does
something weird like this...
-Andy
--
On 24 June 2011 18:23, Tamara Temple wrote:
>
> On Jun 24, 2011, at 10:28 AM, Richard Quadling wrote:
>
>> On 24 June 2011 15:44, Vitalii Demianets wrote:
>>>
>>> And furthermore, I think Carthage must be destroyed.
>>
>
> Let's haul out the PHP war wagons!
>
>> http://xkcd.com/327/
>
> I so want
radio select validation
What I am doing wrong?
I want to make sure a radio button is selected, but my current code
allows insertion even when radio button isn't selected.
My code is:
//Generating radio buttons for store type with
array
On Fri, 2011-06-24 at 13:38 -0400, Andy McKenzie wrote:
> On Fri, Jun 24, 2011 at 1:30 PM, wrote:
> > Chrome. Enough said. Now, if we can only convince the rest of the world ...
> >
>
> Ugh. I can't stand Chrome. Of course, I gave up on Firefox years ago
> and went back to Opera, so it doesn'
On 11-06-24 01:16 PM, ad...@buskirkgraphics.com wrote:
In shifting gears to a faster pace of development and release, Mozilla has
opted to abandon security support for Firefox 4 immediately upon the release
of version 5, which came out this week.
This could be a risky move, since many users negl
Call me backwards, but I prefer to keep my statements simple. I would first
obtain the POST value before trying to pull up an array element.
$stype=$_POST[''store_type'];
if (!isset($stype))
(handle missing radio button)
else
$st_name=$choices[$stype];
for me (and the next guy who has t
On 24 June 2011 19:39, Ashley Sheridan wrote:
> On Fri, 2011-06-24 at 13:38 -0400, Andy McKenzie wrote:
>
>> On Fri, Jun 24, 2011 at 1:30 PM, wrote:
>> > Chrome. Enough said. Now, if we can only convince the rest of the world ...
>> >
>>
>> Ugh. I can't stand Chrome. Of course, I gave up on Fi
Dear James,
In case you love Chrome that much, be sure you not using its `remember
password` feature or any one else share using your PC/laptop will see it
super-easily!
Nam
On Sat, Jun 25, 2011 at 12:30 AM, wrote:
> Chrome. Enough said. Now, if we can only convince the rest of the world ...
Hello Chris,
Maybe I'm off topic, but wouldn't you consider JavaScript form
validation? That will make your task easier and the user will see
his/her error much earlier, before he/she submits the form.
--
With best regards from Ukraine,
Andre
Skype: Francophile
My blog: http://oire.
The message for Netscape was very clear, the development community refused to
write for it they had started a precedence that could not be forgotten.
I say communities will not forget this act and remove the browser from their
systems rather than be forced into an update for security reasons.
Ho
27 matches
Mail list logo