Question: What are the current versions of apache, php, and mysql?
Answer:
PHP: php 5.5
Apache: Apache 2.2
MySQL: MySQL 5.5
Question: What are the different types of errors in php?
Answer:
E_ERROR: A fatal error that causes script termination
E_WARNING: Run-time warning that does not cause script termination
E_ALL: Catches all errors and warnings
E_PARSE: Compile time parse error.
E_NOTICE: Run time notice caused due to error in code
E_USER_WARNING: User-generated warning message.
E_USER_ERROR: User-generated error message.
E_USER_NOTICE: User-generated notice message.
E_STRICT: Run-time notices.
E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error
Question: What is maximum size of a database in mysql?
Answer: Depend on Operating System
Question: What is meant by MIME?
Answer:
Multipurpose Internet Mail Extensions.
WWW ability to recognize and handle files of different types is largely dependent on the use of the MIME (Multipurpose Internet Mail Extensions) standard. The standard provides for a system of registration of file types with information about the applications needed to process them.
Question: What Is a Persistent Cookie?
Answer:
Persistent cookie is a cookie which is permanently stored on user’s computer in a cookie file. They are used for tracking the user information of the users who are browsing from a very long time. They also have the drawbacks of being unsecure, as user can see the cookies which are saved on the computer.
Question: How can PHP read the hash portion of the URL?
Answer:
PHP: php 5.5
Apache: Apache 2.2
MySQL: MySQL 5.5
Question: What are the different types of errors in php?
Answer:
E_ERROR: A fatal error that causes script termination
E_WARNING: Run-time warning that does not cause script termination
E_ALL: Catches all errors and warnings
E_PARSE: Compile time parse error.
E_NOTICE: Run time notice caused due to error in code
E_USER_WARNING: User-generated warning message.
E_USER_ERROR: User-generated error message.
E_USER_NOTICE: User-generated notice message.
E_STRICT: Run-time notices.
E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error
Question: What is maximum size of a database in mysql?
Answer: Depend on Operating System
Question: What is meant by MIME?
Answer:
Multipurpose Internet Mail Extensions.
WWW ability to recognize and handle files of different types is largely dependent on the use of the MIME (Multipurpose Internet Mail Extensions) standard. The standard provides for a system of registration of file types with information about the applications needed to process them.
Question: What Is a Persistent Cookie?
Answer:
Persistent cookie is a cookie which is permanently stored on user’s computer in a cookie file. They are used for tracking the user information of the users who are browsing from a very long time. They also have the drawbacks of being unsecure, as user can see the cookies which are saved on the computer.
Question: Can we send ajax request to other domain?
Answer: No, You can't send Ajax request if different protocal OR different host.
For Example, the following table gives an overview of typical outcomes for checks against the URL"http://www.example.com/directory/about-us.html".
Compared URL | Outcome | Reason |
---|---|---|
httpː//www.example.com/dir/page2.html | Success | Same protocol and host |
httpː//www.example.com/dir2/other.html | Success | Same protocol and host |
httpː//www.example.com:81/dir/other.html | Failure | Same protocol and host but different port |
https://www.example.com/dir/other.html | Failure | Different protocol |
http://en.example.com/dir/other.html | Failure | Different host |
http://example.com/dir/other.html | Failure | Different host (exact match required) |
http://v2.www.example.com/dir/other.html | Failure | Different host (exact match required) |
httpː//www.example.com:80/dir/other.html | Don't use | Port explicit. Depends on implementation in browser. |
Question: How can PHP read the hash portion of the URL?
Answer: PHP can't read the hash portion of the URL
index.php?page=group#birthday
Here, PHP can not read the birthday
There is some by which you can get this value
get the value by javascript and then set to cookie or pass in ajax. See Example
var query = location.href.split('#');
document.cookies = 'hasValue=' + query[1];
0 Comment:
Post a Comment