Re: passthru() on Win98 ??
| From: | Sviss Cobazor | Date: | Tue, 26 Feb 2002 01:12:17 +0000 |
| Subject: | Re: passthru() on Win98 ?? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12288@lists.php.net to get a copy of this message | ||
I followed your instructions and got:
HTTP/1.1 400 bad request
> Date: Tue, 26 Feb 2002 01:05:57 GMT
> Server: Apache/1.3.20 (Win32)
> Connection: close
> Content-Type: text/html charset=iso-8859-1
... And then the same in html source ... (in the putty window)
So I didn't get what was expected but either way I'm not sure what to do if
I did.
"Court Shrock" <ShrockC@inhs.org> wrote in message
news:25E1EA6CA52DD311A525009027725B55041424E5@exchange1.inhs.org...
> 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.