View Single Post
Old 06-22-2008, 03:23 PM   · #9
Bruce_KD
NamePros Member
 
Trader Rating: (1)
Join Date: Sep 2006
Posts: 78
NP$: 100.00 (Donate)
Bruce_KD will become famous soon enoughBruce_KD will become famous soon enough
I got this working as follows:
Code:
RewriteEngine on RewriteRule plurk/(.*) plurk.php?user=$1


I also tested Mikor's regex, and it does match across multiple lines.
If you want to throw a number of characters limit in, you can use this:
Code:
$data = file_get_contents('http://www.plurk.com/user/Toddish'); preg_match("/\<p id\=\"about_me\"\>(.*?)<\/p\>/s",$data,$match); print_r($match);



Bruce


Please register or log-in into NamePros to hide ads
Bruce_KD is offline   Reply With Quote
Site Sponsors
Proof is in the Parking EscrowDNS Website Header Design
Advertise your business at NamePros
All times are GMT -7. The time now is 04:27 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.