473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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#abschnitt3 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 da***@rechercheportal.de würden sehr helfen,
Gruss aus Heidelberg
David
Jul 16 '05 #1
1 1747
On 16 Sep 2003 10:10:32 -0700, da***@rechercheportal.de (David Schubert) wrote:
Hallo Leute,
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:
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
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!
2. iframe: bin ich unsicher, ob das alle Browser unterstützen
(Mozilla, Netscape..)
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.
3. Umbenennen aller Dateien: irrsinniger Aufwand, habe ich schon
hinter mir.
If you're unable to get an AddType added in the Apache config, you might have
to rename them.
Erst danach merke ich, dass .php-Dateien anscheinend nicht
mit Abschnitten (index.html#abschnitt3 oder so) angesteuert werden
können. Stimmt das?


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 (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Jul 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

43
by: steve | last post by:
I am quite frustrated with php’s include, as I have spent a ton of time on it already... anyone can tell me why it was designed like this (or something I don’t get)? The path in include is...
1
by: David Furey | last post by:
Hi I have an XML documnet and a XSLT document as shown below THe XSLT document brings back a filtered docmument that has the VendorName that starts with a particular sub-string This works as...
2
by: Eric Osman | last post by:
Hi, I'm looking for a javascript function that will convert input such as this: <CLUB Code=" into this: &lt;CLUB Code=&quot;
3
by: NecroJoe | last post by:
I am using PHP to generate a little javascript for one of my pages. In short it allows a user to select a value from a list and pop it into a form field on a seperate page. This works well unless...
5
by: Mateusz Loskot | last post by:
Hi, I'd like to ask how XML parsers should handle attributes which consists of &quot; entity as value. I know XML allows to use both: single and double quotes as attribute value terminator. That's...
3
by: Arpi Jakab | last post by:
I have a main project that depends on projects A and B. The main project's additional include directories list is: ...\ProjectA\Dist\Include ...\ProjectB\Dist\Include Each of the include...
5
by: martin | last post by:
Hi, I would be extremly grateful for some help on producing an xml fragemt. The fragment that I wish to produce should look like this <Addresses> <Address>&qout;Somebody's Name&quot;...
1
by: manchin2 | last post by:
Hi, Can anybody please provide the information about "&quot" and its use, if possible please provide an example. ...
4
by: fran7 | last post by:
Hi, from help in the javascript forum I found the error in some code but need help. This bit of code works perfectly, trouble is I am writing it to a javascript function so the height needs to be in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.