Bonjour,
Je suis super débutant en ASP. Le script ci-dessous devrait m'afficher "TestASP" et l'adresse IP du client. Mais aucune de ces informations s'affiche.
Il semble que l'ASP ne soit pas exécuter. Le Server est IIS sous Windows 2003.
Pourquoi ce code ne s'exécute-t-il pas?
Merci d'avance.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 <%@ LANGUAGE="VBSCRIPT" %> <html> <head> <title>Blanck page</title> <link rel="stylesheet" type="text/css" href="css/flowplay.css"> <script type="text/javascript" src="js/flowplayer.min.js"></script> <script type="text/javascript" src="js/flowplay.js"></script> <script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script> <body bgcolor="#ffffff"> <p align="center"><img src="imagesprojet/fond.gif" x-sas-useimagewidth x-sas-useimageheight align="bottom" width="300" height="108"></p> <% Response.write("AAAAtestfgfdg"); %> <% Response.write("testASP); IP = Request.ServerVariables("REMOTE_ADDR"); Response.write("Votre adresse IP est : " + IP); %> Ca Marche PAS <BR> <!-- let rest of the page float normally --> <br clear="all"/> </body> </html>
Partager