php unexpected T_VARIABLE, little help here

Posted by Illes Peter on Stack Overflow See other posts from Stack Overflow or by Illes Peter
Published on 2010-04-22T13:44:31Z Indexed on 2010/04/22 13:53 UTC
Read the original article Hit count: 257

Filed under:
|

Hey there. I've got the following code:

class user {

  //URLs
  private static $signInURL = $_SERVER['DOCUMENT_ROOT'].'/?page=signin';

  ...
  ...
  ...

And i get

and unexpected T_VARIABLE error.

Can somebody tell me how to construct that url so it won't give me an error?

© Stack Overflow or respective owner

Related posts about php

Related posts about t-variable