Create a server-side include file containing the AdRotator code listed in Fig. 25.3. Write an ASP that performs the same action as the AdRotator and uses this server-side include file.
What will be an ideal response?
The first table is config.txt, the second table is redirect.asp and the third table is rotate.asp.
```
1 REDIRECT redirect.asp
2 WIDTH 54
3 HEIGHT 36
4 BORDER 1
5 *
6 /images/us.gif
7 http://www.odci.gov/cia/publications/factbook/us.html
8 United States Information
9 20
10 /images/france.gif
11 http://www.odci.gov/cia/publications/factbook/fr.html
12 France Information
13 20
14 /images/germany.gif
15 http://www.odci.gov/cia/publications/factbook/gm.html
16 Germany Information
17 20
18 /images/italy.gif
19 http://www.odci.gov/cia/publications/factbook/it.html
20 Italy Information
21 20
22 /images/spain.gif
23 http://www.odci.gov/cia/publications/factbook/sp.html
24 Spain Information
25 20
26 <% Call Response.Redirect( Request( "url" ) ) %>
27 <% @LANGUAGE = VBScript %>
28 <% Option Explicit %>
29 <% ' rotate.asp %>
30
31
32
33
34
You might also like to view...
A(n) ________ module is an advanced program that is used to create custom objects similar to the preexisting objects that are included in Microsoft Office
Fill in the blank(s) with correct word
Which of the following is NOT a guideline for handling legacy applications?
A. Limit physical access to the legacy applications to administrators. B. If possible, deploy legacy applications on a physical machine. C. Employ access control lists (ACLs) to protect the data on the system. D. Deploy the highest level authentication and encryption mechanisms as possible.