View Single Post
Old 10-15-2007, 08:40 PM  
beanamid
Confirmed User
 
Join Date: Jan 2007
Location: NY
Posts: 382
Quote:
Originally Posted by Jaysin View Post
make a form, and put a textarea into it, and name it "batchurl" then make encode.php and put this in it

PHP Code:
<?php
if($_POST['batchurl'] == true)
{
   
$newline explode("\n"$_POST['batchurl']);
   foreach(
$newline as $url)
   {
      echo 
urlencode($url) . "<br />\n";
   }
}
?>
make sure to make the form a POST not a GET and then just use the form to execute encode.php
Thanks a million I owe you one!
__________________
Trade Links |Traffic With an Ok site with Good SE traffic
ICQ: 457 534 187
beanamid is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote