The GET method sends the encoded user information appended to the page request. The page and the encoded information are separated by the ? character as follows −http://www.test.com/cgi-bin/hello.py?key1=value1&key2=value2The GET method is the default method to pass information from browser to web server and it produces a long string that appears in your browser's Location:box. Never use GET method if you have password or other sensitive information to pass to the server.The GET method has size limitation: only 1024 characters can be sent in a request string. The GET method sends information using QUERY_STRING header and will be accessible in your ... Read More
Literal charactersSr.No.Example & Description1pythonMatches beginning of line.Character classesSr.No.Example & Description1[Pp]ythonMatch "Python" or "python"2rub[ye]Match "ruby" or "rube"3[aeiou]Match any one lowercase vowel4[0-9]Match any digit; same as [0123456789]5[a-z]Match any lowercase ASCII letter6[A-Z]Match any uppercase ASCII letter7[a-zA-Z0-9]Match any of the above8[^aeiou]Match anything other than a lowercase vowel9[^0-9]Match anything other than a digitSpecial Character ClassesSr.No.Example & Description1.Match any character except newline2\dMatch a digit: [0-9]3\DMatch a nondigit: [^0-9]4\sMatch a whitespace character: [ \t\r\f]5\SMatch nonwhitespace: [^ \t\r\f]6\wMatch a single word character: [A-Za-z0-9_]7\WMatch a nonword character: [^A-Za-z0-9_]Repetition CasesSr.No.Example & Description1ruby?Match "rub" or "ruby": the y is optional2ruby*Match "rub" plus 0 or more ys3ruby+Match "rub" plus 1 or more ... Read More
All the CGI programs have access to the following environment variables. These variables play an important role while writing any CGI program.Sr.No.Variable Name & Description1CONTENT_TYPEThe data type of the content. Used when the client is sending attached content to the server. For example, file upload.2CONTENT_LENGTHThe length of the query information. It is available only for POST requests.3HTTP_COOKIEReturns the set cookies in the form of key & value pair.4HTTP_USER_AGENTThe User-Agent request-header field contains information about the user agent originating the request. It is name of the web browser.5PATH_INFOThe path for the CGI script.6QUERY_STRINGThe URL-encoded information that is sent with GET method ... Read More
Secondary storage devices are non-volatile devices where the data is stored for long-term storage. Disks are the mainly used secondary storage devices. They provide the bulk of secondary storage in operating systems today.The main activity that is performed in secondary storage management is disk scheduling. There are many disk scheduling algorithms. However, the important ones are FCFS scheduling, SSTF scheduling, SCAN scheduling and LOOK scheduling.All the disk scheduling algorithms are explained using the following requests for the disk -10, 95, 23, 78, 80First Come First Served SchedulingIn first come first served scheduling, the requests are serviced in their coming order. ... Read More
Sr.No.Example & Description1R(?#comment)Matches "R". All the rest is a comment2R(?i)ubyCase-insensitive while matching "uby"3R(?i:uby)Same as above4rub(?:y|le))Group only without creating \1 backreference
The border-collapse specifies whether the browser should control the appearance of the adjacent borders that touch each other or whether each cell should maintain its style.ExampleYou can try to run the following code to learn how to work with border-collapse property table.one { border-collapse:collapse; } table.two { border-collapse:separate; } td.a { border-style:dotted; border-width:2px; border-color:#000000; padding: 20px; } td.b { border-style:solid; border-width:2px; border-color:#333333; padding:20px; } Border Collapse India Australia Border Separate India Australia
Along with food, shelter and money internet and smart phone have become our basic necessities. Talking about smart phones along with all other criteria one unspoken necessity we all expect from our phone is front camera for selfies. A selfie for every mood, every moment happy, sad, angry or busy doing nothing.Earlier after taking a selfie limited editing options were available, but thanks to advancement in technology we can make our picture more beautiful or funny just as we want. A new app Lollicam helps us apply cinematic effects in selfies that makes picture more appealing. Pictures give you complete ... Read More
A bitmap is a mapping from one system such as integers to bits. It is also known as bitmap index or a bit array.The memory is divided into units for bitmap. These units may range from a few bytes to several kilobytes. Each memory unit is associated with a bit in the bitmap. If the unit is occupied, the bit is 1 and if it is empty, the bit is zero.The bitmap provides a relatively easy way to keep track of memory as the size of the bitmap is only dependent on the size of the memory and the size ... Read More
To set the color of visited link, use the :visited property in CSS. You can try to run the following code to set the visited color link a:visited { color: #FF0000 } My Link
To change the color of a link when we bring a mouse pointer over that link, use the: hover property.ExampleYou can try to run the following code to change the link color: a:hover { color: #FFCC00 } My Link
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP