Seite 2 von 2

Verfasst: 24.03.2003 20:20
von Acid
Du meinst es wird nur der obige Code, den ich gepostet habe, angezeigt ?
Sicher das die pfad.php mit <? anfängt und ?> aufhört ?

Verfasst: 24.03.2003 22:19
von Andreas
Meine Pfad.php sieht so aus:

Code: Alles auswählen

<? 
echo "Der absolute Pfad lautet: "; 
$path = ereg_replace ("\\\\","/",__FILE__); 
$path = dirname ($path); 
$path = trim($path); 
echo "<b>$path</b>"; 
?> 
Und wenn ich diese jetzt aufrufe, sehe ich einfach nur das Scipt !! Das ist alles......

Keine Ahnung wo das Problem liegt ! :(

Gruss

Andreas

Verfasst: 25.03.2003 11:42
von Acid
..unterstützt Dein Server .php oder nur .php3 ?

Verfasst: 25.03.2003 15:36
von Andreas
Ich habe etwas zu dem Thema gefunden:

How can I password-protect one of my directories?

To create a protected area within your website please do the following:

1. Create the directory with the name starting with the word "protected" (examples: protected1, protectedcontent etc)
2. Inside this directory should be a file named "_passwords". It should be uploaded in ASCII MODE and should contain
username:password
username:password
Don't forget to put ENTER at the end of each line. Also please note that passwords should be "AS IS", NON-ENCRIPTED. Also, please give it the permission 644 (rw-r-r).

After you do this, your password protection will work. Hotlinking is automatically blocked on our servers by a special software. Surfers should not be able to hotlink your images.


Allerdings habe ich mich jetzt dazu entschieden, einen bezahlten Webspace anzumieten. Welchen könnt Ihr mir da empfehlen ?? was kostet so etwas. Wichtig ist, dass der Server .htaccess anerkennt !!
Zur Info: Der Traffic wird sich etwa in der Grössenordnung wie bei diesem Board bewegen.

THX

Andreas