Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [php] blad w skrypcie
-gog-
post
Post #1





Goście







  1. <?php
  2. $fp = "";
  3. $ile = 0;
  4. for ( $numer = 1 ; $numer < 49 ; $numer++ ){
  5. if (strlen($numer) < 2 ){$numer = "0".$numer;}
  6. $fp=fsockopen("localhost", "8118"); 
  7. fwrite($fp, "GET <a href=\"http://www.samair.ru/proxy/proxy-".$numer.".htm\" target=\"_blank\">http://www.samair.ru/proxy/proxy-".&#...umer.".htm</a> HTTP/1.1
  8. User-Agent: The BoT (Windows 666; U; FY)
  9. Host: www.samair.ru
  10. Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, *

PHP Fatal error: Cannot use string offset as an array in ipreg.php on line 29
co jest przyczyna bladu, petle wykluczylem
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 3)
-gog-
post
Post #2





Goście







Nie wkleil sie caly kod, oto on

  1. <?php
  2. $fp = "";
  3. $ile = 0;
  4. for ( $numer = 1 ; $numer < 49 ; $numer++ ){
  5. if (strlen($numer) < 2 ){$numer = "0".$numer;}
  6. $fp=fsockopen("localhost", "8118"); 
  7. fwrite($fp, "GET <a href=\"http://www.samair.ru/proxy/proxy-".$numer.".htm\" target=\"_blank\">http://www.samair.ru/proxy/proxy-".&#...umer.".htm</a> HTTP/1.1
  8. User-Agent: The BoT (Windows 666; U; FY)
  9. Host: www.samair.ru
  10. Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, *
Go to the top of the page
+Quote Post
bmL
post
Post #3





Grupa: Zarejestrowani
Postów: 301
Pomógł: 25
Dołączył: 15.07.2007
Skąd: Olsztyn

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


Błąd masz w 29 linijce kodu a wkleiłeś nam 10 linijek kodu moim zdaniem tego problemu nikt Ci nie rozwiąże.


--------------------
Tutaj miał być jakiś mądry tekst. Miał być... No ale jest głupi tekst.
Go to the top of the page
+Quote Post
Ociu
post
Post #4





Grupa: Moderatorzy
Postów: 1 566
Pomógł: 37
Dołączył: 14.05.2003
Skąd: Kraków




Dalej ten sam kod, radze się zarejestrować i napisać wątek jeszcze raz. Zamykam, jutro usunę.
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 11:49