Chapter 7
client-server interaction
shop.fla
the bookshop revisited. This version uses a loader clip to get the book details from a file; you also need to download book_data.txt if you want to test this one. (There is no SWF on the Web site, because it behaves identically to the version in Chapter 5.).
register.fla, register.pl
the registration example, and the Perl source of a possible CGI script to go with it. You will need access to a server to actually get these working. (John Wiley won't allow me to run CGI scripts so there is no working version here.) You will also need to edit the URL in the loadVariables call. Note that the CGI script has made no attempt to be secure, so don't put it where anyone can use it easily.