ed structure.
I once used pack to obtain a 128 bit long binary string (xor key for
rudimentary file encryption) by packing four 32-bit integers into a binary
string and then using it as the xor key. (FWIW, bitwise operations work
both on integers and "strings" - binary or otherwise.)
Ki
Richard Lynch dedi ki:
> I use PHP extensively for command line processing.
>
> Why not just try it and see if it works well for you?
I will :)
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
Tijnema dedi ki:
> Is there any way to keep a file pointer open after script is finished,
> so that it can be access later, by passing it through session?
ftell() / fseek() ?
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.p
Abdullah Ramazanoglu dedi ki:
> $key = pack("N*", 0x12345678, 0x9abcdef0, 0x87654321, 0x0fedcba9);
>
> Well, second and third 32-bit hex values were automatically converted by
> PHP to float, before packing, because PHP tries to cast them into signed
> 32-bit integers, w
responsibility of disabling typing, and instruct
PHP "please do it as is, and let me worry if it makes sense or not".
Perhaps there's already a way to do this?..
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Crayon Shin Chan dedi ki:
> On Friday 08 June 2007 04:10, Abdullah Ramazanoglu wrote:
>
>> I found one intersting item though: Under the "What does Python have
>> that PHP doesn't?" header, there's a bullet stating that "support for
>> all major
YX'YX'YX'Y
It might be related to your input - perhaps not 8-bit clean? Perhaps
preprocessed in some way through the pipe (network, linux, apache, php.ini
settings, etc.) before it reached your script? Hard to guess.
I would've written (in binary safe way) the input to a temp file and then
inspected it via hexdump, less, hexedit etc.
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t feels a bit clumsy, but you might be able to
find a better way in "XVII. Character Type Functions" or "CLXI. String
Functions" (PHP Manual).
Kind regards,
Abdullah
>
>
> berber
>
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf
else {
# no high-bit char
}
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in your example, the java applet transfers the bulk data
itself -not metadata- a second time, POSTing it to php?
If so, then the applet you use (or the parameters it's been passed) should
be broken, I guess.
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Ma
for gtk. Am
I to understand from this statement that python has also support for qt?
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Chris dedi ki:
> Abdullah Ramazanoglu wrote:
--8<--
> Personally I'd stick to one or the other for the whole project, you'll
> save yourself a lot of headaches in the future.
Thank you Chris, for the insight. The more I think about it, the closer I
get to the same conclus
es of python against php (and vice versa)?
Any ideas, pointers, analysis, insights are most welcome. This is a rather
strategical crossroads for me, and I'd very much like to make an informed
decision.
Thank you and kind regards.
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP
Jim Lucas dedi ki:
> Abdullah Ramazanoglu wrote:
--8<--
>> Is it possible at all to use environment variables in php.ini, or is
>> there any other solution to the problem above?
>>
>> Thank you.
>
> Read this:
>
> http://us3.php.net/manual/en/con
Tijnema ! dedi ki:
> On 3/30/07, Abdullah Ramazanoglu <[EMAIL PROTECTED]> wrote:
--8<--
>> Is it possible at all to use environment variables in php.ini, or is
>> there any other solution to the problem above?
> It probably is possible, but you could just use a php
to chaos,
- etc.
Is it possible at all to use environment variables in php.ini, or is there
any other solution to the problem above?
Thank you.
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
16 matches
Mail list logo