HttpRequest, HttpResponse classes

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I am studying the way PHP allows programmers to manipulate Http
communication, and have looked at the HttpRequest and HttpResponse

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!


Re: HttpRequest, HttpResponse classes

Michaelp wrote:
Quoted text here. Click to load it


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.

Site Timeline