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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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:[EMAIL PROTECTED]]
> > Sent: Monday, February 25, 2002 3:38 PM
> > To: [EMAIL PROTECTED]
> > 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.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to