i''m trying to code a simple php script to parse out custom lines from an log file
and echo that line
here''s an example of a line from the log file
192.168.182.1 - - [13/Jul/2014:06:22:17 -0700] "GET /dice.jpg?Session=77766572776765726765727367 HTTP/1.1" 200 188609 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0"
what i need to parse is the 77766572776765726765727367
( after the = )
and echo that value
this value is an hex value and it can be converted to bin
using this php function hex2bin($var);
so after parse out that hex value , the script should echo it after convert it from hex to normal text
the log file has a lot of lines like that but different values
also don''t get the duplicated values, just get one copy
the newer value should printed on the top
the script should print on the screen 30 value
and if i scroll down using the scroll-bar it should load automatically more 15 value ( like facebook ) i think it''s an jquery
also i need an style to make the printed results looks good ( interface )
how this will cost me ?