This book offers straightforward practical answers when you need fast results.By working through each 10-minute lesson, you'll learn what you need to begin to use the PHP scripting language to make your websites interactive and dynamic.
Review
When I first laid eyes on this book and its title.Teach Yourself PHP in 10 minutes, my first thought was that I was going to see this.So I opened it up and figured I’d look through it for ten minutes and see what would hit me.Well, 10 minutes turned into 20, 20 into 30 and 30 into a valuable resource that sits on my desk.
Not only are the lessons within brief, but they are very easy to understand, well presented and very easy to understand for the beginners.Each lesson comes with tips to point out shortcuts, cautions to help you avoid common mistakes and notes to additional information.This book can be used in two ways, as a reference or as a complete tutorial on PHP basics.That alone is something that is very rare in teaching type books these days.
Some of the more valuable and informative lessons will take you into the areas of:
-
Strings and variables
-
Processing HTML forms
-
Controlling and filtering data
-
User authentication
-
Cookies and sessions
-
Security practices
-
Configuring PHP and more!!!
The book is pretty basic for experienced PHP coders, but for new or intermediate users this book is worth more than the small $19.99 CAN suggested price.Although the cover suggests it covers PHP 5.0, the coding found within also applies to PHP 4.X
Conclusion
This book completely surprised me with its value and does indeed teach you in ten minutes what other books claim to do in 24 hours.Full marks to author Chris Newman for this handy guide.
(1)
Where can you see this short passage?
[ ]
A.
In a section for ads in a website.
B.
In a book shop.
C.
In a science magazine.
D.
In a fiction novel.
(2)
What is the book about according to the passage?
[ ]
A.
How to make a website interactive and dynamic.
B.
How to do things in ten minutes.
C.
How to deal with all kinds of problems.
D.
How to configure(配置)PHP and more.
(3)
What is the purpose of the passage?
[ ]
A.
To tell us something about a new book.
B.
To tell us something about PHP.
C.
To make an ad for the book to sell it.
D.
To tell us how to use the book.
(4)
Which of the following is TRUE according to the passage?
[ ]
A.
You can learn all kinds of things within only ten minutes.
B.
It is a good book only for beginners.
C.
The book is valuable for both experienced PHP coders and beginners.
D.
The book is more useful for new or intermediate users than the experienced PHP coders.
Visiting a pub is one of Britain’s oldest forms of entertainment.The idea for the first public houses was brought to Britain thousands of years ago by the conquering Roman army.The first pubs served only wine, but after the discovery of hops(啤酒花)in the fourteenth century, pubs began to serve mainly beer, as they do today.
Today, there are 61,000 pubs in the United Kingdom.One of the oldest, Fighting Cocks in St.Albans, Herts, is located in a building that dates back to the 11th century.Modern pubs are often owned by English breweries(啤酒厂)and serve only their owner’s products.British pubs are required to have a license, which is difficult to obtain, and operate between 11 a. m. and 11 p. m. every day except Sunday, when they must close at 10∶30 p. m.
The drinking age in Britain is eighteen, but fourteen-year-olds may enter a pub unaccompanied if they order a meal.Children may enter a pub with their parents until 9 p.m., which lets families enjoy reasonably priced pub meals together, and allows pubs to continue in their traditional roles as community centers.
Customs in British pubs differ from those in American bars.In Britain, you must go to the bar to order drinks and food and pay for your purchase immediately, there is no table service.Bartenders are called “landlords” and “barmaids” and they do not expect frequent tipping.To tip a landlord or barmaid, it is customary to tell him to “buy himself one”.He or she may or may not take you up on your offer.At the end of a visit, a polite customer will return his glass to the bar.
(1)
Which of the following is not allowed in Britain?
[ ]
A.
Children under 14 entering a pub with their parents
B.
Young men over 14 eating in a pub by themselves.
C.
Children of about 15 drinking in a pub with adults.
D.
Young men at or older than 18 drinking beer in a pub.
(2)
What can we entertain ourselves with at Fighting Cocks today?
[ ]
A.
1000-year-old hops.
B.
Mainly beer.
C.
Italian food.
D.
Just wine
(3)
We can infer from the last paragraph that _________.
[ ]
A.
British pubs and American bars are completely different
B.
services in British pubs are better than those in American bars
C.
in American bars you can pay the bill after the meal
D.
tip is necessary in both British pubs and American bars
(4)
This passage is mainly written to _________.
[ ]
A.
give us some information about British pubs
B.
compare the British pubs and American bars
C.
tell us something about the history of British pubs
D.
let us know some rules in British pubs
阅读理解,阅读下列短文,从每题所给的四个选项(A、B、C和D)中,选出最佳选项。
Sightseeing Tours in Germany
Germany has a variety of cities each with its own characteristics, from the busy city of Berlin, to the ancient city of Cologne, to the Bavarian capital of Munich.Thankfully, these major German cities offer sightseeing tours that offer the opportunity to better explore the surrounding regions and the country's most historic sites.
Berlin on Bike
Berlin on Bike takes visitors through the German capital via five bicycle tours, all with guides.Regular tours include the Wall Tour and Berlin's Best, with stops at some of the city's most famous landmarks, such as the Reichstag explores what life was like in East Berlin under Communist Rule.The cost of the tour includes the bike and helmet rental, and tourists may choose to continue renting their bikes once the tour has ended.
Berlinonbike.de/English/index.php
Munich City Sightseeing Tour
The Munich City Sightseeing Tour transports travelers throughout the city via an open-air, double-decker bus.Passengers can hop on and off at various stops throughout the day.This tour includes stops at such sites as the Munich central train station, the 1972 Olympic Stadium Park, Munich's opera house and Karlsplatz, the gate to the historic city.The bus features a narrated tour guide and offers an English-language option.
Nice City Tours offers three tours of Cologne, available to private or business groups in a variety of languages.The old Town Tour runs for two hours and includes a guided tour of the Cologne Cathedral and some of the city's old squares.The Brewery Pub Tour explores some of the city's most beloved breweries and pubs, and details the history behind Kolsch, Cologne's resident beer.Finally, the Old Town and Rhine Tour begins by visiting some of old town's most historic sites and ends with a ride down the Rhine River.
Nicecitytours.con/tours.htm
(1)
68.The similarity of the three tours lies in that they all include ________.
[ ]
A.
bus tours
B.
English service
C.
three routes
D.
guide's service
(2)
69.If you take a great interest in beer, which tour might be suitable for you?