Re: strstr-pls help
| From: | Mako Shark | Date: | Wed, 11 Dec 2002 18:29:25 +0000 |
| Subject: | Re: strstr-pls help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127867@lists.php.net to get a copy of this message | ||
>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