View previous topic :: View next topic |
Author |
Message |
SLy CaT -
Joined: 20 Mar 2003 Posts: 19
|
Posted: Thu Mar 27, 2003 3:01 am Post subject: error 200 (i checked all the other threads) |
|
|
i get an error 200, which i guess is success message... but is there any way to just execute the script, and not show that message? its a antileech script so.... i cant really add an "echo" variable or whatever.
http://j-ani.kicks-ass.net/test.php
script url = http://www.animerpgnetwork.com/?page=webmasters/scripts
Code: | <?php
// Anti-Leech PHP
// Created by: AnimeRPGNetwork
// http://www.animerpgnetwork.com
// Anti-Leech 1.0
$URL = "http://j-ani.kicks-ass.net/"; // Url to send leechers to
$FilePath = "http://gaming-legacy.net/janime/tutorial/"; // Path to downloads folder
$DownloadURL = "http://j-ani.kicks-ass.net/"; // Domain that has access to downloads
$Reffer = $HTTP_REFERER;
$Server = $HTTP_HOST;
if($Reffer AND $Server) {
header("Location: $DownloadURL/$FilePath/$file");
} else {
header("Location: $URL");
}
?> |
could anyone fix this? ^ |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Mar 27, 2003 11:27 pm Post subject: Re: error 200 (i checked all the other threads) |
|
|
Have you set register_globals to yes in php.ini ? It seems that the script uses the old PHP variables naming convention. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
SLy CaT -
Joined: 20 Mar 2003 Posts: 19
|
Posted: Thu Mar 27, 2003 11:56 pm Post subject: Re: error 200 (i checked all the other threads) |
|
|
aprelium wrote: | Have you set register_globals to yes in php.ini ? It seems that the script uses the old PHP variables naming convention. |
yes, register globals is on.
edit, i fixed it ;)
register_argc_argv = On <--- this was off (i think that was the problem... :roll: ) |
|
Back to top |
|
|
vbgunz -
Joined: 02 Feb 2003 Posts: 615 Location: Florida
|
Posted: Fri Mar 28, 2003 12:25 am Post subject: |
|
|
Hey, try this. Use no download manager and can you download? Use a download manager and do you get the error? Its probably working the way it was intended... _________________ Victor B. Gonzalez
http://aeonserv.com |
|
Back to top |
|
|
SLy CaT -
Joined: 20 Mar 2003 Posts: 19
|
Posted: Fri Mar 28, 2003 6:38 am Post subject: |
|
|
the download script is working now, but i still get error 200 pages every so often.. kinda annoying sometimes :cry: but i think i can live with it. |
|
Back to top |
|
|
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Tue Apr 01, 2003 8:50 am Post subject: i don't think this script works right |
|
|
I downloaded the same script you have and i like it but there is only one problem
i can download my files through the script but wen i put the link on a different site the download still comes up were theirs supposed to be a block for the download
ANY HELP FOR ME WOULD BE GREAT ! :D
I LOVE PHP SCRIPTS "KIND OF" :roll: _________________ This web server is the best ! |
|
Back to top |
|
|
SLy CaT -
Joined: 20 Mar 2003 Posts: 19
|
Posted: Tue Apr 01, 2003 11:54 pm Post subject: |
|
|
yeah, i had to take one lil part off to do what u want to do.
find and delete this
$DownloadURL/
that should make it work... i think. make a backup just incase. |
|
Back to top |
|
|
SLy CaT -
Joined: 20 Mar 2003 Posts: 19
|
Posted: Tue Apr 01, 2003 11:56 pm Post subject: |
|
|
hey, umm... i just found out, i still get the 200 error, when it tries to send the person to the link if its a bad referrer.... any help on that? or any way to disable the error 200 completely? |
|
Back to top |
|
|
|