- 1、本文档共24页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
初级程序员PHP面试题(Junior programmer PHP interview questions)
初级程序员PHP面试题(Junior programmer PHP interview questions)
PHP interview questions and answers (original) collection
Basic questions:
1. What is the difference between get and post submission methods in the form?
A: get is the sending request HTTP protocol to receive through the url parameter passing, while post is the entity data, which can submit a large amount of information through the form.
2. The difference between session and cookies?
Answer: session: the global unique variable that is stored by the user, stored in the location of (session_dir) in the specified directory on the server
Cookie: used to store successive access to a page, stored on the client, and stored in the Temp directory of user WIN.
Both can be set by time
What is the transaction in the database?
A: transaction is an ordered set of database operations as a unit. If all of the operations in the group are successful, then the transaction is considered successful, even if only one operation fails and the transaction is unsuccessful. If all operations are done,
The transaction commits, and its changes will affect all other database processes. If an operation fails, the transaction is rolled back and the effect of all the actions of the transaction will be canceled.
Brief introduction:
1. Print out the previous day in PHP from 2006-5-10 22:21:21 (2 points)
A: echo date ( y-m-d H: I: s, strtotime ( -1 days));
2. Echo (), print (), print_r () (3 points)
A: echo is a PHP statement, print and print_r are functions, statements have no return value, and functions can have a return value (if not useful)
Print () can only print values of simple type variables (such as int, string)
Print_r () can print the values of the complex type variables (as in groups, objects)
Echo prints one or more strings
3. Templates that can separate HTML from PHP (1 point)
Answer: the Smarty, Dwoo TinyButStrong, Template Lite, Savant, phemplate, XTemplate
5. Which tools are used for version control? (1)
A: CVS, SVN, VSS;
6. How t
您可能关注的文档
- 2011年三网融合与网络优化技能大赛-三网融合-中兴().doc
- 2011年主管护师考试模拟试题(In 2011, I was in charge of the exam simulation test).doc
- 2011年全国初中化学竞赛初赛试题(The national junior high school chemistry competition 2011 test).doc
- 2011年全国高考文科数学试题及答案-四川(2011 national college entrance examination liberal mathematics test question and answer - sichuan).doc
- 2011年北京房山区中考一《物理》模试题及答案(In 2011, Beijing fangshan district, a physics module test questions and answers).doc
- 2011年甘肃省高考语文优秀作文6篇及点评(In 2011, I wrote 6 essays and comments on the excellent Chinese composition of the college entrance examination).doc
- 2011年瘦腿袜排行榜(2011 slim-legged socks charts).doc
- 2011年第23讲-循环系统心包疾病,休克笔记(Lecture 23, 2011 - circulatory system cardiac disease, shock notes).doc
- 2011年高考生物结论性语句111条汇总(A summary of 111 biological statements of the college entrance examination in 2011).doc
- 2011护理教育北医网校作业(Nursing education north medical school homework in 2011).doc
文档评论(0)