Re: the body of the response

From: Date: Mon, 16 Jul 2001 20:04:11 +0000
Subject: Re: the body of the response
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10466@lists.php.net to get a copy of this message
thanks for response, I am curious, how does the http://www.site.com/MovieResponder.php script get the data in the body?. what is the mechanism involved? is this "body" the <body> </php echo $data;<?> </body> of an html page? is this the "body we are talking about or some other body? what is the secret code involved? thanks again, Ken ----- Original Message ----- From: "Matthew Loff" <matt@willetts.com> To: "'Ken Sommers'" <mrsql.php@worldnet.att.net>; "'PHP DB Mailing List'" <php-db@lists.php.net> Sent: Monday, July 16, 2001 12:53 PM Subject: RE: [PHP-DB] the body of the response > > > The "body" of the response is the data that the > http://www.site.com/MovieResponder.php script would produce. > > The fread() call that I meantioned before would read -all- of this data > into a variable. > > > -----Original Message----- > From: Ken Sommers [mailto:mrsql.php@worldnet.att.net] > Sent: Monday, July 16, 2001 11:52 AM > To: PHP DB Mailing List > Subject: [PHP-DB] the body of the response > > > PHP manual says: > fopen > fopen -- Opens file or URL > Description > int fopen (string filename, string mode [, int use_include_path]) > > If filename begins with "http://" (not case > sensitive), an HTTP 1.0 > connection is opened to the specified server, the page is requested > using the HTTP GET method, and a file pointer is returned to the > beginning of the body of the response. > -------- > can someone explain the clause: > > "and a file pointer is returned to the beginning of the > body of the response." > > can someone explain and describe what this "body" is? > > can query results be put in this 'body',,if so how? > > thanks, > > Ken > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#10466) next »