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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-24-2007, 07:29 AM   #1
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
PROGRAMMERS.. I have a relatively small project for you..

So basically, I am using Verotel and want to offer hosted galleries...

So what I need is hosted galleries with a url similar to this one
http://mydomain.com/gal1/index.php?vercode=XXXXXX
Then when you replace the X's by your Verotel code and the surfer goes on the gallery, your ref code gets inserted at the end of the aff. URL which is in the gallery.. like this http://links.verotel.com/cgi-bin/sho...vercode=XXXXXX

Give me a quote, time frame or if you have any questions, hit me up on ICQ 111-246-133

p.s. Competent programmers only please..
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 07:39 AM   #2
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode']?>

That'll be $50.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 07:57 AM   #3
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
Quote:
Originally Posted by StuartD View Post
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode']?>

That'll be $50.
lol thanks.. but isnt there a script to install on the server or something..? I know nothing about .php.. but that cannot be that simple..?
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:27 AM   #4
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Give it a try.

Make a file called "index.php" and put it on your server.

Be sure to put a link in there like this:
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode']?>

Then load that index page in your browser like this:
index.php?vercode=mytestcode

And see what your link looks like.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:29 AM   #5
EddiePulp
Confirmed User
 
Join Date: Mar 2004
Location: Australia iCQ:408018496
Posts: 1,332
there isnt much to it.. you could make things neater by using modrewrite to make the url something like http://www.galeries.com/sexyhotteens/<refcode>/

you could also put in a shaving feature
Code:
<?php
srand(time());
$random = (rand()&#37;2);
if ($random != 1 || $random !=0)
{
$vercode ='00000';
}
?>
__________________
I dont need a sig.

Last edited by EddiePulp; 09-24-2007 at 08:30 AM.. Reason: changing variable name
EddiePulp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:34 AM   #6
beta-tester
Rock 'n Roll Baby!
 
Join Date: Sep 2004
Location: USA, temporarly
Posts: 22,562
what StuartD said ....
__________________

Sig for sale. Affordable prices. Contact me and get a great deal ;)

My contact:
ICQ: 944-320-46
e-mail: manca {AT} HotFreeSex4All.com
beta-tester is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:38 AM   #7
EddiePulp
Confirmed User
 
Join Date: Mar 2004
Location: Australia iCQ:408018496
Posts: 1,332
you may need a ; in the code?
Code:
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode'];?>
after the _GET['vericode'] and before the ?>
__________________
I dont need a sig.
EddiePulp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:39 AM   #8
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Quote:
Originally Posted by EddiePulp View Post
there isnt much to it.. you could make things neater by using modrewrite to make the url something like http://www.galeries.com/sexyhotteens/<refcode>/

you could also put in a shaving feature
Code:
<?php
srand(time());
$random = (rand()%2);
if ($random != 1 || $random !=0)
{
$vercode ='00000';
}
?>
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:41 AM   #9
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
Quote:
Originally Posted by EddiePulp View Post
you may need a ; in the code?
Code:
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode'];?>
after the _GET['vericode'] and before the ?>
i think if you just do one line of code inline with the <? ?> you dont need to put the ; at the end.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:43 AM   #10
EddiePulp
Confirmed User
 
Join Date: Mar 2004
Location: Australia iCQ:408018496
Posts: 1,332
Quote:
Originally Posted by k0nr4d View Post
i think if you just do one line of code inline with the <? ?> you dont need to put the ; at the end.
makes sense i spose.. give that ; pretty much means go to the next line.
__________________
I dont need a sig.
EddiePulp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:49 AM   #11
EddiePulp
Confirmed User
 
Join Date: Mar 2004
Location: Australia iCQ:408018496
Posts: 1,332
that'll be 25&#37; of all savings for the shaving code.
__________________
I dont need a sig.
EddiePulp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 08:55 AM   #12
Bro Media - BANNED FOR LIFE
MOBILE PORN: IMOBILEPORN
 
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
PHP Code:
<?php
if($_GET['vercode'] == true)
{
  
$vercode $_GET['vercode'];
}else{
  
$vercode "code to use if no vercode defined";
}
?>
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$vercode; ?>

even better ;)
Bro Media - BANNED FOR LIFE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 10:29 AM   #13
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
Quote:
Originally Posted by StuartD View Post
Give it a try.

Make a file called "index.php" and put it on your server.

Be sure to put a link in there like this:
http://links.verotel.com/cgi-bin/showsite.verotel?vercode=<?=$_GET['vercode']?>

Then load that index page in your browser like this:
index.php?vercode=mytestcode

And see what your link looks like.

Works great thanks man
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 10:31 AM   #14
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by xxxdesign-net View Post
Works great thanks man
My pleasure
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 10:45 AM   #15
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
Quote:
Originally Posted by StuartD View Post
My pleasure
btw.. is it a pretty solid solution.. that will pretty much work with all browsers? Sounds nearly too easy.. lol
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 10:48 AM   #16
StuartD
Sofa King Band
 
StuartD's Avatar
 
Join Date: Jul 2002
Location: Outside the box
Posts: 29,903
Quote:
Originally Posted by xxxdesign-net View Post
btw.. is it a pretty solid solution.. that will pretty much work with all browsers? Sounds nearly too easy.. lol
It's server side so no need to worry about browser compatibility.

It's just that easy.
StuartD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-24-2007, 10:49 AM   #17
xxxdesign-net
My hips don't lie
 
Industry Role:
Join Date: Nov 2002
Posts: 10,129
Quote:
Originally Posted by StuartD View Post
It's server side so no need to worry about browser compatibility.

It's just that easy.
cool thanks
xxxdesign-net is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.