Posted By

Unreal on 02/28/09


Tagged

get data String scrape inside


Versions (?)

Get The Inside String


 / Published in: PHP
 

URL: http://www.imben.co.uk

Using this you can get the inside string from another given string. Great for scraping data from other sites.

  1. function get_inner_string($a,$b,$c)
  2. {
  3. $y = explode($b,$a);
  4. $x = explode($c,$y[1]);
  5. return $x[0];
  6. }

Report this snippet  

You need to login to post a comment.