![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
|
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. ![]() Is there any tool that can shuffle my links and then I can just copy and paste them to the import box? thanks ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
no shell access? well, that sucks..
I hear ya though.. I'd like a script like that too ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
|
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
![]() ![]() But if I buy the $300/month server they allow it I think ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
Code:
<?php
$urls = file("urls.txt");
shuffle($urls);
foreach($urls as $url) {
echo $url . "<br />";
}
?>
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
|
oh wow how do I use that
![]() thanks ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Nov 2004
Location: scv
Posts: 2,299
|
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jul 2006
Location: Toronto Canada
Posts: 563
|
It worked awesome thanks!
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
![]() ![]() ![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Industry Role:
Join Date: Aug 2002
Location: Sunny Fucking California
Posts: 1,575
|
Quote:
Try http://www.wolosoft.com/en/superedi/ Cool editor that has that among many other features
__________________
“Ours is a world of nuclear giants and ethical infants. We know more about war than we know about peace, more about killing than we know about living. If we continue to develop our technology without wisdom or prudence, our servant may prove to be our executioner.” ― Omar Bradley (1948) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |