index.html omzetten naar index.php
Edit:
overtollige teksten
Gewijzigd op 16/08/2004 00:04:00 door Steven
Sla je index.html gewoon op als index.php :)
ja dat weet ik maar het is niet de bedoeling dat het zo is, het moet met functions gebeuren. en zo alles echo-en
En je hoeft dit niet te echo'en het werkt zo wel :)
is me ondertussen zelf al gelukt mannen toch bedankt! heb gewoon elk deeltje moeten opslaan in php en daarna een pagina index.php gemaakt met includes. nu werkt het al.
is langzamer en veroorzaakt onnodig serverload
als je include('bestand.html'); doet dan komt het er ook netjes te staan
en als je include('bestand.php'); doet hetzelfde maar dan word alles tussen geparsed
Verander de extensie en het is gedaan...
wat heeft het voor zin om een HTML page in allemaal echos te zetten -> das onzin
Vreemde vragen soms :P
Nou idd :)
en idd, het is echt BULLSHIT
dit kan je in een flits laten omzetten door een simpele regexp ;)
Alles moet in PHP kan iemand mij daar bij helpen, kheb geen id wat ik moet doen..
<html>
<head>
<cleaned_tag http-equiv="content-type" content="text/html;charset=iso-8859-1">
<cleaned_tag name="generator" content="Adobe GoLive 5">
<title>Klachtenformulier</title>
<style><!--a{text-decoration: none} body{color: #black; font-family: Verdana} .verplicht {background:pink}//-->
</style>
<style fprolloverstyle>A:hover {color:#FFFFCC}></style>
</head>
<body bgcolor="#FFFFCC"><font face='arial, helvetice' size="1">
<form name="formuliernaam" action="verwerkform.php" method="post" enctype="multipart/form-data">
<div align="center">
<table border="0" cellpadding="0" cellspacing="4" width="500">
<tr>
<td colspan="2">
<p><font color="#0000FF" size="2"><b>KLACHTENFORMULIER</b></font></p>
</td>
</tr>
<tr>
<td colspan="2"><font size="2">Dit formulier is bedoeld voor het versturen van een klacht over een Computerstoring of een hardware probleem.<br><br>Let op: Alle gekleurde velden moeten worden ingevuld.</font></td>
</tr>
<tr height="25">
<td width="250" height="25"></td>
<td width="250" height="25"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Uw gegevens</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"><font size="2">Naam v/d School:</font></td>
<td width="250"><input class=verplicht type="text" name="naam" size="24" maxlength="30"></td>
</tr>
<tr>
<td width="250"><font size="2">Telefoonnr:</font></td>
<td width="250"><input type="text" name="telefoon" size="11" maxlength="20"></td>
</tr>
<tr>
<td width="250"><font size="2">E-mail adres:</font></td>
<td width="250"><input class=verplicht type="text" name="email" size="24" maxlength="30"></td>
</tr>
<tr height="30">
<td width="250" height="30"></td>
<td width="250" height="30"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Klacht</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"><font size="2">Datum:</font></td>
<td width="250"><input type="text" name="observatie_dag" size="2" maxlength="2">  <font size="2"><input type="text" name="observatie_maand" size="2" maxlength="2">  <font size="2"><input type="text" name="observatie_jaar" size="4" maxlength="4">  <font size="2">dd/mm/jjjj</font></td>
</tr>
<tr>
<td width="250"><font size="2">Computernr:</font></td>
<td width="250"><input class=verplicht type="text" name="computer" size="10" maxlength="8"></td>
</tr>
<tr>
<td width="250" valign="top"><font size="2">Korte omschrijving klacht:</font></td>
<td width="250"><textarea name="observatie_omschrijving" input class=verplicht cols="24" rows="10" maxlength="300"></textarea></td>
</tr>
<tr>
<td width="250"><font size="2">Prioriteit:</font></td>
<td width="250"><input type="radio" value="1" name="Prioriteit">  <font size="2">Hoog <input checked type="radio" value="0" name="Prioriteit"></font>  <font size="2">Laag</font></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
<input type="hidden" name="formulier" value="verkoop">
</tr>
<tr height="30">
<td width="250" height="30"></td>
<td width="250" height="30"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Verzenden van dit formulier</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250">
<div align="left">
<input type="submit" name="verzenden" value="Verzenden">    <input type="reset" value="Alles Wissen"></div>
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
</table>
</div>
</form>
<p></p>
</font></body>
</html>
Alles moet in PHP kan iemand mij daar bij helpen, kheb geen id wat ik moet doen..
<html>
<head>
<cleaned_tag http-equiv="content-type" content="text/html;charset=iso-8859-1">
<cleaned_tag name="generator" content="Adobe GoLive 5">
<title>Klachtenformulier</title>
<style><!--a{text-decoration: none} body{color: #black; font-family: Verdana} .verplicht {background:pink}//-->
</style>
<style fprolloverstyle>A:hover {color:#FFFFCC}></style>
</head>
<body bgcolor="#FFFFCC"><font face='arial, helvetice' size="1">
<form name="formuliernaam" action="verwerkform.php" method="post" enctype="multipart/form-data">
<div align="center">
<table border="0" cellpadding="0" cellspacing="4" width="500">
<tr>
<td colspan="2">
<p><font color="#0000FF" size="2"><b>KLACHTENFORMULIER</b></font></p>
</td>
</tr>
<tr>
<td colspan="2"><font size="2">Dit formulier is bedoeld voor het versturen van een klacht over een Computerstoring of een hardware probleem.<br><br>Let op: Alle gekleurde velden moeten worden ingevuld.</font></td>
</tr>
<tr height="25">
<td width="250" height="25"></td>
<td width="250" height="25"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Uw gegevens</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"><font size="2">Naam v/d School:</font></td>
<td width="250"><input class=verplicht type="text" name="naam" size="24" maxlength="30"></td>
</tr>
<tr>
<td width="250"><font size="2">Telefoonnr:</font></td>
<td width="250"><input type="text" name="telefoon" size="11" maxlength="20"></td>
</tr>
<tr>
<td width="250"><font size="2">E-mail adres:</font></td>
<td width="250"><input class=verplicht type="text" name="email" size="24" maxlength="30"></td>
</tr>
<tr height="30">
<td width="250" height="30"></td>
<td width="250" height="30"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Klacht</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"><font size="2">Datum:</font></td>
<td width="250"><input type="text" name="observatie_dag" size="2" maxlength="2">  <font size="2"><input type="text" name="observatie_maand" size="2" maxlength="2">  <font size="2"><input type="text" name="observatie_jaar" size="4" maxlength="4">  <font size="2">dd/mm/jjjj</font></td>
</tr>
<tr>
<td width="250"><font size="2">Computernr:</font></td>
<td width="250"><input class=verplicht type="text" name="computer" size="10" maxlength="8"></td>
</tr>
<tr>
<td width="250" valign="top"><font size="2">Korte omschrijving klacht:</font></td>
<td width="250"><textarea name="observatie_omschrijving" input class=verplicht cols="24" rows="10" maxlength="300"></textarea></td>
</tr>
<tr>
<td width="250"><font size="2">Prioriteit:</font></td>
<td width="250"><input type="radio" value="1" name="Prioriteit">  <font size="2">Hoog <input checked type="radio" value="0" name="Prioriteit"></font>  <font size="2">Laag</font></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
<input type="hidden" name="formulier" value="verkoop">
</tr>
<tr height="30">
<td width="250" height="30"></td>
<td width="250" height="30"></td>
</tr>
<tr>
<td width="250">
<p><font color="#0000FF" size="2"><b>Verzenden van dit formulier</b></font></p>
</td>
<td width="250"></td>
</tr>
<tr>
<td colspan="2">
<hr color="#pink">
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250">
<div align="left">
<input type="submit" name="verzenden" value="Verzenden">    <input type="reset" value="Alles Wissen"></div>
</td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
<tr>
<td width="250"></td>
<td width="250"></td>
</tr>
</table>
</div>
</form>
<p></p>
</font></body>
</html>
WAAROM????
Wat maakt het uit of iets in PHP of in HTML staat, uiteindelijk stuurt je server toch alles in HTML naar de browser.
Elwin
www.domein.nl/index.php stoerder vinden dan diezelfde page als index.html
Tsja denk dat mensen En damn.. dan met zo'n code ook nog eens twee keer op 'bericht plaatsen' klikken...
Elwin