www.webdeveloper.com
Results 1 to 2 of 2

Thread: help with array

  1. #1
    Join Date
    Feb 2009
    Posts
    8

    Question help with array

    hello im having some probelms i dnt often use arrays so i need some help.

    what i need is an array of ip addresses. then later on im planning on doing somthing like

    $adminip = $_SERVER['REMOTE_ADDR'];

    if ($adminip == array of ips)
    {
    }

    so that if the admin ip is in the array it will do the code

  2. #2
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    If you are using PHP please use the [PHP] and [/PHP] forum tags for highlighting...
    The same applies to HTML and the forums [HTML][/HTML] tags.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles