$servSoft=ftp_systype($result);
returns the remote OS type from $result
"$result" (user defined) being the result of and ftp_connect()
getenv() dosesn't really have anything to do with the above, I just used it as an example, I should of been more clear...
I just want to extract the "SERVER_SOFTWARE" env of the ftp connection I make.
Kinda like extracting the ftp_systype()
i can do this by: getenv("SERVER_SOFTWARE");
but this returns my SERVER_SOFTWARE but, I want to get this variable from the remote server the user connects with through my web application thats lives on my server.
there is an "ftp_systype()" with a similar task........... Is there a function that returns the server type, or would i have to write my own?