Navbar verlinken ohne Webspace?

Hey, wie verlinke ich die Navbar Buttons wenn ich das Projekt auf dem PC baue?

<p1><a href=”??”>Home<a><p1>

ausserdem wie bekomme ich Fiveserver zum funktionieren?

Ausserdem, wie bekomme ich das wieder zum laufen, dateien liegen im selben Ordner wie die Index.php, ausserdem kann ich die index.php auch mit Fiveserver öffnen?

Ich hab alles vergessen, weil es Jahre her ist.

vielen lieben Dank!

Frohen Abend

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
5 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
regex9
1 month ago

Hey, how do I link the Navbar buttons when I build the project on the PC?

You can use relative paths.

Example for the following file structure:

root
- index.php
- imprint.php
- meta/
  - contact.php

index.php:

Imprint
Contact
< < href= ? ??? >Home>

There is no p1Element.

how do I get Fiveserver to work?

If you click the folder or file you want to open in the Explorer View with the right mouse button, you will find a corresponding entry in the context menu.

Read also here.

In addition, how do I get to run this again, files are in the same folder as the Index.php, (…)

Normally, the home page should also be the root of the website through which you can reach all other public pages (i.e. the pages are somehow linked to each other). Consequently, it should be sufficient to open the homepage first. If it contains errors, you have to fix them first.

(…) In addition, can I also open the index.php with Fiveserver?

Yeah, it’s enough for rendering. If you are planning more (e.g. testing a form evaluation), a correct web server would be attached. The XAMPP software package is suitable for local development, including a PHP preconfigured Apache web server.

PS: metadata-days are included in head– Area.

regex9
1 month ago
Reply to  Trismegisto

You will have to adjust the path to php.exe.

regex9
1 month ago

Consequently, a path indication is wrong.

The context of the configuration file should start from the folder in which it is located. If you rename this folder, the configuration should not change. If, on the other hand, you rename or omit index.php, the path details in the configuration file no longer fit.