See files How can we make this index more useful?. Email us at indexes@samspublishing.com.
Trang 1827 data storage
editor screen, 581-582 headlines.php, 565-568 keywords, 578, 581 stories, adding, 568, 572, 575 metadata, 558
output, formatting, 559
contents, bounding box arrays, 401 continuation symbol (MySQL), 182 continue statement, 49
control, version (code), 446-447 control characters, 59
control structures
breaking out of, 49 conditionals, 40-45 loops, 45-49
conventions, naming (code), 443-444 conversion specifications, 99-100 converting arrays to scalar variables, 92-94
cookies, 414-416 coordinates
bounding boxes, 401 images, 392
copy() function, 351 core application files, index.php (Amazon), 752-758
cos() function, 736 COUNT(items) function, 215 counting array elements, 92 crackers, 270
create database.sql, 562-565 Create Mail button, 658 CREATE privilege, 187 CREATE TABLE command (SQL), 191-192
create_database.sql, 625 create_database.sql file, 563 credit card numbers, storing, 324-325 criteria, specific data (retrieving from databases), 207-209
cross join, 214 crypt() function, 300
cryptography, 285 CSR (Certificate Signing Request), 289 CSS (cascading style sheets), 450 cURL (Client URL)
functions, 374-376 installation, 794 library functions Web site, 792 Web site, 376
curly braces ({}), regular expressions, 112 curl_init() function, 375
curl_setopt() function, 375 current directory symbol (.), 346 current() function, 90
curved lines, ImageArc() function, 412 cutting costs (commercial Web sites), 269 CVS (Concurrent Versions System), 447
D data
aggregating, 215-217 drawing, code, 408-410 encrypting, 324 graphing, 404-412 grouping, 215-217 input, 484-485, 462 inserting, into databases, 204-206 joins, 214
loading, from files, 257 metadata, 558
redundant data, avoiding (Web databases), 173-175
retrieving from databases, 206-207 from multiple tables, 209-214
in a particular order, 214-215 with specific criteria, 207-209 rows, returning, 217
sensitive data, 323-325 tables, 209-213
Data Encryption Standard (DES), 285 Data Manipulation Languages (DML), 204
data storage, files See files
How can we make this index more useful? Email us at indexes@samspublishing.com
Trang 2828 data types
data types, 25
BLOB types (binary large objects), 200-201
date and time data types, 199 ENUM type, 201
floating point data types (numeric column types), 198-199
integral data types (numeric column types), 197-198
regular string data types, 200 SET type, 201
TEXT types, 200-201
database schema (PHPBookmark applica-tion), 477-481
database servers, Web database architec-ture, 178
DatabaseCentral.com Web site, 815 Databases, SQL (Structured Query Language), 203
databases
advantages, 69 Book-O-Rama, 203-205 book_sc database (Shopping Cart applica-tion), 517-519
columns, DESCRIBE statement, 251 content management systems, 557 create database.sql, 563-565 document structure, 558 creating, 184, 236
data aggregating, 215-217 grouping, 215-217 inserting, 204-206 joins, 214 loading from files, 257 retrieving, 206-215 rows unmatched, 212-213 tables, 211-213
two-table joins, 209-211 deleting, 236
dropping, 220 information, 249-251
keys, foreign keys, 171 lists, 622
MySQL, 241 aggregate functions, 215 columns_priv table, 245 connection verification, 245 databases, 224-226, 236
db table, 243-244 host table, 244 join types, 214 request verification, 246 tables_priv table, 245 user table, 242-243 optimizing, 254-256 passwords
encrypting, 247, 300-301 storing, 247, 297-300 poll, code to set up, 404-405 privilege system, 241-246 queries, 251-254 records, 217-220 relational databases, 170-173 relationships, 172-173 rows, returning, 217 schemas, 172 security, 246-249 selecting in MySQL, 190-191 setting up, 625-627
Shopping Cart application, 518-519 SQL, 203-204
subscribers, 622 tables
altering, 218-219 Cartesian product, 210 columns, 170, 193-201 creating in MySQL, 191-195 dropping, 220
equi-joins, 210 joins, 209 keywords, 192-193 left joins, 212-213 rows, 171
Trang 3829 data types
types, 177, 256 values, 171 viewing, 195 viewing in MySQL, 195 vote, 405
Warm Mail application (email client), 588-590
Web databases architecture, 177-179 designing, 173-177
Web databases See Web databases
Web forum application, 678-680
DatabasesLDML, (Data Manipulation Languages), 204
data_valid_fns.php, 476, 625 date and time
converting between PHP and MySQL for-mats, 383-384
in MySQL, 383-386
in PHP calendar functions, 385-386 checkdate() function, 382 date calculations, 384-385 date() function, 379-382 floor() function, 385 getdate() function, 382 mktime() function, 381-382, 385 PHP Web site, 386
date and time column types, TIMESTAMP display types, 199
date and time data types, 199 date() function, 19, 350, 379-382 DATE_FORMAT() function, 383-384
db fns.php, 562
db table, 242-244 db_connect() function, 487 db_fns.php, 476, 572, 625 db_result_to_array() function, 523 DDoS (Distributed Denial of Service), 278 debugging variables, 463-465
declaring functions, 131-132 decoct() function, 350
decrement operators, 31 decryption, 284 default values, database optimization, 255 delete bm() function, 505
DELETE privilege, 187 DELETE statement, 219 delete story.php, 563 delete_account() function, 604 delete_bms.php, 476
delete_fns.php, 577 delete_message() function, 615-616 deleting
accounts (Warm Mail application), 604-605
anonymous user in MySQL installation, 804
bookmarks, 503-505 databases, 236 directories, 347-348 email (Warm Mail application), 615-616 files, 65, 351
records, 219-220
deletion anomalies, avoiding (Web data-bases), 175
Denial of Service (DoS), 278 deregistering variables, 418-420 DES (Data Encryption Standard), 285 DESC keyword, 215
descenders (letters), 402 DESCRIBE
command, 195 statement, syntax, 251
describe user, [edit, OK] statement, 242 designing
databases, 563-565 Web databases, 173-177
designing classes, 155-156 designs, database optimization, 255 design_button.html file, 396 destroying sessions, 418 Details link, 749 data types, 771
How can we make this index more useful? Email us at indexes@samspublishing.com
Trang 4830 Developer Shed Web site
Developer Shed Web site, 116 Developer Token (Amazon), 746 developing function libraries, 446 development environments, 448 Devshed Web site, 412, 813 Diagrams, online newsletters, 623-624 die() language construct, 431
digest authentication (HTTP), 302 digital certificates, 287-288 digital goods (commercial Web sites), pro-viding, 268
digital signatures, 286-287 directives
magic_quotes_gpc, 323 magic_quotes_runtime, 323 php.ini file, 434-435
directories
browsing, 345 creating, 347-348 current symbol (.), 346 deleting, 347-348 file listings, 346 file paths, 347 functions, 345 one level up symbol ( ), 346 reading from, 345-347 uploaded file listing, code, 345-346
directory sites, verifying URLs and email addresses, 361-365
directory structures, component struc-tures, 446
dirname($path) function, 347 dirname() function, 350 disconnecting from Web databases, 232 discussion board application, 675, 704
article list, 681 displaying articles, 686-687 individual articles, viewing, 694-696 new articles, adding, 696-703 plus symbols, 682
threads, 682-686 treenode class, 687, 690-694
database design, 678-680 extensions, 703
files, 678 posters, 678 solutions, 676-678 tree of articles, 691 tree structure, 676-677 tree_node class, 677
discussion boards, threads, 675 diskfreespace($path) function, 347 display account form() function, 636, 652 display button() function, 645, 666 display information() function, 647 display items() function, 643 display list form() function, 655 display mail form() function, 659 display password form() function, 652 display preview button() function, 666 display registration form() function, 481 display user menu() function, 489 display() function, 692
display_account_form() function, 601 display_account_select() function, 606-607 display_account_setup() function, 601-603 display_book_form() function, 550 display_cart() function, 530, 533 display_categories() function, 523 display_list() function, 608 display_post() function, 696 display_tree() function, 686-687, 695-696 Distributed Denial of Service (DDoS), 278 division operator, 28
dl() function, 434 DML (Data Manipulation Languages), 204
do html header() function, 633 do while loops, 48-49
Document Type Definition (DTD), XML, 743
documentation
gd, Web site, 412 Web application projects, 448-449
Trang 5831 e-mail
documents
personalized, 705-710 structure, content management systems, 558
DoS (Denial of Service), 278 doubleval() function, 248 downloading
Amazon Web Services Developers’ Kit, 746
files, FTP servers, 371-372 FreeType library, Web site, 388 GIF (Graphics Interchange Format), Web site, 389
jpeg-6b, FTP site, 388 PostScript Type 1 fonts, FTP site, 388 t1lib, 388
do_html_header() function, 536, 606 draw star() function, 736
drawing
data, code, 408-410 figures, 404-412 images, with scripts, 390 text on images, 391-393 variables, code, 407
drawing functions, parameters, 392 DROP DATABASE statement, 220 DROP INDEX index syntax, 219 DROP PRIMARY KEY syntax, 219 DROP privilege, 187
DROP TABLE statement, 220 DROP [COLUMN] column syntax, 219 dropping, databases or tables, 220 DTD (Document Type Definition), XML, 743
Dubois, Paul, 258 dynamic content, 18-19 dynamically loading extensions, 434 dynamically produced inline images, 395
E e-commerce Web sites, 261
adding value to goods or services, 268 authentication, 275
cutting costs, 269 online brochures, 262-264 orders for goods or services, 265-268 privacy policies, 266
providing services and digital goods, 268 risks, 269-272
Secure Electronic Transaction standard, 280
security authentication, 282-283 backing up data, 290-291 Certificate Signing Request (CSR), 289
Certifying Authorities (CAs), 287 compromises, 281
Denial of Service (DoS), 278 digital certificates, 287-288 digital signatures, 286-287 encryption, 284-286 errors in software, 279-280 exposure of confidential data, 275-276 firewalls, 290
hash function, 286 importance of stored information, 274 log files, 289-290
loss or destruction of data, 276-277 modification of data, 277-278 passwords, 282-283
physical security, 291-292 repudiation, 280-281 Secure Web servers, 288-289 security policies, creating, 281-282 threats, 274-281
strategies, selecting, 272 user interface design, 267
e-gineer Web site, 814 e-mail, 358
How can we make this index more useful? Email us at indexes@samspublishing.com