@startuml !include .config.puml ' Participants $clientWithBrowser() $serverWithPhp("Serveur Web\navec module PHP") ' Client note left of Client : Le client saisit l'URL\n""http://example.com/hello.php"" ' Connect $connect() ' Client note left of Client : Préparation de la requête ' Request $request("**Requête HTTP demandant** "+$resource("/hello.php")) ' Server note right of Server : Traitement de la requête note right of Server : Le serveur cherche la ressource\ndemandée $resource("/hello.php") note right of Server : La ressource $resource("/hello.php")\ncontient du code PHP Server -[hidden]-> PHP Server -[$phpColor]->> PHP: Demande d'exécution du code PHP activate PHP $phpColor note right of PHP : \n\ **Exécution du**\n\ **script ""hello.php""** note right of PHP : Production de la\ncharge utile avec **""echo""** PHP -[$phpColor]->> Server: **Construction de la réponse HTTP** deactivate PHP ' Response $response("**Réponse HTTP contenant**\n**le résultat de l'exécution de **"+$resource("/hello.php")) ' Disconnect $disconnect() note left of Client : Interprétation de la réponse @enduml