1. Trang chủ
  2. » Công Nghệ Thông Tin

PHP and MySQL Web Development - P175 docx

5 192 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 71,74 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

Trang 1

842 h switch

H

h switch (add – to front) (mysql com-mand), 183

handles (object-oriented development), 146 handshaking, 320-321

hash function, 286 HAVING clause, 217 Header() function, 393-394, 720 header.php, 562

headers

generating certificates, 737 message headers (Warm Mail applica-tion), viewing, 614-615

script architecture, 627

headlines.php, 562, 565-567 HEAP table, 256

highlighting syntax, 435 highlight_file() function, 435 highlight_string() function, 435 host table, 242-244

HotScripts.com Web site, 814 htaccess files (Apache Web server), basic authentication (HTTP), 305-308 HTML, 707

embedding PHP, 14-18 file upload, 338-339 files, code to catch, 340 formatting (strings), 98 forms, 12-14, 224-225, 337-339 online newsletters, 623 tags, meta tags, 157

htmlspecialchars() function, 228, 323 htpasswd program (Apache Web server), 307

HTTP (Hypertext Transfer Protocol)

authentication Web sites, 313 basic authentication, 302-309 digest authentication, 302 opening files, 56 protocol, 320-321 XML, Amazon connections, 740

I IDE (integrated development environ-ment), 448

identifiers, 24

MySQL identifiers, 196-197 results identifiers, retrieving query results (Web databases), 231-232

if statements, 40 IIS (Internet Information Server), 308-309, 808

ImageArc() function, 412 ImageColorAllocate() function, 392 ImageCopeResized() function, 561 ImageCreate() function, 391 ImageCreateFromGIF() function, 391, 399 ImageCreateFromJPEG() function, 391, 399

ImageCreateFromPNG() function, 391, 399

ImageDestroy() function, 394 ImageFill() function, 392 ImageFilledRectangle() function, 409-411 ImageGetTTFBBox() function, 401 ImageGIF() function, 394

ImageJPEG() function, 394 ImageLine() function, 410 ImagePNG() function, 394, 399 ImagePolygon() function, 412 ImageRectangle() function, 411 images

base canvas, setting up, 399 canvas, creating, 391 colors, RGB (red, green, and blue), 392 coordinates, 392

creating, 390-391, 394 with fonts, 396, 399-404 with text, 396, 399-404 drawing, with scripts, 390 formats, 388-390 functions, 412 generating automatically, 395

Trang 2

843 installation

manipulating, 560-562 supporting in PHP, 387-388 text

drawing or printing on, 391-393 fitting onto buttons, 399-402 outputting, 393-394 positioning onto buttons, 402-403 writing onto buttons, 403

ImageString() function, 393 ImageTTFBBox() function, 402 ImageTTFText() function, 401, 411 IMAP (Internet Message Access Protocol),

358, 585-587 IMAP Connection Web site, 586 imap_body() function, 613-614 imap_delete() function, 616 imap_expunge() function, 616 imap_fetchheader() function, 613 imap_header() function, 613 imap_headers() function, 610-613 imap_open() function, 610 implementing

content management systems, 565 editor screen, 581-582 headlines.php, 565-568 keywords, 578, 581 stories, adding, 568, 572, 575 login, 635-636, 639

PHPBookmark database, 477-481 recommendations, 506-509

implode() function, 103 importing public keys (Gnu Privacy Guard), 328

include fns.php, 562 include() statement, 126-128 include_fns.php, 625 increment operators, 31 indenting code, 41, 445 INDEX privilege, 187 index.html, 713-715 index.php, 625, 752-758 index.php script (Shopping Cart

applica-tion), 519-524 indexes, 72, 254-255 information, databases

DESCRIBE statement, 251 EXPLAIN statement, 251-254 gathering, 249

indexes, 254 SHOW statement, 249-251

Information button, 647 inheritance (object-oriented development),

147, 152-155 initializing arrays, 72-74 ini_get() function, 434-435 ini_set() function, 434-435 inline images, dynamically produced, 395 inner join, 214

input data

checking, 462 validating, 484-485

input data (Web databases), 227-228 INSERT

privilege, 187 queries, 232-236 statement, 204

inserting data into databases, 204-206 insertion anomalies, avoiding (Web data-bases), 175

insert_book.php script, 233-235, 547-548 insert_book_form.php script (Shopping Cart application), 547

insert_order() function, 538 installation

Apache, for Windows, 805-806 binary installations, 790-791 cURL, 794

MySQL deleting anonymous user, 804 for Unix, 792-794

for Windows, 801-803 setting PATH, 803 setting root password, 804 PDFlib, 794

How can we make this index more useful? Email us at indexes@samspublishing.com

Trang 3

844 installation

PEAR, 809-810 PHP, 795, 807-808 source installations, 791

installing

Apache, 796-797 GPG (Gnu Privacy Guard), 325-328 mod_auth_mysql module, 310-311 mod_SSL, 796-797

InstallShield, PHP, installing for Windows, 807

instances, SOAP (Simple Access Object Protocol), 778

instantiation (classes), 149 integral data types (numeric column types), 197-198

integrated development environment (IDE), 448

interfaces

administration interface (Shopping Cart application), 544-549, 553

PHP database interfaces, 236-237 Warm Mail application (email client), 587-588

Web Services (Amazon), 746-747

International PGP Home Page Web site, 325

Internet, secure transactions, 317-318 Internet Information Server (IIS), 308-309 Internet Message Access Protocol (IMAP),

358, 585-586 Internet Protocol (IP), 320 Internet Services Manager, configuring IIS (Internet Information Server), 308-309 intval() function, 89

