What would this ASP line be in PHP? Does anyone know. I ran it through asp2php and am having trouble with this line. substr is not a command that I have ever used before.
x_UserID = Ucase(mid(Request.ServerVariables("AUTH_USER"),InStr(Request.ServerVariables("AUTH_USER"),"\")+1,55))
What I get in php is this:
$x_UserID=strtoupper(substr(${"AUTH_USER"},(strpos(${"AUTH_USER"},"\") ? strpos(${"AUTH_USER"},"\")+1 : 0)+1-1,55));
Did this get converted correctly?