php-general Digest 31 Dec 2008 15:52:25 -0000 Issue 5875
Topics (messages 285265 through 285285):
Re: Webhotel structure
285265 by: Dotan Cohen
285269 by: Peter Sorensen
285271 by: paragasu
285272 by: Dotan Cohen
285277 by: tedd
Re: PHP telnet server
285266 by: Micah Gersten
285267 by: Per Jessen
Re: Is MD5 still considered safe for storing application user passwords?
285268 by: Richard Heyes
285276 by: Heysem Kaya
285279 by: Jason Pruim
285280 by: Murray
285283 by: Richard Heyes
Re: Since I speak with some of you more than people I see in person....
285270 by: Jay Blanchard
285273 by: Dan Shirah
285274 by: Dotan Cohen
285275 by: Thiago H. Pojda
285278 by: Jason Pruim
Re: Encryption/decryption of PHP data
285281 by: Phpster
IE Problem Detecting Post Variables
285282 by: L. Herbert
=.='' what wrong ? just simple code, however error.
285284 by: LKSunny
285285 by: Per Jessen
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
2008/12/31 tedd <[email protected]>:
> Everythink about getin' a job?
>
There's that word again! You keep using that word. I do not think that
it means what you think it means.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--- End Message ---
--- Begin Message ---
""Dotan Cohen"" <[email protected]> wrote in message
news:[email protected]...
2008/12/30 Nordstjernealle 10 <[email protected]>:
Hi Dotan
I am glad I can at least be funny.
I must admit I am a bit lazy when it comes to write perfect english in
mails. I believe we can do better with our time.
In this particulary case the result was below acceptable levels.
English is not my native language either, by the way.
No I would not laugh if you where writing in Bokmal or Nynorsk.
Because I would not know the first think about spelling in the Norwedian
languages. I am Danish, we speak and write in Danish.
I apologize! I know little of Scandinavian culture (the letters in
your last name were a hint to Scandinavian) and your email address
just looked Norwegian to me.
Yes it is a linux server, and I know the basic linux commands, but I do
not
know if and how I can get SSH access to my web host.
If you can't, then switch hosts. SSH access is a necessity.
It may not be supported or be too basic to be include in the help search
at
surftown, I simply do not know.
My web do not have a fixed IP, so I guess it may not
No fixed IP for your web host?!? Change!
It seems like surftown is an okay host, compared to my less than 2$ a
month,
but their help is a major candidate for winning the price of the most
useless help ever.
A google search found a blog where the guy say they do not support ssh on
pivate hosting, so I guess not.
/Peter
--
Dotan Cohen
Hi again
Sorry for cutting your name card short Dotan, but I get tired reading the
entire alfabet every time.
Yes ssh and fixed IP is properly a must for you guys who having php
programming as a hobby, but I only want a webside up and running.
The only other thing I would like would be a 100Gbyte remote backup. Here I
only got 10Gbyte.
The price of getting these this is rather high compared to my 2$ a month,
another detail is, that I payed 5 years in advance to get this price, so
that would all be lost. In total I payed 100$ for 5 years including
webhosting and the domain name registration onbe year ago.
Now I finally get some value for the money.
Today the price for the same has doubled.
I do not mind spending another 100$ if you can do better, but I will not
spend 5 or 10$ a month for this.
As php programming is not a hobby I properly will be away from this list for
a long time, have fun everyone, before you know you have become too old for
that.
My retirement will also restore the average age of this list back to normal.
Best regards
Granpa
Peter
nb I can not show you my web, as login is restricted to familie only, but I
guess you all know how coppermine look.
but you are welcome to look at my work homepage www.protelevision.com where
I am a HW engineer.
--- End Message ---
--- Begin Message ---
uh.. nice flash website grandpa =)
On 12/31/08, Peter Sorensen <[email protected]> wrote:
>
>
> ""Dotan Cohen"" <[email protected]> wrote in message
> news:[email protected]...
>> 2008/12/30 Nordstjernealle 10 <[email protected]>:
>>> Hi Dotan
>>>
>>> I am glad I can at least be funny.
>>> I must admit I am a bit lazy when it comes to write perfect english in
>>> mails. I believe we can do better with our time.
>>> In this particulary case the result was below acceptable levels.
>>>
>>
>> English is not my native language either, by the way.
>>
>>> No I would not laugh if you where writing in Bokmal or Nynorsk.
>>> Because I would not know the first think about spelling in the Norwedian
>>> languages. I am Danish, we speak and write in Danish.
>>>
>>
>> I apologize! I know little of Scandinavian culture (the letters in
>> your last name were a hint to Scandinavian) and your email address
>> just looked Norwegian to me.
>>
>>> Yes it is a linux server, and I know the basic linux commands, but I do
>>> not
>>> know if and how I can get SSH access to my web host.
>>
>> If you can't, then switch hosts. SSH access is a necessity.
>>
>>> It may not be supported or be too basic to be include in the help search
>>> at
>>> surftown, I simply do not know.
>>> My web do not have a fixed IP, so I guess it may not
>>>
>>
>> No fixed IP for your web host?!? Change!
>>
>>> It seems like surftown is an okay host, compared to my less than 2$ a
>>> month,
>>> but their help is a major candidate for winning the price of the most
>>> useless help ever.
>>>
>>> A google search found a blog where the guy say they do not support ssh on
>>> pivate hosting, so I guess not.
>>>
>>> /Peter
>>>
>>
>> --
>> Dotan Cohen
>>
>
> Hi again
>
> Sorry for cutting your name card short Dotan, but I get tired reading the
> entire alfabet every time.
>
> Yes ssh and fixed IP is properly a must for you guys who having php
> programming as a hobby, but I only want a webside up and running.
> The only other thing I would like would be a 100Gbyte remote backup. Here I
> only got 10Gbyte.
> The price of getting these this is rather high compared to my 2$ a month,
> another detail is, that I payed 5 years in advance to get this price, so
> that would all be lost. In total I payed 100$ for 5 years including
> webhosting and the domain name registration onbe year ago.
> Now I finally get some value for the money.
> Today the price for the same has doubled.
> I do not mind spending another 100$ if you can do better, but I will not
> spend 5 or 10$ a month for this.
>
> As php programming is not a hobby I properly will be away from this list for
> a long time, have fun everyone, before you know you have become too old for
> that.
>
> My retirement will also restore the average age of this list back to normal.
>
> Best regards
>
> Granpa
> Peter
>
> nb I can not show you my web, as login is restricted to familie only, but I
> guess you all know how coppermine look.
> but you are welcome to look at my work homepage www.protelevision.com where
> I am a HW engineer.
>
>
>
>
>
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
2008/12/31 Peter Sorensen <[email protected]>:
> Hi again
>
> Sorry for cutting your name card short Dotan, but I get tired reading the
> entire alfabet every time.
>
I put that there to catch badly-encoded messages so that I can improve
http://gibberish.co.il
So long as your mail client displays the alephbet correctly, I don't
need you to quote it.
> Yes ssh and fixed IP is properly a must for you guys who having php
> programming as a hobby, but I only want a webside up and running.
Just the opposite: the static IP is for the visitors, not for the developer.
> The only other thing I would like would be a 100Gbyte remote backup. Here I
> only got 10Gbyte.
> The price of getting these this is rather high compared to my 2$ a month,
> another detail is, that I payed 5 years in advance to get this price, so
> that would all be lost. In total I payed 100$ for 5 years including
> webhosting and the domain name registration onbe year ago.
> Now I finally get some value for the money.
I wouldn't exactly call that value, but it is your decision. You seem
to know what you are doing, so I won't lecture you!
> Today the price for the same has doubled.
> I do not mind spending another 100$ if you can do better, but I will not
> spend 5 or 10$ a month for this.
>
> As php programming is not a hobby I properly will be away from this list for
> a long time, have fun everyone, before you know you have become too old for
> that.
>
> My retirement will also restore the average age of this list back to normal.
>
> Best regards
>
> Granpa
> Peter
>
> nb I can not show you my web, as login is restricted to familie only, but I
> guess you all know how coppermine look.
> but you are welcome to look at my work homepage www.protelevision.com where
> I am a HW engineer.
>
I cannot see that website as I have flash disabled. When your company
puts up an HTML site I would be glad to look over it. Thanks.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--- End Message ---
--- Begin Message ---
At 9:47 AM +0200 12/31/08, Dotan Cohen wrote:
2008/12/31 tedd <[email protected]>:
Everythink about getin' a job?
There's that word again! You keep using that word. I do not think that
it means what you think it means.
--
Dotan Cohen
Dotan:
And perhaps nether of us understand what the other is saying.
I was using it in a humorous manner, at least that was my intent.
Cheers and Happy New Year.
tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
--- End Message ---
--- Begin Message ---
Luke Slater wrote:
> Hi everyone,
>
> I'm trying to rewrite an old MUD in PHP; the reasons for this are that
> the original is written in C and most files in the codebase run over
> 2000 lines with at least 20 of them, which makes it very hard to
> change anything.
>
> Plus, the web interface is also written in C, and needless to say
> that's just nasty!
>
> So I was looking at sockets in PHP, and thinking about the semantics
> of it all.
>
> I was looking at this article:
>
> http://devzone.zend.com/article/1086-Writing-Socket-Servers-in-PHP
>
> And thought 'wow this looks like it might be pretty easy actually!'
>
> But then I reached the first hurdle point:
>
> '
> /* Accept incoming requests and handle them as child processes */
> $client = socket_accept($sock);
> '
>
> Surely the point of a MUD is that the requests are shared?
>
> I also looked up telnet servers in PHP on google quite extensively,
> and there seems to be no real information out there? I would imagine
> that I'm looking for the wrong thing, however.
>
> In short I'm looking for the basic idea on how a MUD server would be
> implemented in PHP.
>
> Thanks in advance for anything,
>
> Luke Slater
>
How about AJAX and sessions instead of having TCP sockets?
http://xajaxproject.org/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
--- End Message ---
--- Begin Message ---
[email protected] wrote:
>
> I often thought PHP would be a nice language for a MUD, if one could
> get the performance out of it...
Design your code such that you can just throw more hardware at it
whenever you need more performance.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
Hi,
> ...
You should also take into account how crucial your data is. If it's
nuclear launch codes I would say that you can't get enough security.
Howver if it's an admin system for Bobs local grocery store, then as
"Phpster" suggested, a salted hash may well be enough. For example,
you could use this:
<?php
$hash = md5($password . 'salt -
bhuyfuyftyfctujvikhgvbhjiftye5645rt68ty97tgifyvcu6yt7d');
?>
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 20th)
--- End Message ---
--- Begin Message ---
Hi,
That's true.
It provides a message digest of 128 bits. It's strong collision resistance is
2^64. So finding a collision is hard even though it is proved less secure than
SHA-384 and SHA-512.
A rule of thumb in technology is utilizing what is needed. If MD5 is
sufficient, utilizing more costly hash functions is unnecessary.
Heysem
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Richard Heyes
Sent: Wednesday, December 31, 2008 12:37 PM
To: Phpster
Cc: Murray; [email protected]
Subject: Re: [PHP] Is MD5 still considered safe for storing application user
passwords?
Hi,
> ...
You should also take into account how crucial your data is. If it's
nuclear launch codes I would say that you can't get enough security.
Howver if it's an admin system for Bobs local grocery store, then as
"Phpster" suggested, a salted hash may well be enough. For example,
you could use this:
<?php
$hash = md5($password . 'salt -
bhuyfuyftyfctujvikhgvbhjiftye5645rt68ty97tgifyvcu6yt7d');
?>
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 20th)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
On Dec 31, 2008, at 5:36 AM, Richard Heyes wrote:
Hi,
...
You should also take into account how crucial your data is. If it's
nuclear launch codes I would say that you can't get enough security.
Howver if it's an admin system for Bobs local grocery store, then as
"Phpster" suggested, a salted hash may well be enough. For example,
you could use this:
<?php
$hash = md5($password . 'salt -
bhuyfuyftyfctujvikhgvbhjiftye5645rt68ty97tgifyvcu6yt7d');
?>
Correst me if I'm wrong... but assuming that your salt string is hard
coded into the program, with a MD5 a password + salt is no more
secure then a simple password?
Unless... When they log in, you store a MD5 hash of the salt in a
separate field in the database, and store it on in a cookie so it can
be compared.
Or am I just missing something obvious like usual? :)
--
Jason Pruim
[email protected]
616.399.2355
--- End Message ---
--- Begin Message ---
Well, the idea would be to allow the person downloading and implementing the
application to choose their own salt value. That way, in theory, each
implementation of the application will be salting the hash algorithm with a
different value.
I guess, if you really wanted to get tricky, you could programatically
generate a random string on first run of the application and store it in a
background db or in your config file, so that you could be more certain that
the salt value from implementation to implementation was different.
M is for Murray
On Thu, Jan 1, 2009 at 12:12 AM, Jason Pruim <[email protected]> wrote:
>
> On Dec 31, 2008, at 5:36 AM, Richard Heyes wrote:
>
> Hi,
>
> ...
>
>
> You should also take into account how crucial your data is. If it's
> nuclear launch codes I would say that you can't get enough security.
> Howver if it's an admin system for Bobs local grocery store, then as
> "Phpster" suggested, a salted hash may well be enough. For example,
> you could use this:
>
> <?php
> $hash = md5($password . 'salt -
> bhuyfuyftyfctujvikhgvbhjiftye5645rt68ty97tgifyvcu6yt7d');
> ?>
>
>
> Correst me if I'm wrong... but assuming that your salt string is hard coded
> into the program, with a MD5 a password + salt is no more secure then a
> simple password?
>
> Unless... When they log in, you store a MD5 hash of the salt in a separate
> field in the database, and store it on in a cookie so it can be compared.
>
> Or am I just missing something obvious like usual? :)
>
>
> --
> Jason Pruim
> [email protected]
> 616.399.2355
>
>
>
>
--- End Message ---
--- Begin Message ---
Hi,
> Correst me if I'm wrong... but assuming that your salt string is hard coded
> into the program, with a MD5 a password + salt is no more secure then a
> simple password?
Well if you store the hash by itself, if an attacker gets hold of your
hashes they could be brute forced. However with the addition of a salt
it would be largely pointless since you need both pieces (?) of
information (password plus salt) to generate the hash.
--
Richard Heyes
HTML5 Graphing for FF, Chrome, Opera and Safari:
http://www.rgraph.org (Updated December 20th)
--- End Message ---
--- Begin Message ---
[snip = Daniel Brown]
> And as a side note (some of you already know): for my wife and I
> closing out the year, we heard the heartbeat of our first child for
> the first time today in the ultrasound. Nothing else will ever again
> matter as much to me as what I am about to embark upon. I don't think
> any song or sound I've ever heard in my entire life was as beautiful
> as those few seconds. My heart literally feels so full that it could
> burst at any moment.
[/snip]
Congrats to you and your wife! My daughter just started college but I
remember the day I first heard her heart beat...and it is all worth the
ride!
[snip = Stuart] Anyone got an interesting resolution beyond the usual
drinking/smoking/eating less? I intend to spend less non-work hours
sat in front of a computer and blog/twitter more. Those two are
probably mutually exclusive but I'm giving it a shot ;-)
[/snip]
I reach a significant age milestone in February which may be the cause
for way too much introspection! Anyhow I do have something out of the
ordinary; I plan to spend more time playing disc golf (Frisbee golf for
those not in the know)...well, not just playing...competing! Playing
more tournaments. Seriously studying the game and its techniques.
Disciplined practice.
Happy New Year to all!
Jay
--- End Message ---
--- Begin Message ---
>
> And as a side note (some of you already know): for my wife and I
> closing out the year, we heard the heartbeat of our first child for
> the first time today in the ultrasound. Nothing else will ever again
> matter as much to me as what I am about to embark upon. I don't think
> any song or sound I've ever heard in my entire life was as beautiful
> as those few seconds. My heart literally feels so full that it could
> burst at any moment.
>
Congrats, Dan! I'm right there with you! My wife is 7 months preggo right
now! Wait until you get to feel the kicks every day and see little hands
poking out from her belly. Totally awesome!
My New Years Resolution is going to be getting a raise!
Well, I hope you all have a great New Years!
I promise to not ask anymore PHP questions until next year! :)
Dan
--- End Message ---
--- Begin Message ---
2008/12/30 Bastien Koert <[email protected]>:
> Congrats on the new critter to be...they are a lot of fun after the first
> year of eating sleeping and pooping ;-)
>
Sleeping? Why don't mine do that? I am of the opinion that the first
year they are little more than a crying digestive system :)
To the OP: congrats! You will enjoy this!
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü
--- End Message ---
--- Begin Message ---
[top-posting]
Congratulations guys, take good care of those new little persons!
This has been a great year, probably the best year for me.
Learnt a lot with you here and I hope I helped giving something back
to the community.
Keep up the good work, it's been great!
I wish I'll get married somewhere between next year and the year
after, let's see how things go. :)
(if you're not religious, you can stop reading here)
This year I found about the great love of Jesus and how good He's been
to me. Thanks to His love, everything's been so good I can't even
express myself.
If you still haven't, try fiding about Him. You'll not regret it. :)
Best wishes to everyone,
Thiago Henrique Pojda
http://nerdnaweb.blogspot DOT com
On Wed, Dec 31, 2008 at 10:32 AM, Dotan Cohen <[email protected]> wrote:
> 2008/12/30 Bastien Koert <[email protected]>:
>> Congrats on the new critter to be...they are a lot of fun after the first
>> year of eating sleeping and pooping ;-)
>>
>
> Sleeping? Why don't mine do that? I am of the opinion that the first
> year they are little more than a crying digestive system :)
>
> To the OP: congrats! You will enjoy this!
>
> --
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
>
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
> ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي
> А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
> а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
> ä-ö-ü-ß-Ä-Ö-Ü
>
--- End Message ---
--- Begin Message ---
On Dec 30, 2008, at 4:32 PM, Daniel Brown wrote:
To hell with being on-topic, since this list is generally never
on-topic for an entire thread anyway.
This has been a roller-coaster year for some of us --- certainly
myself included --- but the year has come to a close. I want to take
a moment to wish each and every one of you a safe and wonderful new
year. May 2009 be ten times healthier, happier, and more prosperous
to you and yours than the three best years of your life so far, and
may each year beyond that be better even than the one before.
And as a side note (some of you already know): for my wife and I
closing out the year, we heard the heartbeat of our first child for
the first time today in the ultrasound. Nothing else will ever again
matter as much to me as what I am about to embark upon. I don't think
any song or sound I've ever heard in my entire life was as beautiful
as those few seconds. My heart literally feels so full that it could
burst at any moment.
To all of you, thank you for being a part of the PHP project, and
many of you professional and personal parts of my life. Of all of the
communities I've been involved in the last sixteen years or so, this
has always been my favorite. And it's because of you folks.
From the bottom of my (bursting!) heart, thank you, and I look
forward to working alongside all of you in 2009.
All the best....
Congratulations! It's amazing how much it changes your life... And
how quickly...
I created MP3's of both my kids heart beats so I can play them
anytime I want... And since I have to work out of the house it's nice
to be able to remember give me a big reason to hurry up and get done
coding so I can go see and hold my kids :) The youngest one started
sitting up yesterday... Next step is crawling!
--
Jason Pruim
[email protected]
616.399.2355
--- End Message ---
--- Begin Message ---
In reading the license I believe it refers to the gnupg itself, not
the application it may be embedded in. You are completely free to use
gnupg as you choose including modifying it to meet your needs.
Bastien
Sent from my iPod
On Dec 30, 2008, at 10:50 PM, Edward Diener <[email protected]>
wrote:
My client application needs to send data to a PHP page in encrypted
form
and have the PHP code able to decrypt it. Likewise the PHP code
needs to
return data to my application encrypted and my client application
needs
to be able to decrypt it.
My application is written in C++ and naturally the PHP page is written
in PHP.
I do understand that public key-private key cryptography is the way to
go. So far my Internet search has turrned up GnuPG as a means of doing
public key-private key cryptography for PHP with libraries for C++
also.
However the client application is a commercial application and
unless I
misunderstand the GNU General Public License the software of the
application which uses GnuPG must allow its source to be freely
available in order to use the library. This is of course something
which
I am completely unwilling to do for the commercial application.
Is there any other public key-private key cryptography solution on the
PHP side which also has a C++ library which I can use for the client
application, which does not adhere to the GNU General Public License ?
This does not have to be a free product.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Hello all,
Anyone have insight to share on the following issue:
I have a simple theme switcher script that functions as expected in
FF, Safari, etc. but does not work in IE 6 or 7. It appears that the
posted form variables are not detected in IE. I am using the
following check within the script:
if(isset($_REQUEST['style'])) {
$style = $_REQUEST['style'];
}
Thanks in advance for your assistance.
--- End Message ---
--- Begin Message ---
<?
$credithold = 100;
for($i=1;$i<=1000;$i++){
$credithold -= 0.1;
echo "$credithold<br />";
}
//i don't know why, when run this code, on 91.3 after expect is 91.2,
however......91.200000000001
//who can help me ? and tell me why ?
//Thank You.
?>
--- End Message ---
--- Begin Message ---
LKSunny wrote:
> <?
> $credithold = 100;
> for($i=1;$i<=1000;$i++){
> $credithold -= 0.1;
> echo "$credithold<br />";
> }
> //i don't know why, when run this code, on 91.3 after expect is 91.2,
> however......91.200000000001
> //who can help me ? and tell me why ?
It's a floating point rounding error. If you don't need the accuracy,
just round it to what you need.
/Per Jessen, Zürich
--- End Message ---