note 66567 added to language.variables.external
| From: | HyanChristian at osu1 dot php dot net | Date: | Thu, 25 May 2006 07:51:42 +0000 |
| Subject: | note 66567 added to language.variables.external | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112068@lists.php.net to get a copy of this message | ||
Just to complete Murat TASARSU's post in this page.
I hope this will help anyone who is going to add it with fsockopen
<html>
<body>
<form method="post" action="">
<input name="fruit" value="banana" /><br />
<input name="color" value="yellow" /><br />
<input type="submit" value="Click It">
</form>
<br />
<b>POST</b> :
<?php
$be_var = $_POST;
foreach ( $be_var as $key => $value ) {
$be_var = $be_var."&".$key."=".$value;
}
echo str_replace( "Array&", "", $be_var ); // fruit=banana&color=yellow
?>
</body>
</html>
----
Server IP: 202.67.10.139
Probable Submitter: 222.124.164.77 (proxied: 192.168.150.119)
----
X-Spam-Status: No, hits=4.0 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
HTML_50_60,HTML_MESSAGE autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.variables.external.php
Edit -- http://master.php.net/note/edit/66567
Del: integrated -- http://master.php.net/note/delete/66567/integrated
Del: useless -- http://master.php.net/note/delete/66567/useless
Del: bad code -- http://master.php.net/note/delete/66567/bad+code
Del: spam -- http://master.php.net/note/delete/66567/spam
Del: non-english -- http://master.php.net/note/delete/66567/non-english
Del: in docs -- http://master.php.net/note/delete/66567/in+docs
Del: other reasons-- http://master.php.net/note/delete/66567
Reject -- http://master.php.net/note/reject/66567
Search -- http://master.php.net/manage/user-notes.php