IP (Internet Protocol), 320 isset() function, 39, 139 is_uploaded_file() function, 344

J join condition, WHERE clause, 210

joining strings, 103 joining tables, 211 joins, 209-214 JPEG (Joint Photographic Experts Group), 388

JPEG library Web site, 712 jpeg-6b, downloading, FTP site, 388 Julian calendar, 385-386

Julian Day Count calendar, 385-386

K key pairs, installing GPG (Gnu Privacy Guard), 326-327

keys

arrays, 72 databases, 171, 176 private keys, Gnu Privacy Guard (GPG), 326

public keys, 326-328

keyword add.php, 563 keyword delete.php, 563 keywords

AUTO_INCREMENT keyword, 192 DESC, 215

extends keyword, 152 LIKE, 209

NOT NULL keyword, 192 PRIMARY KEY keyword, 192 REGEXP, 209

return keyword, 138 UNSIGNED keyword, 193

keywords.php, 563, 579 krsort() function, 81 ksort() function, 81

L language constructs

array(), 72 die(), 431 exit, 431

Trang 4

845 listings

leaf nodes (Web forum tree structure), 677 left joins, 212-214

Lempel Ziv Welch (LZW), 389 length of strings, testing, 106 letters, descenders, 402 libcurl, 374

libraries

FreeType, downloading Web site, 388 function, developing, 446

function (PHPBookmark application), 476 PDF, function, 712

PHP, Web sites, 791 PHP database interfaces, 236-237 PHP SOAP, 747

PHP XML, 747 SOAP (Simple Object Access Protocol), 745

LIKE keyword, 209 LIMIT clause, SELECT statement, 217 line graphs, script for outputting (code), 390

lines, curved (ImageArc() function), 412 links

Add to Cart, 749 Checkout, 751 Details, 749 Web forum tree structure, 676

list archives, viewing, 649-650 list() function, 75-76

listing files in directories, 346 listings

add_bm() Function from url_fns.php, 502 add_bms.php, 500

bookmark fns.php:Include File of Functions for the Bookmark Application, 479

bookmarks.sql:SQL File to Set Up the Bookmark Database, 478

chack_valid_user Function from user_auth_fns.php, 491 change_passwd.php, 493 change_password(), 494

change_password() Function from user_auth_fns.php, 653 create_database.sql, 563-568, 571-572, 575-582, 625-626

db_connect() Function from db_fns.php, 487

delete_bm() Function in url_fns.php, 505 delete_bms.php, 504

delete_story.php, deleting stories from databases, 578

display_information() Function from out-put_fns.php, 648

display_items() Function from output_fns.php, 643 display_mail_form() Function from out-put_fns.php, 659

do_html_header() Function from output_fns.php, 480

filled_out() Function from data_valid_fns.php, 485 forgot_passwd.php, 496 functions from user_auth_fns.php, 634 get_archive() Function from

mlm_fns.php, 649 get_email() function from mlm_fns.php, 641

get_random_word() Function from user_auth_fns.php, 497

get_unsubscribed_lists() Function from mlm_fns.php, 646

get_user_urls() Function from url_fns.php, 503

headlines.php, displays page headlines, 565

index.html, 714-715 index.php, 628 login() Function from user_auth_fns.php,

490, 640 login.php(col)Front Page of the PHPBOokmark System, 478 logout.php, 492

member.php, 488

How can we make this index more useful? Email us at indexes@samspublishing.com

Trang 5

846 listings

notify password() Function from user_auth_fns.php, 499 orders.txt, 60

page.php, displays published stories, 567 pdf.php, 723

pdflib.php, 729 publish.php, displays documents to be edited, 581

recommend.php, 507 recommend_urls() Function from url_fns.php, 508

register() Function from user_auth_fns.php, 486 register_form.php, 481 register_new.php, 482 reset_password() Function from user_auth_fns.php, 496 resize_image.php, resizes JPEG image on-the-fly, 560

rtf.php, 719 score.php, 716 search.php, matching stories, 579 send() Function from mlm_fns.php, 667 store_account() Function from

mlm_fns.php, 638 stories.php, interface for writers, 570 story.php, create/edit stories, 573 story_submit.php, updating stories in databases, 576

subscribe() and unsubscribe() Functions from mlm_fns.php, 651

testpdf.php, 725 upload.php, 661 uploaded files, code, 345-346 valid_email() Function from data_valid_fns.php, 485 vieworders.php interface, 60-61

lists

creating, 655-657 databases, 622 load_list_info() Function from

store_list Function from mlm_fns.php, 657

viewing, 642-649

literal special characters (regular expres-sions), 113

literals, 23-24 LOAD DATA INFILE statement, 257 load list info() function, 648

loading

arrays from files, 86-89 data, from files, 257 extensions, dynamically, 434

local variables, 135 locking files, 66-68 log files, 289-290 Log In button, 639 logging in, 639-641

user authentication, 487-491 Warm Mail application (email client), 597-600

logging in to FTP servers, mirroring files, 369

logging in to MySQL, 183-184 logging out, 654

user authentication, 491-492 Warm Mail application (email client), 600

logging out of MySQL, 190 logic (code), 450

logic errors, 462-463 logical operators, 33 login

anonymous login (FTP), 368 implementing, 635-636, 639

login() function, 489, 640 login.php, 476-481, 562, 571 logo.gif, 562

logout.php, 427, 476, 572 long style form variable, 20 lookup functions, 361-365 looping through associative arrays, 75-76 loops, 45-49, 74

Ngày đăng: 07/07/2014, 03:20

TỪ KHÓA LIÊN QUAN