serveur web

2
serveur Web client Web serveur 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 Prenom Bibi Truc MySQL Apache (configuré pour php) Mozilla InternetExplor er URL + valeurs champs formulaire Entëte + ficher html avec javscript Requête SQL Réponse du serveur SQL phpMyAdmin, bbphp, dokuwiki… fphp, ufpdf , tcpdf Bibliothèques de fonctions php et services Web locaux Schéma général d’un site Web dynamique

Upload: fritz

Post on 17-Mar-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Schéma général d’un site Web dynamique. client Web. serveur Web. serveur BDR. URL + valeurs champs formulaire. Requête SQL. Nom Prenom Truc Bibi - PowerPoint PPT Presentation

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);