You are here: Re: Voipbuster script. « All PHP « IT news, forums, messages
Re: Voipbuster script.

Posted by Jeff North on 04/22/07 03:55

On Sun, 22 Apr 2007 12:20:33 +1000, in alt.php "Vince Morgan"
<vinhar@REMOVEoptusnet.com.au>
<462ac620$0$5746$afc38c87@news.optusnet.com.au> wrote:

>|
>| "Henk Oegema" <henk@oegema.com> wrote in message
>| news:9DvWh.133204$8X3.991299@phobos.telenet-ops.be...
>| > Vince Morgan wrote:
>|
>| Jeff had the sense to consider there may be non numeric chars in the string
>| Henk.

Not really :-)
I was trying to keep the code in a similar format to the OP :-)

>| for($i=0; $i<strlen($string); $i++)
>| {
>| if(is_numeric($string[$i]))
>| {
>| if($string[$i] < "5")
>| {
>| $string[$i] = $string[$i] + 5;
>| }else
>| {
>| $string[$i] = $string[$i] - 5;
>| }
>| }
>| }
>|
>| The above would work fine in that case, because it takes non numeric chars
>| that into consideration.
>| However, I think Jeff's solution is a lot more intiutive actualy as it's
>| purpose is more obvious.
>| Good to see you got it working Henk.
>| Vince
>|
---------------------------------------------------------------
jnorthau@yourpantsyahoo.com.au : Remove your pants to reply
---------------------------------------------------------------

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация