1.

What kind of path can the PHP file be?(a) Absolute(b) Relative(c) Either Absolute or Relative(d) Both Absolute and RelativeThis question was addressed to me during an internship interview.My enquiry is from External JavaScript and PHP in division Caching, Debugging and Animation of JavaScript

Answer»

The correct answer is (c) EITHER ABSOLUTE or Relative

Best explanation: The PHP code is enclosed in special start and end PROCESSING instructions that allows you to jump into and out of “PHP MODE”. The PHP file is either an absolute or relative PATH to a PHP script instead of the usual .js file.



Discussion

No Comment Found

Related InterviewSolutions