Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [php]dziwny bład, jak dla mnie
milek45
post 16.07.2007, 20:59:16
Post #1





Grupa: Zarejestrowani
Postów: 36
Pomógł: 0
Dołączył: 11.07.2007

Ostrzeżenie: (0%)
-----


  1. <?php
  2. if (function_exists('codelock_run')) { } else { function
  3. codelock_run($ciph,$key)
  4. { $m=0; $abc=""; for($i=0;$i<strlen($ciph);$i++)
  5. { $c="substr($ciph,$i,1);"; $dv="codelock_dec($c);"; $fb="decbin($dv);"; 
  6. while(strlen($fb)="">4)
  7. { $fb="0".$fb; } 
  8. $abc=$abc.$fb; $m++; if($m3){ $m=0; } } $kl=0; $pd=""; 
  9. for($j=0;$j<strlen($abc);$j=$j+8){ $k="substr($key,$kl,1);" $dc="bindec($c);" -="" strlen($key);="" $c="substr($abc,$j,8);" $kl++;="" if($kl="">=strlen($key)){
  10. $kl=0; } $dc=ord($c)^ord($k); $p=chr($dc); $pd=$pd.$p; } return $pd; }
  11. }
  12. ?>



Fatal error: Can't use function return value in write context in c:\usr\krasnal\www\a\key.php on line 85

Chodzi dokładnie while(strlen($fb)="">4) .. Coś tutaj jest nie tak..

Na innym serwerze bład jest taki
Parse error: syntax error, unexpected '=' in /home.1/g/key.php on line 85

withstupidsmiley.gif
Go to the top of the page
+Quote Post
Sokal
post 16.07.2007, 21:01:34
Post #2





Grupa: Zarejestrowani
Postów: 237
Pomógł: 1
Dołączył: 8.02.2007

Ostrzeżenie: (10%)
X----


Lol, while(strlen($fb)="">4) <- pomyśl troche laugh.gif


--------------------
Jabber/E-Mail: dominiksokal[at]gmail.com | GG: #3795571
Go to the top of the page
+Quote Post
milek45
post 16.07.2007, 21:07:45
Post #3





Grupa: Zarejestrowani
Postów: 36
Pomógł: 0
Dołączył: 11.07.2007

Ostrzeżenie: (0%)
-----


poszedł "" ale teraz jest "
Parse error: syntax error, unexpected T_DOUBLE_ARROW in c:\usr\krasnal\www\a\key.php on line 85
"
sorry

  1. <?php
  2. while(strlen($fb)=>4 )
  3. ?>


Zaćmienie trwa :/

Ten post edytował milek45 16.07.2007, 21:08:54
Go to the top of the page
+Quote Post
Crom
post 16.07.2007, 21:27:55
Post #4





Grupa: Zarejestrowani
Postów: 8
Pomógł: 0
Dołączył: 30.04.2007

Ostrzeżenie: (0%)
-----


Cytat(milek45 @ 16.07.2007, 22:07:45 ) *
  1. <?php
  2. while(strlen($fb)=>4 )
  3. ?>


Zaćmienie trwa :/


zmień "=>" na ">="
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.07.2025 - 17:26