first warning comes according to unavailability of blockip.txt
file. be sure to existance of file and you may try include
("filename"); also.
send warning is about a problem in session. be sure that session
start is at top of the file content. refer
http://www.phplabsindia.com/info