#93284
06/06/2004 5:41 PM
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
My website relied heavily on Cyber-Junkie's redirect script. He has decided to disgrace it with a "donate page" that scares people and doesn't answer when I ask to buy the script. I need someone to write an alternative that will allow someone to click on a link in an option box and be redirected to the file itself. Please write me at [email protected] or [email protected] to discuss details and rate. I can pay via PayPal after completion of work.
|
|
|
#93285
06/06/2004 6:13 PM
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
We'd need more details... how would you like this? ubb integrated, seperate page, etc? you can't just say "it needs to redirect a user to a file" we need to know everything you want it to be and everything you want it to do...
|
|
|
#93286
06/06/2004 7:33 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
thanks to google I was able to find the info.
all this seems to be is
http://www.domain.net/redirect.cgi?url=http://www.alforadmin.com
that would redirect to my site.
This is actually quite easy.
Debbie, did he also count the amount of times the redirect went to a certain page, or was it just the redirection?
If it's just the redirection, that's easy to do, and the logging wouldn't be that hard either
|
|
|
#93287
06/11/2004 6:17 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
http://www.alforadmin.com/redirect_script.php I'm releasing the script I wrote for free. You can view the info at the above link.
|
|
|
#93288
06/27/2004 10:52 AM
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
Ian, I tried to plug in your script - example section Report Links - Jamaica - Montego Bay Area Resorts in http://www.tropictravelonline.com/sandalsbeachesreports.html - the Ocho Rios section below is the old Cyber Junkie one. I don't care about counting redirects. I only want to have the menu option actually go to the web page of the trip report. I altered the redirect.cgi and put a path in, but it doesn't work. I'm playing with it right now.
|
|
|
#93289
06/27/2004 11:49 AM
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
This particular page is not integrated w/ ubb. That would be nice in the future, but at the moment, it doesn't do that.
|
|
|
#93290
06/27/2004 12:15 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
#!/usr/bin/perl # Ian's redirect script
use strict; use CGI qw( :standard ); use Fcntl;
use vars qw(%in); use constant SEVENSEVENSEVEN => 0777; use constant SIXSIXSIX => 0666;
%in = map{ my @z = param($_); ( scalar(@z) > 1 ? ( $_ => join(",", @z) ) : ( $_ => $z[0] ) ) } param();
print redirect($in{url});
exit(0); is all your should need for that.
|
|
|
#93291
06/27/2004 3:06 PM
|
Joined: Sep 2002
Posts: 33
Member
|
Member
Joined: Sep 2002
Posts: 33 |
I got what I had to work. I didn't have the cgi file chmod at 755. I will save this one, too! Thanks!
|
|
|
#93292
08/25/2004 4:03 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I've also released a PHP version which can be found at the same link.
|
|
|
#93293
08/25/2004 10:16 PM
|
Joined: Feb 2003
Posts: 179
Member
|
Member
Joined: Feb 2003
Posts: 179 |
sweeet- this would solve a problem nicely for me as well. is there any advantage to using the php version over the perl version?
|
|
|
#93294
08/25/2004 10:42 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
If used a lot, the php version could be less server intensive. The file is also a little smaller, and could be nice for anyone with cgi. Of course this means you need PHP installed.
Both versions now include the ability to not log, just forward.
|
|
|
#93295
08/26/2004 3:51 AM
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
How about a PHP/MySQL vesion .. flat files == dying :-x
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|