
Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.
Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.
Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.
Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.
Mehr Informationen unter www.politiker-stopp.de.
| Menu verstecken/anzeigen |
|
Menü |
[JB] PHPHP - How does it work? / Special link features ![]() |
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Special FeaturesThe addr function uses another function internally which you can also use directly. It's called url(). There are a few properties you can specify. They are valid for the remainder of the page (but you can toggle them as often as you like). With url(), you get additional functionality when you link to
Web sites: <?=$p->url("http://www.mysite.co");?>
Local HTML files: <?=$p->url("html-file.html");?>
Local text files: <?=$p->url("text-file.txt");?>
Local image files: <?=$p->url("image.png");?> (or gif, or jpg)
Local documents: <?=$p->url("document.pdf");?> (or PS, or )
Local archive files: <?=$p->url("archive.zip");?> (or tgz, or tar.gz)
What do I get?There are several settings you can use to control how links get displayed.
If you set $p->url_notitle = false; (it's true by default) before using the above commands, then writing a link in the previously discussed fashion will have the following effects:
In all cases you can (optionally) also specify a custom title, then the 'real' title will be displayed as a popup window when you move your mouse over the link. For example <?=$p->url("http://www.linux.com", "Linux.com Home Page");?> will result in Linux.com Home Page. What else do I get?I encourage you to use the url() function exclusively for all links in your pages. It is a bit more work for the server, but it is extensible: if you later decide you want to (for example)
... you can do that by extending the url() function. You cannot do
that if you used the 'old' HTML way of displaying links.
Zuletzt geändert am: 23.06.2003 00:36
| ||||||||||||||||||||||||||||||||||||
![]() |
![]() |
||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|