![]() |
Batch URL Encoder?
I need to encode a Ton of URLS for my trade script what's a good batch encoder???
Thanks in advance |
write a quick perl script. probs would take a couple lines.
|
make a form, and put a textarea into it, and name it "batchurl" then make encode.php and put this in it
PHP Code:
|
Quote:
|
Quote:
|
I think I missed somthing..
I make the form, and it looks like this: <body> <form action="/encode.php" method="post" enctype="application/x-www-form-urlencoded" name="batchurl"><textarea name="urls to encode" cols="50" rows="20" wrap="off"></textarea><input name="submit" type="submit" /></form> </body> I think I am missing somthing..... |
never mind I had the name wrong thanks
|
Quote:
|
last time I will bug you
could I add the lines: /out.php?p=85&url= to the php side and even better would be to add the lines <a href="/out.php?p=85&url=URLHERE" target="_blank"></a> |
jaysin thanks for the help and I did signup for profitx under your code (not that I am making much yet)
|
Quote:
Quote:
|
It would be great if I got this as the end result: (either in the source code or text)
<a href="/out.php?p=85&url=URLHERE" target="_blank"></a> Thanks again |
Change your echo statement.
Code:
echo '<a href="/out.php?p=85&url=' . urlencode($url) . '" target="_blank"></a><br />' . "\n"; |
Quote:
|
Quote:
|
All times are GMT -7. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc