Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]syntax error
Altec69
post
Post #1





Grupa: Zarejestrowani
Postów: 19
Pomógł: 0
Dołączył: 24.08.2012
Skąd: Kraków

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


Witam mam takie dwa błędy.Pomoże ktoś ?
  1. Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /public_html/admincp.php on line 426

  1. Parse error: syntax error, unexpected T_STRING in /public_html/admincp.php on line 426


Line 426
  1. $foutput.= "\$MAX_USERS=".$_POST["maxusers"]\n";


Ten post edytował Altec69 27.08.2012, 07:41:02
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 4)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




$_POST["maxusers"]\n";
Co to ma być? Nie sądzisz, że wypadałoby wejść spowrotem w tekst i dopiero potem dawać \n?


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
Altec69
post
Post #3





Grupa: Zarejestrowani
Postów: 19
Pomógł: 0
Dołączył: 24.08.2012
Skąd: Kraków

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


Cytat(nospor @ 27.08.2012, 08:26:34 ) *
$_POST["maxusers"]\n";
Co to ma być? Nie sądzisz, że wypadałoby wejść spowrotem w tekst i dopiero potem dawać \n?


Własnie smile.gif

  1. $foutput.= "\$MAX_USERS=".$_POST["maxusers"].";\n"


//edit ech ale teraz cos takiego:

  1. Parse error: syntax error, unexpected T_VARIABLE in /public_html/admincp.php on line 427


Ten post edytował Altec69 27.08.2012, 07:40:24
Go to the top of the page
+Quote Post
nospor
post
Post #4





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




No ale na końcu ma być srednik..... toż to podstawy....


--------------------

"Myśl, myśl, myśl..." - Kubuś Puchatek || "Manual, manual, manual..." - Kubuś Programista
"Szukaj, szukaj, szukaj..." - Kubuś Odkrywca || "Debuguj, debuguj, debuguj..." - Kubuś Developer

Go to the top of the page
+Quote Post
Altec69
post
Post #5





Grupa: Zarejestrowani
Postów: 19
Pomógł: 0
Dołączył: 24.08.2012
Skąd: Kraków

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


ok dzieki smile.gif
  1. $foutput.= "\$MAX_USERS=".$_POST["maxusers"].";\n";
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: 20.08.2025 - 16:07