SkatCh Posted January 12, 2015 Share Posted January 12, 2015 Hi guys i need some help can anyone tell me how to fix this : if (!$info["servername"]) {} Undefined index: servername Link to comment
MTA Team botder Posted January 12, 2015 MTA Team Share Posted January 12, 2015 http://php.net/manual/en/function.isset.php if (!isset($info["servername"])) { } Link to comment
SkatCh Posted January 13, 2015 Author Share 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 Link to comment
Mr_Moose Posted January 13, 2015 Share 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. Link to comment
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