0

I keep getting this error:

[19-Nov-2017 06:58:12 UTC] PHP Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /home/aussieug/public_html/ppyazi/cookie/cookielogger.php on line 14

Here is my code:

https://ghostbin.com/paste/p3ha8

B. Desai
  • 16,414
  • 5
  • 26
  • 47
Parsa Yazdani
  • 164
  • 1
  • 11

1 Answers1

1

Simply this error arise when you missed something like ", ', {, }, (, ), [, ], etc. in your code.

You missed " in header()

change

header ("Location: http://ppyazi.com/index.php);

to

header ("Location: http://ppyazi.com/index.php");
chris85
  • 23,846
  • 7
  • 34
  • 51
B. Desai
  • 16,414
  • 5
  • 26
  • 47