Seite 1 von 1

Load.php?

Verfasst: So 31.Okt, 2004 19:35
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

Verfasst: Mi 04.Mai, 2005 03:46
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.

Verfasst: Do 05.Mai, 2005 16:31
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!

Verfasst: Mi 18.Mai, 2005 19:36
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);