Home  >  Article  >  Backend Development  >  Kuxun PHP Programmer Interview Questions-Written Part

Kuxun PHP Programmer Interview Questions-Written Part

WBOY
WBOYOriginal
2016-07-25 08:59:19778browse
This article introduces, it is said to be the PHP programmer interview question of Kuxun Company. Here I found the notes part and share it for your reference. Topic recommendation: PHP interview questions and answers

1. There are three php files located in the same directory, the contents are:

a.php:-------

b.php:-------

c.php:-------

2. Use the browser to access c.php and ask if there is any problem. If there is a problem, please indicate the correction method and write the browser to see the effect. If there is no problem, please write the browser to see the effect

3. Select the sql statement whose name field contains all the information of the first 10 results of admin from the login table

4. Accurately indicate the display results of the following code

a d
b
c

5. Accurately indicate the display results of the following code

6. Please explain the meaning and function of DTD in HTML documents

7. Determine whether the following code is correct. If it is wrong, please point out the error. If it is correct, please point out the running result.

var arr = new Array(new Array(1,2,3,4), new Array('abc', "def", "xyz"), ); for(i = 0; i 8. How to use javascript to get the position of the upper left corner of the current DOM element (obj) in the entire document

9. What methods can be used to make requests to the server using javascript without leaving the current page? Simply compare their respective characteristics (if they exist)

10. Please write down the method to get the next self-increasing ID value in the PHP to MySQL connection. You can write multiple methods.

11. What is the difference between cgi and fastcgi? Which one would you choose under what circumstances?

12. How to determine whether a string is a legal date pattern in Php: 2007-03-13 13:13:13. The code is required to be no more than 5 lines.

13. How to get the key value of an array in Php?

14. What is zend optimizer

15. How to use commands to back up data in mysql

Linux operation:

1. What are the commands for selecting, copying, pasting and deleting in the スvi editor

2. Get the number of file lines

3. Enter the last 5 lines of the file into another file

4. Find the line containing hello in the file

5. Command to find all subdirectories named CVS in the current directory

6. Command to delete all subdirectories named CVS in the current directory

7. How to make a program run in the background and direct input to a specified file

8. How to add the contents of one file to the end of another file

9. How to display the output of a file in real time

10. What are the methods to execute a program regularly

11. How to replace the specified string in Vi editor

12. When there is a conflict in the files in cvs after updating. How to judge which content you edited and which content was updated



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn