i have the next txt file
Value:
00:c2:75:06:18:aa:6b:26:7c:1a:fa:d0:03:36:4c:
31:ca:3a:0f:3c:0a:e6:f3:54:20:d6:2a:77:1a:e5:
71:5b:11:ce:2d:28:bf:19:ed:58:96:fc:62:24:e2:da:31:b0:4f:3d
Mod:7b:64:7d:bd:ae:84:ce:1a:01:9d:3a:
7d:2a:20:ae: 64:44:16:27:16:51:f7:e0:f9:96:
35:7c:6a:ca:8a:15:26:be:99:73:00:2c:aa:62:
73:fb:97:6e:f7:54: 97:29:44:51
Foo: 0e:31:dc:b7:12:39:a0:25:8f:12:9f:
fc:9c:0a:14: ce:a6:d6:90:09:33:36:ed:4c:5c:
e5:7f:f7:09:ed: d8:85:44:77:6d:94:4e:4e:e5:
d6:bc:62:d5:63:ca:dd:87:b1:41
and i want to sent this to php var something like this:
$value= "00:c2:75:06:18:aa:6b:26:7c:1a:fa:d0:03:36:4c:
31:ca:3a:0f:3c:0a:e6:f3:54:20:d6:2a:77:1a:e5:
71:5b:11:ce:2d:28:bf:19:ed:58:96:fc:62:24:e2:
da:31:b0:4f:3d ";
$mod="7b:64:7d:bd:ae:84:ce:1a:01:9d:3a:
7d:2a:20:ae: 64:44:16:27:16:51:f7:e0:f9:96:
35:7c:6a:ca:8a:15:26:be:99:73:00:2c:aa:62:
73:fb:97:6e:f7:54: 97:29:44:51 ";
$Foo="0e:31:dc:b7:12:39:a0:25:8f:12:9f:
fc:9c:0a:14: ce:a6:d6:90:09:33:36:ed:4c:5c:
e5:7f:f7:09:ed: d8:85:44:77:6d:94:4e:4e:e5:
d6:bc:62:d5:63:ca:dd:87:b1:41";
i've tried to use explode but it doesn't work ... so if you could help me that would be great!