ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 1966] HTTP not recognised for GET without headers

Date: Mon, 5 Nov 2007 09:34:08 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1966





------- Comment #5 from nick.lewis@xxxxxxxxxxxxxx  2007-11-05 09:34 GMT -------
Stephen

According to the documentation, this call is part of PHP from 4.3 onwards. I
guess the http wrapper may not be enabled in php.ini by default in your
version. Apparently this is set with the allow_url_fopen configuration
parameter. If it is working you should be able to load an html page as a string
and output it something like this:

$mystring = get_file_contents("http://www.google.com/index.html";);
echo($mystring);

If I get the chance later today, I will perform a longer packet capture showing
the problem when capturing http gets from my asterisk/freepbx phone system and
attach it here in native wireshark format.

Best Regards
Nick


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.