Professional Documents
Culture Documents
4721
Answer:
2. What is DNS?
4425. Define DNS.
Answer: The Domain Name System (DNS) allows to use
domain names (e.g. yahoo.com) in place of the
corresponding IP address, such as 192.0.32.166.
Parameter Description
To Required. Specifies the receiver / receivers of the email
Required. Specifies the subject of the email. Note: This parameter
Subject
cannot contain any newline characters
Required. Defines the message to be sent. Each line should be
Message
separated with a LF (\n). Lines should not exceed 70 characters
Optional. Specifies additional headers, like From, Cc, and Bcc. The
Headers
additional headers should be separated with a CRLF (\r\n)
parameters Optional. Specifies an additional parameter to the sendmail program
Example:
<?php
mail("client@example.com","This is a
subject","This is the mail
body","from:admin@example.com\r\n");
?>
5. Why HTTP is called stateless
protocol? 4727
Answer:
HTTP is called stateless protocol because each request
is processed without any knowledge of any prior or
future requests.
6. How many ways session handling can
be done? 4728
Answer: Session handling can be handled with the
following:
Advantages of InnoDB
1. InnoDB should be used where data integrity comes a priority because it inherently takes care of
them by the help of relationship constraints and transactions.
2. Faster in write-intensive (inserts, updates) tables because it utilizes row-level locking and only
hold up changes to the same row that’s being inserted or updated.
example:
mysql> GRANT select,insert ON library.book TO
jone@localhost IDENTIFIED BY 'open123';
mysql> REVOKE insert ON library.book TO jone@localhost;
Prepared statement:
1. Significantly lower cost of overhead
2. Fewer lines of code.
InnoDB:
1. Robust transactional storage engine
2. Working with large data stores.
3. It has been available to MySQL users since version
3.23 and effective solution for transactional
applications.
--force:
When we used noninteractive mode mysql can read and
execute queries found in a text file
30. What are the purposes of
INFORMATION_SCHEMA database? 4745
Answer: INFORMATION_SCHEMA offers a solution for using
typical SELECT queries to learn more about databases
and various server settings. Consisting of 16 tables,
it\'s possible to learn about practically every aspect
of installation.
Topics
1. File upload
2. DNS
3. Internet services
4. PHP’s mail function
5. HTTP
6. Session handling
7. Web services
8. RSS feed
9. Data encryption
10. Query caching
11. Storage engines
12. Innodb table
13. Primary key and unique
14. GRANT and REVOKE commands
15. Prepare statement
16. Stored routine
17. Trigger
18. View
19. Cursor
20. Export data in mysql
21. Trigger and after trigger
22. $_FILES Array
23. fetch_row () and fetch_array()
24. Binding variables
25. MYISAM and InnoDB engine
26. --execute and --force option of mysql
27. INFORMATION_SCHEMA database