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,264
  • 5
  • 24
  • 44
Parsa Yazdani
  • 155
  • 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,591
  • 7
  • 30
  • 47
B. Desai
  • 16,264
  • 5
  • 24
  • 44