Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Co oznacza blad...?, syntax error, unexpected T_VARIABLE
-Gość_Dreamer-
post
Post #1





Goście







Witam,
mam pewien problem z php. Mianowicie pojawia mi się cos takiego:
Kod
Parse error: syntax error, unexpected T_VARIABLE in /home/gatuso/public_html/blog/pokaz.php on line 73


oto fragment pliku pokaz.php:
Kod
$see = filesize($path."ksiega.dat");
     $file = fopen($path."ksiega.dat","r");
       $ere = fread($file $see);
    
             echo "$ere";
            fclose($file);
      
    }


Proszę o pomoc.
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
-Guest-
post
Post #2





Goście







linia 73 to: $ere = fread($file $see);

ps. prosze o zlaczenie tematów
Go to the top of the page
+Quote Post
dr_bonzo
post
Post #3





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

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


Prosze uzywac odpowiednich [tagow] w Przedszkolu
i podawac tytuly topicow z trescia, tu: podac fragment komunikatu bledu


Brak przecinka miedzy zmiennymi $file i $see


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
-Gość_Dreamer-
post
Post #4





Goście







Po wstawienu przecinka mam takie cos:
Kod
Warning: fread(): Length parameter must be greater than 0. in /home/gatuso/public_html/blog/pokaz.php on line 73
Go to the top of the page
+Quote Post
dr_bonzo
post
Post #5





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

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


Plik ktory czytasz jest pusty? To wtedy go nie czytaj


--------------------
Nie lubię jednorożców.
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 Aktualny czas: 19.08.2025 - 23:26