|
2003-12-02, 12:36 PM | #1 |
Trying is the first step towards failure
Join Date: Sep 2003
Location: Norway
Posts: 128
|
link randomizing
fuck, I've been looking everywhere for a simple link randomizer for my fake tgp, either they dont work or they plain old suck...all I need is something ultra small and simple that will shovel my links around a bit..no description no nothing...just switch the order a bit now and then...should be easy to find but noooo
so what do you guys use for your fake tgps ? |
2003-12-12, 10:09 AM | #2 |
Programming till my fingers bleed.
Join Date: Aug 2003
Location: Michigan
Posts: 876
|
Could easily be done with some php code, especially if its text links etc.
Let me provide something simple although this isnt tested but should work PHP Code:
http://www.url1.com|This chick is smoking hot http://www.url2.com|This chick is also hot Like I said I havnt tested the code, but I think that will work, it will just pull a random line from the text file, split the url & description on the | and spit it out. Hope that helps. Andy |
2003-12-12, 10:15 AM | #3 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
This is what I use
http://www.atoscripts.com/products.php?productId=1 Best money that I have ever spent. I've got thousands of galleries in there and growing each week. |
2003-12-26, 11:59 PM | #4 |
Selling porn allows me to stay in a constant state of Bliss - ain't that a trip!
Join Date: Apr 2003
Posts: 3,914
|
Cleo, I've been going thru atoscripts website descriptions of this script, I was thinking it might be good to ask a user this question.
Can you install the script on a server and use it to serve links on multiple domains? so as to have a rotating updateing gallery list on dozens of domains? |
2003-12-27, 12:19 AM | #5 |
Life is good
|
You can get a free one no problem. I use one now for a few moch TGPs. Got it from Porno Payouts I believe if you use them as a sponsor.
And Bill, I don't think you can do that but I'm guessing of course. LOL |
2003-12-27, 12:26 AM | #6 |
Life is good
|
Here, this will work.
Save this as galleries.php <?php $fileName = "./galleries.txt"; mt_srand( (double) microtime() * 1000000 ); $a = file($fileName); $randNum = mt_rand( 0, sizeof($a)-1 ); header( "Location: ". $a[$randNum] ); ?> Then create a txt file loaded with galleries one line at a time. And use yourdomain.com/galleries.php as the link and it will pull a gallery from that text file. It pulls a random gallery so if you have 200 in there chances are the surfer will not see the same gallery for some time. I use it here: http://www.free-porno-mpegs.com/ Last edited by Ramster; 2003-12-27 at 12:29 AM.. |
2003-12-27, 01:42 AM | #7 |
Selling porn allows me to stay in a constant state of Bliss - ain't that a trip!
Join Date: Apr 2003
Posts: 3,914
|
Ram, the effect on that site is a good one, and I'll remember that, but I'm intrigued by the code that acidmax put up, because what I'd ideally like to do is have a script that printed a random gallery link with a few words in the text link, like "15 blowjob pics", "15 hardcore latina pics". "15 amateur sex pics" .
I tried the acidmax code, but it's not behaving as I expected. Course, I know hardly anything about php. I'm looking thru a PHP tutorial now, things may become clearer to me. |
2003-12-27, 05:08 PM | #8 |
Selling porn allows me to stay in a constant state of Bliss - ain't that a trip!
Join Date: Apr 2003
Posts: 3,914
|
So, are there any PHP or SSI or script people who can point me in the right direction to accomplish the following:
I want to be able to dynamically write to an html page a list of links in the form of a random hard link with description text in the link. I'd like to be able to draw the links from a text file. |
2003-12-29, 03:11 AM | #9 |
Selling porn allows me to stay in a constant state of Bliss - ain't that a trip!
Join Date: Apr 2003
Posts: 3,914
|
Okay, so it looks like what I want to do is use SSI to write the results of a simple php script into an html page. Could use javascript, but SSI seems more reliable to me. I haven't tried this yet, still mostly studying so far.
Acidmax, can you confirm that the few lines of code you wrote will work? I'm getting errors trying to get it to write to a .php test page. Cleo, if you read this, I'm still interested in learning more about the capabilities of the ATO gallery admin. Any PHP or SSI people who have any ideas on how to make a gallery rotation/randomization system that writes descriptions to a page, I'd like to hear about it. |
2004-01-16, 03:45 AM | #10 |
You can now put whatever you want in this space :)
|
the ATO script rules
__________________
Circle Of Violence |
2004-01-16, 04:57 AM | #11 |
Selling porn allows me to stay in a constant state of Bliss - ain't that a trip!
Join Date: Apr 2003
Posts: 3,914
|
It took the ATO guys a bit to get back to me, holidays and all I gather, and what they said was that the script can write to any domain on the same server as itself. So it's not quite as universally flexible as I had hoped for, but I think I'll get it anyway and use it to provide content for a bunch of domains I have on one natnet server. It doesn't cost that much, and the cost includes the install, which will save me some time.
I'm still studying the PHP question, in my spare hours. It's a shame there's not more coder types here to answer questions. |
2004-01-16, 05:57 AM | #12 |
All the way from Room 101
|
PHP Code:
In a format like this PHP Code:
0.php 1.php >> 365.php It ain't the best way of doing it, but it works.
__________________
Last edited by urb; 2004-01-16 at 06:05 AM.. |
|
|