Load.php?

Enthält archivierte Beiträge von Hotschi's Board zum Download MOD.
Posten ist hier nicht möglich, bitte das Supportforum dafür verwenden!
Gesperrt
Anonymous

Load.php?

Beitrag von Anonymous »

Whenever i click on a file to download instead of downloading the file it tries to download load.php. Can anyone help me with this please?

http://www.stomegaone.tk
http://www.omegaone.orderofthebatleth.com
Anonymous

Beitrag von Anonymous »

Na eine tolles support wen man ihn seit einem Jahr nicht helfen kann,kann man mir auch nicht helfen.

ich habe das selbe Problem.hatte ich gestern auch geschrieben wie ich sehe kümmert sich keiner hier.
Demolition_FABI

Beitrag von Demolition_FABI »

Sag das nicht, Hotschi hat mich hier zum neuen Admin gemacht, weil er keine Zeit mehr hat, sich hier um etwas zu kümmern, aber es gibt auch andere Leute, die sich hier normalerweiße kümmern.

Wenn er die load.php statt der Datei runterlädt, ist ihm irgendwas nicht klar, aber wenn du keinen Link postest, kann ich dir natürlich auch nicht helfen!
Demolition_FABI

Beitrag von Demolition_FABI »

I've fixed it.

Find in your load.php:

Code: Alles auswählen

	header("Content-Type: application/octet-stream");
	header("Content-Disposition: attachment; filename=\"$file_name\"");
	readfile($download_dir . "" . $file_path . "/" . $file_name);
and replace it with:

Code: Alles auswählen

	$file = $file_name;
	$file2 = stristr ($file, "/");
	while ( $file2 != NULL )
	{$file = substr ($file2, 1);
	$file2 = stristr ($file, "/");}
	header("Content-Type: application/octet-stream");
	header("Content-Disposition: attachment; filename=\"$file\"");
	readfile($download_dir . "" . $file_path . "/" . $file_name);
Gesperrt