List Info

Thread: note 70011 added to reserved.variables




note 70011 added to reserved.variables
user name
2006-09-29 20:57:54
Here is a function I did to fetch all submited informations
of type $x :

<?php
function getSubmitedInfo($x)
{
for($i=0;$i<count($x);$i++)
{
while (list($key, $value) = each($x)) {
    $vars .= "$$key=$value<br/>n";
}
}
return $vars;
}
?>

Example of usage : 
<?php
echo $getSubmitedInfo($_POST); // or $_GET or any
superglobal you'd like
?>
----
Server IP: 193.226.19.70
Probable Submitter: 86.55.210.36
----
Manual Page -- h
ttp://www.php.net/manual/en/reserved.variables.php
Edit        -- https://master
.php.net/note/edit/70011
Del: integrated  -- h
ttps://master.php.net/note/delete/70011/integrated
Del: useless     -- http
s://master.php.net/note/delete/70011/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/70011/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/70011/spam
Del: non-english -- 
https://master.php.net/note/delete/70011/non-english
Del: in docs     -- http
s://master.php.net/note/delete/70011/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70011
Reject      -- https://mast
er.php.net/note/reject/70011
Search      -- https://
master.php.net/manage/user-notes.php

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

note 70011 deleted from reserved.variables by bobby
user name
2006-09-29 21:57:31
Note Submitter: catalin_moiceanu at acomdesign d00t ro
Reason: bad code

----

Here is a function I did to fetch all submited informations
of type $x :

<?php
function getSubmitedInfo($x)
{
for($i=0;$i<count($x);$i++)
{
while (list($key, $value) = each($x)) {
    $vars .= "$$key=$value<br/>n";
}
}
return $vars;
}
?>

Example of usage : 
<?php
echo $getSubmitedInfo($_POST); // or $_GET or any
superglobal you'd like
?>

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

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )