OUTLOOK! (which
> does not have reply to list) where they work.
And some people choose Windows of their own free will. Linux is not
for everyone, and anyone who is bigoted enough to think so need to get
over themselves. Trying to impose one's choice of operating system (or
anything else for
us many of the people who send to lists such as php-webmaster@
generally do not actually subscribe. Sending a reply privately to
someone can also come in handy if you wish to comment privately on a
commit. Logs/diffs are sent to mailing lists and the From header will
always contain usern...@php.ne
r and Hans both will get
>> 2 of the exact messages.
>>
>
> Strange I only got one, but it ma be a mail server filter
I'll have to say that I've never received duplicate messages on any of
the nine PHP.net mailing lists I'm subscribed to either.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are hitting the reply-to button instead of simply reply.
Then get a better email client if yours doesn't support "reply to all"
or "reply to group". It's hardly the mailing list's fault that your
client doesn't support that.
--
Daniel Egeberg
--
PHP Ge
uot;From"
header (unless "Reply-To" is present). Reply all generally makes your
client send a CC to all the other recipients as well.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
riends
>
> Best regards,
> Sharl.Jimh.Tsin
Hi,
Could you possibly get a backtrace [1] and submit a PHP bug [2]?
[1] http://bugs.php.net/bugs-generating-backtrace.php
[2] http://bugs.php.net/report.php
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e.variables.variable.php
It works for function and class names as well.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
der.
Sorry, that's just ridiculous. Why should we code a plugin that fixes
your emails to put them in the right order when you can just do it
from the start? You're even acknowledging that you're posting in the
wrong order now.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ERR in the same
> script by external commands and functions that are too hard to change. But I
> don't want to break things for all other customers just to make one happier.
>
> Can the STDERR constands be enable somehow at compile-time for php-cgi?
>
> Regards
> Marten
You
nk it's unreasonable that you commit some
resources to it. I don't think anyone is *against* that PHP supports
multi-threading. I think people are against having multi-threading if
it will stall other development in the PHP core. It's not like you can
implement it just like that. T
On Tue, Mar 23, 2010 at 15:50, Jan G.B. wrote:
>
>
> 2010/3/23 Daniel Egeberg
>>
>> On Tue, Mar 23, 2010 at 11:47, Marten Lehmann wrote:
>> > Hello,
>> >
>> > I found different code examples like this, which use the file handle
>> >
; /test.php on line 4
>
> Warning: fwrite(): supplied argument is not a valid stream resource
> in /test.php on line 4
>
> How can I access the original STDERR handle? The constant should be there,
> but does not exist.
>
> regards
> Marten
These I/O streams are only present in the CLI SAPI.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
across in
> the POST header in wireshark, but but only the first 20 appear in the
> $_FILES array.
>
> Has anyone come across this problem of the $_FILE array being truncated? I
> don't recall changing anything on the live server.
>
> Richard
Check out max_file_uploads which
supports that. If you install the sqlite extension
on your webserver, it should work.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Mar 11, 2010 at 23:16, Daniel Egeberg wrote:
> On Thu, Mar 11, 2010 at 22:57, George Langley wrote:
>> Hi all. Is there an issue with $_GET not handling a Base64-encoded
>> value correctly? (PHP is 5.1.6)
>> Am receiving a Base64-encoded value:
>&
Joomla! page, whose
> getVar() command completely removes the +, so I couldn't even do a string
> replace, as I don't know where the + should have been!)
>
> Tired of looking at the dark red spot on the wall! Thanks.
PHP does a urldecode() on GET parameters, which r
ng to work. PHP_SELF does not include query string.
> So it is safe to use it this way.
>
> Regards,
> Dmitry
No, it is not safe...
This won't work:
index.php?" onsubmit="evil()">http://www.evil.com/evi.js"</a>;>
But this will:
index.php/" onsubmit="evil()">http://www.evil.com/evi.js"</a>;>
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ollow" href="http://www.evil.com/evi.js"">http://www.evil.com/evi.js"</a>;>
>
> with regard to the original problem - some input validation is in order.
PHP_SELF doesn't contain the query string, so your particular attack
wouldn't work. It's still a security issue though.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of view. It has to evaluate
> $client->system to determine the parameter list for multiCall(). Then it
> has to evaluate those parameters before it can stuff their values into
> the stack so it can call the function.
That's not true. It's entirely possible making language
the is_infinite() function. It's not entirely undocumented
though. See http://php.net/float. Basically you'll get INF when you
exceed the range according to the IEEE floating point standard.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, Mar 8, 2010 at 23:21, Skip Evans wrote:
> D'oh!
>
> ...and I suppose there is just no way around that, eh?
>
> Skip
You can use SNI, but it's not supported by all web servers and browsers.
http://en.wikipedia.org/wiki/Server_Name_Indication
--
Daniel Egeberg
e and the session ID are two different things.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ion.
>
> Could you tell me how to retrieve the 'return type'?
> Thanks.
>
>
> --
> Dasn
That's not possible. Consider this function:
function foo()
{
switch (rand(0, 1)) {
case 0: return 42;
case 1: return 'bar';
e:
http://svn.php.net/viewvc/php/php-src/tags/php_5_3_1/php.ini-production?view=markup#l671
If an attacker can do an HTTP GET request, he can most likely also do
an HTTP POST request (and vice versa) and the input value will be no
more (in)secure regardless of the source. Using $_GET/$_POS
nite representation in base 2 (like you cannot finitely represent
1/3 in base 10). So the number 0.1 is represented in the computer as a
number that is strictly less than 0.1 so when you do 0.1+0.7=x then
you have x<0.8 in the computer (think 7.999...). When you cast to
int you just trunca
On Wed, Jan 27, 2010 at 18:13, Daniel Brown wrote:
> On Wed, Jan 27, 2010 at 12:08, Daniel Egeberg wrote:
>>
>> There is virtually no difference nowadays. It's a long time since
>> anything like that has mattered.
>
> Actually, that's not true enough to be
only a general rule of thumb and shouldn't be adhered to
> absolutely, but I remember a thread a while back that showed the speed
> differences between the two because of the extra parsing PHP does on
> double quoted strings.
There is virtually no difference nowadays. It's a long tim
0, 3) == pack('CCC', 0xEF, 0xBB, 0xBF)) {
// has bom
}
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
). Exactly how you do that is
up to you (hard code it, look in a database, LDAP, etc.). You then
send the 401 response code along with WWW-Authenticate if the
credentials aren't satisfactory.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sing automated build tools like Phing, Ant
or GNU Make.
Either way, I wouldn't worry about the extra I/O unless you've got *a
lot* of traffic.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You might also just choose the longest match (in terms of
number of periods).
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Jan 5, 2010 at 14:13, Ashley Sheridan wrote:
> (untested - I always forget the order of the params!)
As a general rule, string functions are always haystack-needle and
array functions are always needle-haystack. I can't think of any
exceptions to that rule.
--
Daniel Egeberg
o for more information about that function.
You could also explode() it and do something with that, or you could
or use some of the other many string manipulation functions. I think
pathinfo() is easiest.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Jan 5, 2010 at 10:34, Daniel Egeberg wrote:
> On Tue, Jan 5, 2010 at 02:22, Varuna Seneviratna wrote:
>> Since there are two stable versions 5.3 and 5.2 .What is the difference
>> between these two streams and What is the need for maintaining two streams?
>
> Th
I'm sure you can appreciate the benefit of having a shared vocabulary.
It's something that's going on in not just programming, but
practically in every field that exists.
I hope this makes some sense. It's my take on this anyway.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
So you can download
the PHP 5.3.1 VC9 non-thread-safe build from http://windows.php.net
and follow the steps in
http://www.php.net/manual/en/install.windows.iis6.php.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
POST data only the request.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that may be because I've not used a language that supports
multiple inheritance (not on classes anyway).
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
treams for more information
about that. Why your specific script would write to STDERR, I don't
know.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
us
>
strtotime() interprets dates according to the rules of the current
timezone. The specific rules are outlined in GNU's manual:
http://www.gnu.org/software/tar/manual/html_node/Date-input-formats.html
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
end variable. Would it work?
Oh, I see now. Sorry.
I had this in my bookmarks: http://www.swfupload.org/
I don't know if it's any good, but you can check it out.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ut that
doesn't mean the client has downloaded all of it. It may for instance
be that the client didn't finish downloading or that it is downloading
slower than you are sending.
--
Daniel Egeberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, Dec 23, 2009 at 14:35, Bob McConnell wrote:
> I don't keep copies of every message in any of the
> dozens of mailing lists and news groups I follow, so there is no simple
> way to go back through the conversation to figure out where it all came
> from.
Fortunately, other people keep compl
43 matches
Mail list logo