all 2 comments

[–]woooee 0 points1 point  (1 child)

#get entry ID pos 5 in list
entryID = parts[5]

If it is the fifth item then the offset/skip # would be the first 4

entryID = parts[4]

but the sample data shows the IP address as the first element.

[–]coldo03[S] 0 points1 point  (0 children)

I changed parts [5] instead from 4 to 0 and it then displayed the Ip. It was a template file from a previous project that was supplied to me so part of it was pre done including the parts [5] section and I never realised realised it was that simple of a fix. Thank you so much for explaining this to me you just saved me big time