error 200 (i checked all the other threads)

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
SLy CaT
-


Joined: 20 Mar 2003
Posts: 19

PostPosted: Thu Mar 27, 2003 3:01 am    Post subject: error 200 (i checked all the other threads) Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Mar 27, 2003 11:27 pm    Post subject: Re: error 200 (i checked all the other threads) Reply with quote

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 View user's profile Send private message Send e-mail
SLy CaT
-


Joined: 20 Mar 2003
Posts: 19

PostPosted: Thu Mar 27, 2003 11:56 pm    Post subject: Re: error 200 (i checked all the other threads) Reply with quote

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 View user's profile Send private message
vbgunz
-


Joined: 02 Feb 2003
Posts: 615
Location: Florida

PostPosted: Fri Mar 28, 2003 12:25 am    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
SLy CaT
-


Joined: 20 Mar 2003
Posts: 19

PostPosted: Fri Mar 28, 2003 6:38 am    Post subject: Reply with quote

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 View user's profile Send private message
os17fan
-


Joined: 21 Mar 2003
Posts: 531
Location: USA

PostPosted: Tue Apr 01, 2003 8:50 am    Post subject: i don't think this script works right Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
SLy CaT
-


Joined: 20 Mar 2003
Posts: 19

PostPosted: Tue Apr 01, 2003 11:54 pm    Post subject: Reply with quote

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 View user's profile Send private message
SLy CaT
-


Joined: 20 Mar 2003
Posts: 19

PostPosted: Tue Apr 01, 2003 11:56 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group