>but it doesnt work, You sure? It should be that you were trying to get the sizeof() $adam, which was thus far 0 bytes. So, of course, it would return 0 bytes to $adam, and your strstr() of looking for the IP address wouldn't work, since $adam would contain nothing. Try print()ing $adam to see what's actually coming out, then fiddling with your block1 part.
__________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php