Cheat Codes - Travel news - Debt Consolidation - Deaf Topics - Wordpress Themes

PDA

View Full Version : regular expressions need help


cornetofreak
May 9th 2008, 5:47 am
my script searches google for links from these sites but its not getting the name from badango it works on rs

get_urls_by_kwd("\"rapidshare.com/files\" ".$row[1],"/rapidshare\.com\/files\/(\d+)\/([^\'^\"^\s^>^<^\\^\/]+)/",1);
get_urls_by_kwd("\"badongo.com/file\" ".$row[1],"/badongo\.com\/file\/(\d+)/",2);
get_urls_by_kwd("\"mediafire.com/?\" ".$row[1],"/mediafire\.com\/\?(\w+)/",3);
get_urls_by_kwd("\"sendspace.com/file\" ".$row[1],"/sendspace\.com\/file\/(\w+)/",4);
get_urls_by_kwd("\"4shared.com/file\" ".$row[1],"/4shared\.com\/file\/(\d+)\/(\w+)\/([^\'^\"^\s^>^<^\\^\/]+)/",5);

TeraTask
May 9th 2008, 5:47 pm
Well, you didn't give the function details, so that makes it hard to help, but it looks like it could just be spelling: In your post you say "badango", but in the code it says "badongo"

cornetofreak
May 9th 2008, 6:08 pm
ive done it now and i missed spelt it within my text not the code thankyou anyways and i love this forum man its the best cred goes out to everyone