serveur web
Post on 17-Mar-2016
33 Views
Preview:
DESCRIPTION
TRANSCRIPT
serveur Webclient Webserveur BDR
<html> <head> </head> <body> <table><tr> <th>Nom</th> <th>Prenom</th> </tr><tr> <td>Truc</td> <td>Bibi</th></tr></table> </body</html>
Nom PrenomBibi Truc
MySQLApache(configuré pour php)
MozillaInternetExplorer
URL + valeurs champs formulaire
Entëte + ficher html avec javscript
Requête SQL
Réponse du serveur SQL
phpM
yAdm
in,
bbph
p, do
kuwi
ki…fphp,
ufpdf,
tcp
df
Bibliothèques de fonctions phpet services Web locaux
Schéma général d’un site Web dynamique
serveur Webclient Webserveur BDR
<html> <head> </head> <body> <table><tr> <th>Nom</th> <th>Prenom</th> </tr><tr> <td>Truc</td> <td>Bibi</th></tr></table> </body</html>
Nom PrenomBibi Truc
MySQLApache(configuré pour php)
MozillaInternetExplorer
URL + valeurs champs formulaire
Entëte + ficher html avec javscript
Requête SQL
Réponse du serveur SQL
phpM
yAdm
in,
bbph
p, do
kuwi
ki…fphp,
ufpdf,
tcp
df
Bibliothèques de fonctions phpet services Web locaux
Schéma général d’un site Web dynamique
$nom = $HTTP_GET_VARS['nom'];$pnom = $HTTP_GET_VARS['pnom'];
echo '<td>'.$nom.'</td>';echo "<td>$pnom</td>";
while($enregistrement = mysql_fetch_array($resultat)){ … }
mysql_select_db('ma_db'); …$resultat = mysql_query($requete);
top related