RE: [PHP-WIN] passthru() on Win98 ??
| From: | Shrock, Court | Date: | Tue, 26 Feb 2002 00:54:31 +0000 |
| Subject: | RE: [PHP-WIN] passthru() on Win98 ?? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12287@lists.php.net to get a copy of this message | ||
Sure,
go to http://www.chiark.greenend.org.uk/~sgtatham/putty/latest/x86/putty.exe
and download it. It is PuTTY, an open source telnet/ssh client that is far
superior than the telnet included in windows. Instructions are prefaced
with a *.
*run the exe
*type in the HostName field: localhost
*make sure that the telnet protocol is selected
*type in the Port field: 80
*uncheck the box: Close Window on Exit
*click open
*type the following (you will not see the keypresses; replace "[enter]" by
pressing the enter key; it is case-sensitive):
GET / HTTP/1.1[enter]
Host: localhost[enter]
[enter]
*you should now see something like the following:
HTTP/1.1 200 OK
Date: Tue, 26 Feb 2002 00:46:52 GMT
Server: Apache/1.3.20 (Unix) PHP/4.0.6 mod_ssl/2.8.4 OpenSSL/0.9.6
Connection: close
Content-Type: application/pdf
*your data should follow the line after the blank line after the
"Content-Type"
> -----Original Message-----
> From: Sviss Cobazor [mailto:sviss@nospam.dk]
> Sent: Monday, February 25, 2002 3:38 PM
> To: php-windows@lists.php.net
> Subject: Re: [PHP-WIN] passthru() on Win98 ??
>
>
> I'm sorry but I'm not very familiar with telnet usage. If you
> can give me an
> example I'll try it asap.