8. Unix-like computer operating system ,open-source software where source code is provided with operating system, which can be edited according to specific needs.
56. -l long listing giving details about files and directories
57. 13.Prints a calendar for the specified month of the specified year. $cal month year 14.It will show you the full path to the directory you are currently in. $pwd ( print working directory)
58. 15.Type mv followed by the current name of a directory and the new name of the directory. $mv( change the name of a directory)
102. The name "Apache" derives from the word "patchy" that the Apache developers used to describe early versions of their software.
125. It is implemented in the device drivers of network operating systems .
126. It is most commonly seen on Ethernet networks, ATM, Token Ring , and other physical networks .
127.
128. DHCP is a protocol that assigns unique IP addresses to devices, then releases and renews these addresses as devices leave and re-join the network.
129.
130. FTP is a simple network protocol based on Internet Protocol.
135. CONFIGURATION Instead of using a point-and-click graphic user interface (GUI) or Windows Registry keys as most other modern software packages, Apache generally relies on simple text files for its configuration settings.
136.
137. These files appear in Apache's ./conf directory and are designed to be edited by system administrators:
175. SELECT Command - is used to retrieve data from the database.
176. DELETE Command - is used to delete data from the database.
177.
178. UPDATE Command - is used to update the data in a table.
179. DROP Command - is used to delete or drop the database/table.
180. SYNTAX FOR QUERY COMMANDS 1. CREATE Command : The Create command is used to create a table by specifying the tablename, fieldnames and constraints as shown below: Syntax: $createSQL=("CREATE TABLE tblName");
181. 2. SELECT Command : It is used to select the records from a table using its field names, '*' is used to select all the fields in a table. Syntax: $selectSQL=("SELECT field_names FROM tablename");
182. 3 .DELETE Command : The Delete command is used to delete the records from a table using conditions as shown below: Syntax: $deleteSQL=("DELETE * FROM tablename WHERE condition");
183. 4. INSERT Command : The Insert command is used to insert records into a table. The values are assigned to the field names as shown below: Syntax: $insertSQL=("INSERT INTO tblname(fieldname1,fieldname2..) VALUES(value1,value2,...) ");
184. 5. UPDATE Command : It is used to update the field values using conditions. This is done using 'SET' and the fieldnames to assign new values to them. Syntax: $updateSQL=("UPDATE Tblname SET (fieldname1=value1,fieldname2=value2,...) WHERE fldstudid=IdNumber");
185. 6. DROP Command: The Drop command is used to delete all the records in a table using the table name as shown below: Syntax: $dropSQL=("DROP tblName");
186.
187. It is used to retrieve the data from all tables listed.
210. EXTRACT : Extracts the specified date field from the supplied date. LAST_DAY : Returns of supplied date with the day shifted to the last day of the month.
211.
212. WHY USE PROCEDURES AND FUNCTIONS? The real advantage to using stored procedures and stored functions is that they provide functionality which is platform and application independant.
213.
214. a PHP application on a web server With procedures and functions the functionality only has to be developed once.
215. CREATING MySQL PROCEDURES A stored procedure is the same as a subroutine in that it cannot directly return a result, however it can receive variables that can be modified by the procedure.
216.
217. out - the variable can only be used as an output from the procedure.
218. inout - this is both an input to, and an output from, the procedure.
231. For example : delimiter // create function circumference (r double) returns double deterministic begin declare c double; set c = 2 * r * pi(); return c; end // delimiter ;
232.
233. In this case (for anyone that's interested) the result would be 138.23007675795 .
234.
235. Start by uploading the FILE.sql file to the server where we will be running this command. # mysql -u username -ppassword database_name < FILE.sql
257. If the computer can run web server software, the PHP application is portable across operating systems and environments ... PC, Mac, Linux, Windows, Internet, Intranet, etc.
258.
259.
260. There are two basic statements to output text with PHP:
264. If the file has a .html extension, the PHP code will not be executed.
265.
266. The Settings in which upload directory, register global variables, display errors, log errors, max uploading size setting, maximum time to execute a script and other configurations is written in this file.
267.
268. In order for PHP to read it, it must be named 'php.ini' .
269. The php.ini directives allows us to set configure our PHP setup.
276. CONTENTS OF "test.ini" [names] me = Robert you = Peter [urls] first = "http://www.example.com" second = "http://www.w3schools.com"