初级程序员PHP面试题(Junior programmer PHP interview questions).doc

初级程序员PHP面试题(Junior programmer PHP interview questions).doc

  1. 1、本文档共24页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

您可能关注的文档

文档评论(0)

jgx3536 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档