2009/6/10 Dotan Cohen dotanco...@gmail.com
Just checked your site in Elinks (works like Lynx) and I'm getting the
headers come back to me. I'm assuming you changed your site code before
me sending this and after you sent the original message?
The individual headers are as they always
2009/6/10 Robin Vickery rob...@gmail.com
2009/6/10 Dotan Cohen dotanco...@gmail.com
Just checked your site in Elinks (works like Lynx) and I'm getting the
headers come back to me. I'm assuming you changed your site code before
me sending this and after you sent the original message?
2009/6/8 Dotan Cohen dotanco...@gmail.com:
If its the request from the browser, why not just fire up a packet sniffer
and get it that way? Unless it's using SSL/TLS/VPN/something that would
encrypt it, you should be able to see the request in clear text.
The browser is running on a Symbian
Run this on a command line and hit the IP on port 8000. All it does is
read the request and send it back as the response. It ignores POST
bodies but it would be pretty simple to modify it so it echo's those
back too.
http://dev.stut.net/php/httpsrv.phps
Stuart, that is quite a bit of
Why should this be run on port 8000? Is there a security implication
of running this on port 80? Would it be unwise to use this as a public
service, for instance?
I was considering adding the tool to http://simplesniff, which is why
I ask. Of course, that would only be with your permission, and
2009/6/9 Dotan Cohen dotanco...@gmail.com:
Why should this be run on port 8000? Is there a security implication
of running this on port 80? Would it be unwise to use this as a public
service, for instance?
You can run it on port 80 but you'll need to make sure there's not
another web server
There are no risks that I can see in the code. You're welcome to use
it, and a link to http://stut.net/ is always appreciated ;-)
In August when I will have more time to devote to it I will put it on
the site. With link, and it is _me_ who appreciates _your_ help.
Thanks!
Dotan Cohen
On Tue, 2009-06-09 at 17:58 +0300, Dotan Cohen wrote:
There are no risks that I can see in the code. You're welcome to use
it, and a link to http://stut.net/ is always appreciated ;-)
In August when I will have more time to devote to it I will put it on
the site. With link, and it is
Just checked your site in Elinks (works like Lynx) and I'm getting the
headers come back to me. I'm assuming you changed your site code before
me sending this and after you sent the original message?
The individual headers are as they always were. It's the entire
request verbatim (valid or
I need to diagnose a web browser problem, and I'd like PHP to return a
page that shows the entire browser request, exactly as it was sent. It
would naturally contain all the data in the HTTP Headers Information
from phpinfo() but formatted exactly as the browser sent it.
Thanks.
--
Dotan Cohen
On Mon, Jun 8, 2009 at 12:07, Dotan Cohendotanco...@gmail.com wrote:
I need to diagnose a web browser problem, and I'd like PHP to return a
page that shows the entire browser request, exactly as it was sent. It
would naturally contain all the data in the HTTP Headers Information
from phpinfo()
On Mon, Jun 8, 2009 at 12:17, Dotan Cohendotanco...@gmail.com wrote:
Thanks, Daniel, but I am trying to help someone who is writing a
text-based web browser but gets Bad Request messages from some
websites. As he is able to visit http://simplesniff.com (my site) I
figured that it would help
Roger that. Check out getallheaders() then:
http://php.net/getallheaders
Well, that seems to be partway there, but it doesn't include the GET request.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Mon, Jun 8, 2009 at 2:40 PM, Dotan Cohendotanco...@gmail.com wrote:
Roger that. Check out getallheaders() then:
http://php.net/getallheaders
Well, that seems to be partway there, but it doesn't include the GET request.
--
Dotan Cohen
http://what-is-what.com
This should do it, I believe:
?php
echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ',
$_SERVER['SERVER_PROTOCOL'];
?
Thanks, Andrew, I'm sure that works for correctly-formed requests.
However, I am trying to diagnose a web browser that is _not_ correctly
forming it's
If its the request from the browser, why not just fire up a packet sniffer
and get it that way? Unless it's using SSL/TLS/VPN/something that would
encrypt it, you should be able to see the request in clear text.
On Mon, Jun 8, 2009 at 4:40 PM, Dotan Cohen dotanco...@gmail.com wrote:
This
On Mon, Jun 8, 2009 at 4:40 PM, Dotan Cohendotanco...@gmail.com wrote:
This should do it, I believe:
?php
echo $_SERVER['REQUEST_METHOD'], ' ', $_SERVER['REQUEST_URI'], ' ',
$_SERVER['SERVER_PROTOCOL'];
?
Thanks, Andrew, I'm sure that works for correctly-formed requests.
However, I am
If its the request from the browser, why not just fire up a packet sniffer
and get it that way? Unless it's using SSL/TLS/VPN/something that would
encrypt it, you should be able to see the request in clear text.
The browser is running on a Symbian cellphone.
--
Dotan Cohen
18 matches
Mail list logo