The following are the 1st two lines of a php script to register a new user:
1 require("backend.php");
2 $register = $authlib->register($username, $password, $password2, $fname, $lname, $email, $sex, $school);
Class $authlib is defined in backend.php. register is a function of (and is defined in) class $authlib which takes the 8 arguments in the call above. These arguments are passed via a POST method to the script above.
I'm getting a parse error for line 2 and am puzzled. This code had actually been working before and now is giving an error. The syntax looks OK to me. Could a problem in backend.php give the error in line 2?