This chapter is from the book
Workshop
Quiz
Can a user read the source code of PHP script you have successfully installed?
What do the standard PHP delimiter tags look like?
What do the ASP PHP delimiter tags look like?
What do the script PHP delimiter tags look like?
What syntax would you use to output a string to the browser?
Answers
-
No, the user sees only the output of your script.
-
....<?php ....// your code here ....?>.
-
....<% ....// your code here ....%>.
-
....<script language="php"> ....// your code here ....</script>.
-
We would usually use print() to write to the browser, although we could use echo() with the same results.