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)
-   -   Galleriescript with cookies, is that possible? (https://gfy.com/showthread.php?t=66857)

justsexxx 07-05-2002 01:25 AM

Galleriescript with cookies, is that possible?
 
Hi,

Question(sorry but can't find it)

Is this possible. WHat I want is
I add like 100 galleires in a txtfile. And a simpel php script gets one out to display. I have that already.

But what I want now is that is picks the first url in the txtfile, after that a surfer gets the second then nr3 etc.

Is this possible by cookies? If so what do I need to add in the php script. I have now this that randomly takes one.

[code ]] doesn't seems to work here it is

< ?
$f = file('amateur.txt');
srand((double)microtime()*1000000);
$num = rand(0,count($f)-1);
$url = $f[$num];
header("Location: $url");
? >


Thnx
Andre

mike503 07-05-2002 02:04 AM

i'm gonna go out on a limb and try to undercut gary.

i'll help you out, but for $30,000 USD paypal'ed in advance. this is a good deal, i normally won't name such a cheap price on the board.

justsexxx 07-05-2002 02:21 AM

Serious answers are welcome :)

Andre

gofuckyourself 07-05-2002 02:29 AM

Sure thats possible, you just have to write it. I don't program in PHP but know it can be easily done with PERL or C++ as I program in those languages, and I am sure it can be easily done with PHP too. You just have to store a cookie on their hardrive for the urls they have visited and then your script would just send them to ones they haven't been to yet. I think thats what you are trying to do. Should be a pretty easy script to write.

mike503 07-05-2002 02:30 AM

Quote:

Originally posted by gofuckyourself
Sure thats possible, you just have to write it. I don't program in PHP but know it can be easily done with PERL or C++ as I program in those languages, and I am sure it can be easily done with PHP too. You just have to store a cookie on their hardrive for the urls they have visited and then your script would just send them to ones they haven't been to yet. I think thats what you are trying to do. Should be a pretty easy script to write.
you better not try to undercut my bid, i will track you down!

gofuckyourself 07-05-2002 02:34 AM

Quote:

Originally posted by mike503


you better not try to undercut my bid, i will track you down!


HAHAHA, Well I am offering to write it for 29,000 USD and I offer multiple ways to pay: CC, Paypal, Check, Wire :winkwink:

mike503 07-05-2002 02:36 AM

Quote:

Originally posted by gofuckyourself



HAHAHA, Well I am offering to write it for 29,000 USD and I offer multiple ways to pay: CC, Paypal, Check, Wire :winkwink:

what are you, russian? that's fucking nuts! with prices like that i couldn't afford food for a week!

gofuckyourself 07-05-2002 02:37 AM

Hahah, nope American man, but you must be living where the cost of living is way higher. I could easily last a couple days with that :)

Brujah 07-05-2002 07:49 AM

do a search, there's already some free php code on the forum from awhile back that does what you asked.

heymatty 07-05-2002 08:02 AM

http://www.chickenhost.com/scripts/turbo.htm that is the C version, and would need to be compiled.

I actually use his older php version, if you mail him he should still sell it to you. Its cheap.

matty


All times are GMT -7. The time now is 01:24 AM.

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