GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is there a program to shuffle a text list? (for autogallery) (https://gfy.com/showthread.php?t=684085)

Ketchup 12-05-2006 10:10 PM

Is there a program to shuffle a text list? (for autogallery)
 
I putting together a text tgp and it is Autogallery sql. I want to import a bunch of galleries but when I grab the links from the sponsor and import them they will build just like how I imported them. Like if there are 40 give me pink galleries and then another site below....thats how they will build.

I'd like to shuffle all my galleries so they are in no order.

Autogallery has a "shuffle.cgi" script but you need shell access and my host dwhs won't allow shell access. :Oh crap


Is there any tool that can shuffle my links and then I can just copy and paste them to the import box?


thanks :)

spacedog 12-05-2006 10:11 PM

no shell access? well, that sucks..

I hear ya though.. I'd like a script like that too :)

Ketchup 12-05-2006 10:19 PM

I have the $100/month dedicated server and today I asked about running the arrow script and you need shell for that and they said no :Oh crap :1orglaugh

But if I buy the $300/month server they allow it I think :(

BigBen 12-06-2006 02:00 AM

Code:

<?php

$urls = file("urls.txt");
shuffle($urls);

foreach($urls as $url) {
        echo $url . "<br />";
}

?>


Ketchup 12-06-2006 10:16 AM

oh wow how do I use that :)


thanks :)

BigBen 12-06-2006 05:21 PM

Quote:

Originally Posted by Ketchup (Post 11471279)
oh wow how do I use that :)


thanks :)

Upload a file to your website called shuffle.php with that code in it. Place all the urls in a file called "urls.txt" - one on each line, and upload that file to the same directory. Go to shuffle.php in your browser and then you can copy the shuffled list.

Enjoy :thumbsup

Ketchup 12-06-2006 05:38 PM

It worked awesome thanks! :thumbsup :upsidedow

spacedog 12-06-2006 06:01 PM

:thumbsup :thumbsup :thumbsup thanks :)

Nasty 12-06-2006 06:09 PM

Quote:

Originally Posted by Ketchup (Post 11468128)

Is there any tool that can shuffle my links and then I can just copy and paste them to the import box?


thanks :)


Try http://www.wolosoft.com/en/superedi/

Cool editor that has that among many other features


All times are GMT -7. The time now is 08:23 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123