Re: Re: Http request
| From: | Jon Farmer | Date: | Tue, 08 Jan 2002 17:36:13 +0000 |
| Subject: | Re: Re: Http request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79806@lists.php.net to get a copy of this message | ||
> just use post to send your username/password to the servlet
>
> >Hi,
> >
> >Can anyone tellme how I can do a http request to a servlet >from a PHP??
> >
> >I mean, I have a username and password which I want to >send in a
string(variable) to a Servlet which authentifies >it and responses back in
XML format...
> >
> >any suggestions??
Well that would suffice if he just wanted to display the raw XML in the
broswer. However if he wanted to parse the XML he needs to open a socket on
port 80 or use a http class.
Regards
jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07763 620378
PGP Key available, send email with subject: Send PGP Key