note 93509 added to function.fsockopen

From: Date: Mon, 14 Sep 2009 03:02:00 +0000
Subject: note 93509 added to function.fsockopen
Groups: php.notes 
Request: Send a blank email to php-notes+get-160529@lists.php.net to get a copy of this message
In all header aspects I can understand for 3rd party content you may not be able to apply the following but for those reading pages where content being read by fsockopen is editable then I suggest adding a simple unique tag to the beginning of any page being read such as ":THISTAG:" Cleaning the header contents becomes simplier when you can then use a method like split to grab your data like: list($header,$data) = explode(":THISTAG:",$data); ---- Server IP: 213.249.64.162 Probable Submitter: 84.105.153.102 ---- Manual Page -- http://www.php.net/manual/en/function.fsockopen.php Edit -- https://master.php.net/note/edit/93509 Del: integrated -- https://master.php.net/note/delete/93509/integrated Del: useless -- https://master.php.net/note/delete/93509/useless Del: bad code -- https://master.php.net/note/delete/93509/bad+code Del: spam -- https://master.php.net/note/delete/93509/spam Del: non-english -- https://master.php.net/note/delete/93509/non-english Del: in docs -- https://master.php.net/note/delete/93509/in+docs Del: other reasons-- https://master.php.net/note/delete/93509 Reject -- https://master.php.net/note/reject/93509 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160529) next »