Basis
|
Anwendung
|
Die Include-Datei wird in einem separaten Include-Ordner im Stammverzeichnis der Website erstellt.
<form class="google" method="get" action="http://www.google.ch/custom" target="_top"> <table border="0" bgcolor="<?php echo "$h_home";?>"> <tr><td nowrap="nowrap" valign="top" align="left" height="12"> </td> <td nowrap="nowrap"> <input type="hidden" name="domains" value="webbau.brandenberger.eu"> <input type="text" name="q" size="23" maxlength="255" value=""> <input class="google" type="submit" name="sa" value="Suchen"> </td></tr> <tr> <td> </td> <td nowrap="nowrap"> <table> <tr> <td> <input type="radio" name="sitesearch" value="" checked="checked"> <font size="-1" color="<?php echo "$s_home";?>">Web</font> </td> <td> <input type="radio" name="sitesearch" value="webbau.brandenberger.eu" checked> <font size="-1" color="<?php echo "$s_home";?>">Webseitenbau</font> </td> </tr> </table> <input type="hidden" name="client" value="pub-1152116379880327"> <input type="hidden" name="forid" value="1"> <input type="hidden" name="ie" value="ISO-8859-1"> <input type="hidden" name="oe" value="ISO-8859-1"> <input type="hidden" name="flav" value="0000"> <input type="hidden" name="sig" value="ttIGcrIP1nBtPqkg"> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"> <input type="hidden" name="hl" value="de"> </td></tr></table> </form>
Die Include-Datei wird mit dem PHP-Befehl include
in den Quelltext des HTML-Dokumentes eingelesen.
<?php include "$punkte/include/suchen/webbau.php"; ?>