php und #-Abschnitte in ".html"-Dateien nutzen

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Schubert

    php und #-Abschnitte in ".html"-Dateien nutzen

    Hallo Leute,

    ich betreibe die Seite www.rechercheportal.de und möchte auf den
    ..html-Seiten PHP benutzen. Folgendes habe ich ausprobiert:
    1. htaccess: habe nicht genügend Rechte, um einen neuen Typ für den
    Parser zu definieren
    2. iframe: bin ich unsicher, ob das alle Browser unterstützen
    (Mozilla, Netscape..)
    3. Umbenennen aller Dateien: irrsinniger Aufwand, habe ich schon
    hinter mir. Erst danach merke ich, dass .php-Dateien anscheinend nicht
    mit Abschnitten (index.html#abs chnitt3 oder so) angesteuert werden
    können. Stimmt das?

    Soweit der Stand. Vielleicht hat jemand für 2. oder 3. Ideen, wie man
    doch noch zu php-Seiten kommt, die brauchbar sind.

    Antworten per pm an david@recherche portal.de würden sehr helfen,
    Gruss aus Heidelberg
    David
  • Andy Hassall

    #2
    Re: php und #-Abschnitte in ".html&quo t;-Dateien nutzen

    On 16 Sep 2003 10:10:32 -0700, david@recherche portal.de (David Schubert) wrote:
    [color=blue]
    >Hallo Leute,[/color]

    My German's a bit too rusty to try and reply in German... since you've
    crossposted to an English group here's an English reply:[color=blue]
    >
    >ich betreibe die Seite www.rechercheportal.de und möchte auf den
    >.html-Seiten PHP benutzen. Folgendes habe ich ausprobiert:
    >1. htaccess: habe nicht genügend Rechte, um einen neuen Typ für den
    >Parser zu definieren[/color]

    Are you the administrator of the server? If so, you should be able to set
    AllowOverride in http.conf so that you can use per-directory AddType's in your
    ..htacess files. Otherwise, put the AddType it in http.conf, either site-wide or
    in a <Directory> section. If not - ask the admin!
    [color=blue]
    >2. iframe: bin ich unsicher, ob das alle Browser unterstützen
    >(Mozilla, Netscape..)[/color]

    Anything recent supports them, and they are part of standard HTML4, but I'm
    not sure how they help here. Also you'd get at least twice as many hits to the
    server.
    [color=blue]
    >3. Umbenennen aller Dateien: irrsinniger Aufwand, habe ich schon
    >hinter mir.[/color]

    If you're unable to get an AddType added in the Apache config, you might have
    to rename them.
    [color=blue]
    >Erst danach merke ich, dass .php-Dateien anscheinend nicht
    >mit Abschnitten (index.html#abs chnitt3 oder so) angesteuert werden
    >können. Stimmt das?[/color]

    No, that's not true; #anchors are processed client-side anyway, and they work
    fine with .php extension files (whose contents are HTML, anyway).

    --
    Andy Hassall (andy@andyh.co. uk) icq(5747695) (http://www.andyh.co.uk)
    Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)

    Comment

    Working...