p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

beginning_php thread: server side question with PHP

Message #1 by "ruolanwang" <wruolan@y...> on Wed, 22 May 2002 09:38:27
Could any one out there answer my below question because I am confusing 
1) what is the ways in which the web browser passes data from an HTML form 
to the web server according to whether the request to the server uses the 
GET method or the POST method.

2)what is the ways in which the web server passes data from a CGI program 
according to whether the request to the server uses the GET method or the 
POST method.

3) what is the difference between the way a web server typically invokes a 
Perl script and the way it typically invokes a PHP script.

4) what is the pros and cons of each approach described in question 3. 

5) It is possible for CGI script both to cause an HTML form to be 
displayed and to respond to user input to that form. how these separate 
processes can be carried out by a single script. 

6) how information from HTML form gets to a CGI script? what is the steps 
that take place from when the user submit the form. 

7) Suppose a CGI script has been created on a PC workstation. what is the 
practical steps involved in moving this script to a Unix/Linux web server 
and making it available to be invoked from an HTML web page. 

8) Using Perl indicate two aspects that are deemed essential for access to 
a file. how they are used and, in each case, what their effect is?

9) Indicate one aspect that makes file access more robust and indicate its 

10) what is the advantages and disadvantages of two important approaches 
to server-side programming. and can you specify the example for it as well.

Thanks a lot....  I am a newbie and all this question might be help me 
know more about web server and how they work... 

Message #2 by "Nikolai Devereaux" <yomama@u...> on Wed, 22 May 2002 09:44:30 -0700
Wow, this doesn't sound so much like you're trying to learn the language as
it does you're asking us to write a school paper or thesis.

What's the deal?

  Return to Index