Results 1 to 8 of 8
Threaded View
-
31st Jul 2011, 01:14 PM #7MemberWebsite's:
wscripts.net damnlolscript.com lulzjet.comtry this
PHP Code:<?
if(isset($_POST['links'])) {
$links=$_POST['links'];
$lll=array();
$pattern = '/http[^ ["<\t\n\r\f]{1,}/';
preg_match_all($pattern, $links, $matches);
for($i = 0; $i < count($matches[0]); $i++)
{
$link = $matches[0][$i];
if(stristr($link,'wupload')) $lll['Wupload'][]=$link;
elseif(stristr($link,'filesonic')) $lll['Filesonic'][]=$link;
elseif(stristr($link,'fileserve')) $lll['Fileserve'][]=$link;
elseif(stristr($link,'rapidshare')) $lll['Rapidshare'][]=$link;
elseif(stristr($link,'megaupload')) $lll['Megaupload'][]=$link;
}
foreach($lll as $host=>$ll) {
$i=1;
echo $host.': ';
foreach($ll as $l) { echo '<a href="'.$l.'">Link #'.$i.'</a> '; $i++; }
echo '<br />';
}
}
else {
echo '<form method="post"><textarea name="links"></textarea><input type="submit" /></form>';
}
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
[Buying] Need someone to do simple PSD to HTML/CSS
By spreea in forum Completed TransactionsReplies: 4Last Post: 20th Dec 2010, 03:31 PM -
[Buying] Simple HTML/CSS Work.
By proXace? in forum Completed TransactionsReplies: 6Last Post: 6th Nov 2010, 02:32 PM -
simple html :(
By pi0tr3k in forum Technical Help Desk SupportReplies: 13Last Post: 31st Mar 2010, 12:59 PM -
[$1] - Very Simple HTML Blog/Downloads
By Chri5 in forum Completed TransactionsReplies: 0Last Post: 12th Aug 2009, 12:43 AM -
PHP/HTML : Simple Ad Poll Code
By Pyro in forum Tutorials and GuidesReplies: 4Last Post: 11th Aug 2009, 05:50 AM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...