(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.)
Kind regards,
--
Abdullah Ramazanoglu
aramazan ÄT myrealbox D0T cöm
--
PHP General
).
Kind regards,
Abdullah
berber
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Abdullah Ramazanoglu
Sent: Friday, June 08, 2007 11:43 PM
To: php-general@lists.php.net
Subject: [PHP] Re: high-bit characters
WeberSites LTD dedi ki:
I'm trying to validate
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
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 GUI frameworks. I know that both php and python have support
,
--
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
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, which can't be represented
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.php.net
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://www.php.net
WeberSites LTD dedi ki:
I'm trying to validate an RSS feed and getting errors about high-bit
characters.
How can I check if a string contains any high-bit characters?
if (preg_match(/[\x80-\xff]/, $string)) {
# high-bit char found
} else {
# no high-bit char
}
--
Abdullah
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 conclusion. I've already made up
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
, 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 Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
)?
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 General Mailing List (http://www.php.net
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/configuration.php#configuration.file
You can put a file
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
15 matches
Mail list logo