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...
Multimedia software includes all of the following EXCEPT ________
A) animation software B) audio-editing software C) image-editing software D) utility software
A report is more meaningful if its data is ________ and sorted
Fill in the blank(s) with correct word
In Excel, what does a small funnel icon represent?
A) A data table has been created. B) A sort has been applied. C) A filter has been applied. D) Excel does not use a funnel icon.
What component is most likely to be installed in a PC, is considered primary storage, and typically stores the operating system, as well as its applications?
A. floppy drive B. tape drive C. hard disk drive D. optical drive