|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 ================== |
|
![]() |
| Outils de la discussion | |
|
|