SkatCh Posted January 12, 2015 Posted January 12, 2015 Hi guys i need some help can anyone tell me how to fix this : if (!$info["servername"]) {} Undefined index: servername
MTA Team botder Posted January 12, 2015 MTA Team Posted January 12, 2015 http://php.net/manual/en/function.isset.php if (!isset($info["servername"])) { }
SkatCh Posted January 13, 2015 Author Posted January 13, 2015 thx bro it's working but i got an other problem here : private function write($socket, $packet) { fwrite($socket, $packet); } fwrite(): send of 1 bytes failed with errno=1 Operation not permitted
Mr_Moose Posted January 13, 2015 Posted January 13, 2015 Your script does not have permissions to write to the server's disk, try chmod +w on the folder your scrip is trying to write to.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now