hello. i am trying to write a simple php line that checks the REMOTE_ADDR variable and see if it comes from a specific netblock (to see if A.B.C is contained in a REMOTE_ADDR of A.B.C.D) But how do i do this? i know there is a php function that checks the string for the presence of another one... any help please? the php site is only helpful to me if i know which function i wish to look up by name.
in a nutshell: if ("150.200.250.x" is within $REMOTE_ADDR){dowhatever} thanks! __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]