Wednesday, February 3, 2010

Thursday - ADV. WEB ONLY

Just about everyone is through Chpt. 1 (or will be by the end of the hour) ... let's take a minute to review a couple of "big ideas." Answer the following questions (start out on your own, and if you are confident, then post - if you are not sure, wait a minute and we will discuss them briefly as a class) ... please do not post incomplete answers - you will be graded based on the quality of your response!

Q1: What are two fundamental things that all PHP pages must have to function correctly (hint - filename and a very important command (in the code))

Q2: PHP is a "server-side" scripting language - what does this mean in simple terms?

Q3: PHP is a "server-side" scripting language - how does this impact the way you tell if your scripts work or not?

Q4: The "print" command in PHP DOES NOT cause whatever is in the quotes to print out on the screen (even though it seems like that is what it does) .. what does it REALLY do? .... (for ex: what does the command Print "Hello, World" do?)

24 comments:

  1. Dear Mr Richter.
    I do not know what any of the stuff is. I do, however, want a hedgehog. They are cute and little and i want one reallyyyyyy bad.
    Sincerly, Alayna Bailey. =)

    ReplyDelete
  2. 1. has to have dahdah.php and must start with
    .
    2.it means that it only works on a server.
    3.you have to go to the webserver and check it there to see if it really worked.
    4.this is a guess but it just puts whatever it is in the script. -William Hundt

    ReplyDelete
  3. Q1. The .php and the
    Q2. It has to be on a server to be seen
    Q3. It impacts the fact that you have to upload it for everyone to see in order to see if you have any errors.
    Q4. No idea.

    ReplyDelete
  4. q1. it has to be .php
    q2.only works on server
    q3. go to server see if it works
    q4.its all the codes and scripts

    farid

    ReplyDelete
  5. 1. .Php
    2. Only Works On Server
    3. Go To The Server And See If It Works
    4. No Idea

    - Jaylen Fuentes

    ReplyDelete
  6. 1. Must be oioij.php and when in code you must turn on php

    2.It only works on the server

    3.You have to go to the server.

    4."Print" allows you to send things into your html page

    ReplyDelete
  7. Q1. the file name has to have a .php after it, & then make a php tag in the code view & close it when you're done.
    Q2. It only works on a server. The server does the command not the computer.
    Q3. You have to go to the server.
    Q4. It lets you send things into the script.

    - jillian janis

    ReplyDelete
  8. The file name must have .php at the end and when in script, make sure you include the php tag.

    Server-side means it will only work with a server. It can only be seen if used in a server.

    The print command is a way to send things through the html tags.

    ReplyDelete
  9. The away that tell you that the script it work, you pass to the internet and you write the webserver. It show that it works very good. If it is not ,you repeat again.
    -Nelson Mandela

    ReplyDelete
  10. On the server-side script language for the php is that of a command. The two fundamental things that you must for a php page is a .php on the file. Another thing to make this a php page is a php tag. How does this impacts is that it has to be on the server side to operate correctly. When you use the word "print" it will send things into a html tag. -Nate C.

    ReplyDelete
  11. q1 has to be .php
    2 only works on server
    3 have to go to server
    4 It is sent into html code
    -Grant Swix

    ReplyDelete
  12. 1. Must be oioij.php and when in code you must turn on php

    2.It only works on the server

    3.You have to go to the server.

    4."Print" allows you to send things into your html page

    ReplyDelete
  13. A1:The two fundamental things that all PHP must have to function properly are, the file must be a .php, and do .

    A2:In simple terms, PHP as a "server-side" scripting language means that instead of the server sending us information to execute, we are the ones who send the server the info to execute.

    A3:PHP as a "server-side" scripting language impacts the way one tells if their scripts work or not in that you cannot preview it unless it's on the server.

    A4:The "print" command sends whatever is in the quotes into the Html page, but does not display it.

    ~~Obada Ejoh

    ReplyDelete
  14. Q1: You must name the file ".php". You also must make a php tag inside the body.

    Q2: A "server-side" scripting language means that the server interprets the language, as opposed to "client-side".

    Q3: You must go to the internet server you are using in order to see if your script works.

    Q4: What is in the quotes is sent to html tags to be displayed on the page.

    --Sarah Kimmel

    ReplyDelete
  15. Q1:Two things that a php file must have is that you have to change the file name to .php.
    Second is that you have to close it using </php.

    Q2:It helps with how you do it and how it respond to you and can only be on a server.

    Q3:You can not preview the file because its a server side server so you would have to actually test it.

    Q4:I dont quite understand the other questions but im pretty sure i know this one. The reason is so that it knows what to display, it depends on what you put in the quotes.
    -Chris Pfeifer-

    ReplyDelete
  16. Q1:The file name must be .php and then you have to add the -(< and > will be ( and) -(?php tag inside the body of the page, and ?) at the end of the php coding.

    Q2:A "server-side" scripting language means the server reads the PHP and executes it, not the computer you're working/viewing it on.

    Q3:You can only tell if the PHP worked or not by uploading it to the server and checking the online page. (you can't f12 it)

    Q4:The print command sends things into your html tags. For example, it will show text, and it will also apply html tags.

    -Melissa Scenga

    ReplyDelete
  17. 1. Must be a .php

    2. It means that certain commands are done in the server.

    3. You must go to YOUR server!!!!!!

    4. It makes whatever you put in there to be sent into your html.

    ReplyDelete
  18. Q1: It must say ".php" and it must have "".
    Q2: It means that some comands are done in the server.

    Q3: You must go ot your server.

    Q4: It makes whatever you put in there sent into your html page.

    ReplyDelete
  19. 1. When you save the file you add the .php to the end. In the Code, you have to add <?php

    2.The server activates the commands in the script.

    3.In order to see the script you have to go to the server/website because the server doesn't work on Dreamweaver.

    4.The "print" command sends things to the html page. However, only things in quotes shows up on the page.

    ReplyDelete
  20. The file name must have .php at the end and when in script, make sure you include the php tag.

    Server-side means it will only work with a server. It can only be seen if used in a server.

    The print command is a way to send things through the html tags.
    Chris lowure

    ReplyDelete
  21. Q1: It has to have ".PHP" and

    Q2: A server side scripting in simple terms means that the server is going to execute the commands before the page is sent to the user

    Q3: Since it's a server side script you have to go to the server and see if it worked

    Q4: The print command makes the words get sent to the HTML page ~Morgan McCoy

    ReplyDelete
  22. the 2 fundamental things that all php pages need to be saved as the file type php.

    to see if a server side scripting language works you have to go to the internet to see if it works

    what print does is it writes what ever is in quotes in the php file

    ReplyDelete
  23. 1. .php & (?pho
    2. the server does the actions
    3. you have to go to the internet to see if it works
    4. makes the words get sent to HTML

    -Ashlee Smith

    ReplyDelete
  24. 1.Has to be php
    2.server does actions
    3.have to qo to internet
    4.makes words qet sent to HTML
    -Tanya!:)<3

    ReplyDelete