PSD-Tutorials.de
Forum für Design, Fotografie & Bildbearbeitung
Tutkit
Agentur
Hilfe
Kontakt
Start
Forum
Aktuelles
Besonderer Inhalt
Foren durchsuchen
Tutorials
News
Anmelden
Kostenlos registrieren
Aktuelles
Suche
Suche
Nur Titel durchsuchen
Von:
Menü
Anmelden
Kostenlos registrieren
App installieren
Installieren
JavaScript ist deaktiviert. Für eine bessere Darstellung aktiviere bitte JavaScript in deinem Browser, bevor du fortfährst.
Du verwendest einen veralteten Browser. Es ist möglich, dass diese oder andere Websites nicht korrekt angezeigt werden.
Du solltest ein Upgrade durchführen oder einen
alternativen Browser
verwenden.
Antworten auf deine Fragen:
Neues Thema erstellen
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
Verständnisproblem bei der include-Funktion
Beitrag
<blockquote data-quote="smallgrapher" data-source="post: 1410551" data-attributes="member: 92523"><p><strong>AW: Verständnisproblem bei der include-Funktion</strong></p><p></p><p>Schon verstanden.... Wie dumm von mir, da hab ich gar nicht drauf geachtet ^^ Oke. Fehlermeldung ist weg.</p><p> </p><p>In meinem eigentlichen Projekt wird der content aber dennoch nicht angezeigt. Auch eine Textdatei die ich lade, wird zwar bei mir lokal angezeigt, aber nicht online?! </p><p> </p><p>Vielleicht habe ich nur etwas übersehen, aber die Anleitungen im Netz und auch hier auf PSD-Tutorials.de lassen wichtige Details wie ich finde aus.</p><p> </p><p>Das ist der Link zur Site</p><p></p><p> </p><p>[html]<html></p><p><head></p><p><title>Rock´s Attorney</title></p><p><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></p><p><style type="text/css"></p><p></style></p><p><script type="text/javascript"></p><p>function MM_preloadImages() { //v3.0</p><p>var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();</p><p>var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)</p><p>if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}</p><p>}</p><p>//--></p><p></script></p><p><link href="layout1.css" rel="stylesheet" type="text/css"></p><p><style type="text/css"></p><p><!--</p><p>a:link {</p><p>color: #FFF;</p><p>text-decoration: none;</p><p>}</p><p>a:visited {</p><p>text-decoration: none;</p><p>color: #FFF;</p><p>}</p><p>a:hover {</p><p>text-decoration: underline;</p><p>}</p><p>a:active {</p><p>text-decoration: none;</p><p>}</p><p>--></p><p></style></head></p><p><body style="background-color:#333; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;"></p><p><!-- Save for Web Slices (design.psd) --></p><p><div id="Tabelle_01"></p><p><div id="layout"></p><p><div id="design-01"></p><p><img src="Bilder/design_01.gif" width="775" height="59" alt=""></p><p></div></p><p><div id="design-02"></p><p><img src="Bilder/design_02.gif" width="96" height="551" alt=""></p><p></div></p><p><div id="design-03"></p><p><img src="Bilder/design_03.gif" width="15" height="515" alt=""></p><p></div></p><p><div id="design-04"><img src="Bilder/design_04.gif" alt="" width="155" height="104" border="0" usemap="#Map" /></p><p><map name="Map"></p><p><area shape="rect" coords="3,14,152,99"></p><p></map></p><p></div></p><p><div id="design-05"></p><p><img src="Bilder/design_05.jpg" width="19" height="384" alt=""></p><p></div></p><p><div id="design-06"><a href="index.php?go=news"><img src="Bilder/design_06.jpg" name="Die Band" width="78" height="64" border="0"></a></div></p><p><div id="design-07"><a href="index.php?go=album"><img src="Bilder/design_07.gif" alt="" width="75" height="64" border="0"></a></p><p></div></p><p><div id="design-08"></p><p><img src="Bilder/design_08.gif" width="59" height="64" alt=""></p><p></div></p><p><div id="design-09"></p><p><img src="Bilder/design_09.gif" width="89" height="64" alt=""></p><p></div></p><p><div id="design-10"></p><p><img src="Bilder/design_10.jpg" width="78" height="64" alt=""></p><p></div></p><p><div id="design-11"></p><p><img src="Bilder/design_11.gif" width="110" height="551" alt=""></p><p></div></p><p><div id="design-12"></p><p><img src="Bilder/design_12.gif" width="380" height="1" alt=""></p><p></div></p><p><div id="design-13"></p><p><img src="Bilder/design_13.gif" width="1" height="319" alt=""></p><p></div></p><p><div id="design-14"></p><p><?php </p><p>if (isset($_GET['go'])) </p><p>{ </p><p>switch($_GET['go']) </p><p>{ </p><p>case 'news': include("content/content_news.html"); </p><p>break; </p><p>case 'album': include("content/content_album.html"); </p><p>break; </p><p>default: include("content/content_news.html"); </p><p>} </p><p>} </p><p>else </p><p>{ </p><p>include("content/content_news.html"); </p><p>} </p><p>?></p><p></div></p><p><div id="design-15"></p><p><p><font color="#360b03" face="Tahoma, Geneva, sans-serif" size="+2"><b> Latest </b></font></p></p><p><p><br></p><p><b>01.04.2010</b><br></p><p><?php include ("content/news.txt"); ?> </p></p><p></div></p><p><div id="design-16"><img src="Bilder/design_16.gif" alt="" width="175" height="131" /></div></p><p><div id="design-17"></p><p><img src="Bilder/design_17.gif" width="1" height="36" alt=""></p><p></div></p><p><div id="design-18"></p><p><img src="Bilder/design_18.gif" width="568" height="36" alt=""></p><p></div></p><p><div id="design-19"></p><p><p><br></p><p><span class="links_weiss"><a href="index.php?go=news">News</a> | Die Band<b>| Albums | Tour | Fan Zone | Photo Gallery | Kontakt</span><a href="contact.html"><font color="#ffffff"><br></p><p></font></a> Copyright &copy; Rock&acute;s Attorney</p></p><p></div></p><p></div></p><p></div></p><p></body></p><p></html></p><p>[/html]</p><p> </p><p>[php] <?php </p><p> if (isset($_GET['go'])) </p><p> { </p><p> switch($_GET['go']) </p><p> { </p><p> case 'news': include("content/content_news.html"); </p><p> break; </p><p> case 'album': include("content/content_album.html"); </p><p> break; </p><p> default: include("content/content_news.html"); </p><p> } </p><p> } </p><p> else </p><p> { </p><p> include("content/content_news.html"); </p><p> } </p><p>?></p><p> </p><p> </p><p> </p><p><?php include ("content/news.txt"); ?>[/php]</p></blockquote><p></p>
[QUOTE="smallgrapher, post: 1410551, member: 92523"] [b]AW: Verständnisproblem bei der include-Funktion[/b] Schon verstanden.... Wie dumm von mir, da hab ich gar nicht drauf geachtet ^^ Oke. Fehlermeldung ist weg. In meinem eigentlichen Projekt wird der content aber dennoch nicht angezeigt. Auch eine Textdatei die ich lade, wird zwar bei mir lokal angezeigt, aber nicht online?! Vielleicht habe ich nur etwas übersehen, aber die Anleitungen im Netz und auch hier auf PSD-Tutorials.de lassen wichtige Details wie ich finde aus. Das ist der Link zur Site [html]<html> <head> <title>Rock´s Attorney</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> </style> <script type="text/javascript"> function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script> <link href="layout1.css" rel="stylesheet" type="text/css"> <style type="text/css"> <!-- a:link { color: #FFF; text-decoration: none; } a:visited { text-decoration: none; color: #FFF; } a:hover { text-decoration: underline; } a:active { text-decoration: none; } --> </style></head> <body style="background-color:#333; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px;"> <!-- Save for Web Slices (design.psd) --> <div id="Tabelle_01"> <div id="layout"> <div id="design-01"> <img src="Bilder/design_01.gif" width="775" height="59" alt=""> </div> <div id="design-02"> <img src="Bilder/design_02.gif" width="96" height="551" alt=""> </div> <div id="design-03"> <img src="Bilder/design_03.gif" width="15" height="515" alt=""> </div> <div id="design-04"><img src="Bilder/design_04.gif" alt="" width="155" height="104" border="0" usemap="#Map" /> <map name="Map"> <area shape="rect" coords="3,14,152,99"> </map> </div> <div id="design-05"> <img src="Bilder/design_05.jpg" width="19" height="384" alt=""> </div> <div id="design-06"><a href="index.php?go=news"><img src="Bilder/design_06.jpg" name="Die Band" width="78" height="64" border="0"></a></div> <div id="design-07"><a href="index.php?go=album"><img src="Bilder/design_07.gif" alt="" width="75" height="64" border="0"></a> </div> <div id="design-08"> <img src="Bilder/design_08.gif" width="59" height="64" alt=""> </div> <div id="design-09"> <img src="Bilder/design_09.gif" width="89" height="64" alt=""> </div> <div id="design-10"> <img src="Bilder/design_10.jpg" width="78" height="64" alt=""> </div> <div id="design-11"> <img src="Bilder/design_11.gif" width="110" height="551" alt=""> </div> <div id="design-12"> <img src="Bilder/design_12.gif" width="380" height="1" alt=""> </div> <div id="design-13"> <img src="Bilder/design_13.gif" width="1" height="319" alt=""> </div> <div id="design-14"> <?php if (isset($_GET['go'])) { switch($_GET['go']) { case 'news': include("content/content_news.html"); break; case 'album': include("content/content_album.html"); break; default: include("content/content_news.html"); } } else { include("content/content_news.html"); } ?> </div> <div id="design-15"> <p><font color="#360b03" face="Tahoma, Geneva, sans-serif" size="+2"><b> Latest </b></font></p> <p><br> <b>01.04.2010</b><br> <?php include ("content/news.txt"); ?> </p> </div> <div id="design-16"><img src="Bilder/design_16.gif" alt="" width="175" height="131" /></div> <div id="design-17"> <img src="Bilder/design_17.gif" width="1" height="36" alt=""> </div> <div id="design-18"> <img src="Bilder/design_18.gif" width="568" height="36" alt=""> </div> <div id="design-19"> <p><br> <span class="links_weiss"><a href="index.php?go=news">News</a> | Die Band<b>| Albums | Tour | Fan Zone | Photo Gallery | Kontakt</span><a href="contact.html"><font color="#ffffff"><br> </font></a> Copyright © Rock´s Attorney</p> </div> </div> </div> </body> </html> [/html] [php] <?php if (isset($_GET['go'])) { switch($_GET['go']) { case 'news': include("content/content_news.html"); break; case 'album': include("content/content_album.html"); break; default: include("content/content_news.html"); } } else { include("content/content_news.html"); } ?> <?php include ("content/news.txt"); ?>[/php] [/QUOTE]
Bilder bitte
hier hochladen
und danach über das Bild-Icon (Direktlink vorher kopieren) platzieren.
Zitate einfügen…
Authentifizierung
Wenn ★ = 12, ◇ = 4 und die Hälfte von ★ zu ◇ addiert wird, was ist das Ergebnis?
Antworten
Start
Forum
Sonstiges
Webdesign, Webentwicklung & Programmierung
PHP, Javascript, jQuery, Ajax, nodeJS, MySQL...
Verständnisproblem bei der include-Funktion
Oben