#1: HttpRequest, HttpResponse classes
Posted on 2008-04-24 10:39:11 by Michaelp
Hello!
I am studying the way PHP allows programmers to manipulate Http
communication, and have looked at the HttpRequest and HttpResponse
classes.
All functions I find in the documentation relate to or use primitives,
arrays and unspecified objects. Have yet to find a single function
that either returns a HttpRequest (Respons) or uses it as a parameter.
I would like examples, if any exist, of how object instances of these
classes may be used.
thanks alot!
Michael
Report this message |
#2: Re: HttpRequest, HttpResponse classes
Posted on 2008-04-24 14:04:57 by Jerry Stuckle
Michaelp wrote:
> Hello!
>
> I am studying the way PHP allows programmers to manipulate Http
> communication, and have looked at the HttpRequest and HttpResponse
> classes.
>
> All functions I find in the documentation relate to or use primitives,
> arrays and unspecified objects. Have yet to find a single function
> that either returns a HttpRequest (Respons) or uses it as a parameter.
>
> I would like examples, if any exist, of how object instances of these
> classes may be used.
>
> thanks alot!
>
> Michael
>
Michael,
Nothing returns an object of either of these classes. You create the
objects yourself (with new) and use their methods to do what you want.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Report this message |