Write ip to arduino from web site (PHP).

actually do not know how to code for the arduino receive the new ip, mask, and gateway,
I got this code on the internet and made ??some adjustments.
I need to do is a code similar to the one that will attach, but the page will not stay in arduino but the server www.

by I realized when I open the page with this code 10.20.30.50 Direct
and then type the new command ip and write, it copies in a specific area in EEPROM.

}
for (int i = 0 ; i < 6; i++){
EEPROM.write(i + 1,mac*);*

  • }*
  • for (int i = 0 ; i < 4; i++){*
    _ EEPROM.write(i + 7, ip*);_
    _
    }_
    _
    for (int i = 0 ; i < 4; i++){_
    _ EEPROM.write(i + 11, subnet);
    }
    for (int i = 0 ; i < 4; i++){
    EEPROM.write(i + 15, gateway);
    }
    EEPROM.write(0, 0x92);
    }
    [/quote]*

    would somehow merge these two codes to work at the same time, or adapt this code exchange ip in php?
    any help is welcome.
    I do not know where to start to make that second page along with the first, all attempts I made, two codes stop working._