|
|
|
||||
|
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 |
|
Too lazy to set a custom title
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
|
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
__________________
Questions? ICQ: 125184542 |
|
|
|
|
|
#2 |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
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.
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
#3 |
|
Too lazy to set a custom title
Join Date: Aug 2001
Location: The Netherlands
Posts: 13,723
|
Serious answers are welcome
Andre
__________________
Questions? ICQ: 125184542 |
|
|
|
|
|
#4 |
|
So Fucking Banned
Join Date: Jan 2001
Posts: 91
|
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.
|
|
|
|
|
|
#5 | |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
Quote:
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
|
#6 | |
|
So Fucking Banned
Join Date: Jan 2001
Posts: 91
|
Quote:
HAHAHA, Well I am offering to write it for 29,000 USD and I offer multiple ways to pay: CC, Paypal, Check, Wire |
|
|
|
|
|
|
#7 | |
|
Confirmed User
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
|
Quote:
__________________
php/mysql guru. hosting, coding, all that jazz. |
|
|
|
|
|
|
#8 |
|
So Fucking Banned
Join Date: Jan 2001
Posts: 91
|
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
|
|
|
|
|
|
#9 |
|
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
do a search, there's already some free php code on the forum from awhile back that does what you asked.
__________________
|
|
|
|
|
|
#10 |
|
Confirmed User
Join Date: Oct 2001
Location: Scottsdale :)
Posts: 2,188
|
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 |
|
|
|